|
home /
infca /
usoft
(navigation links)
|
Quan va despertar, el drac seguia allí.
|
uSOFT items
Vista
The unspoken problem with VISTA is that
50% of all applications don't work on VISTA.
Microsoft has taken a nonlinear jump,
condemning 50% of the world's software investment to the trash heap.
This is the opportunity of a lifetime for competitors.
It's the break all should be ready to jump on.
[egb]
Activation
Super Fetch
TCP/IP improvements
As
Auto-Tuning !?
Misc
-
Vista For Forensic Investigators,
part 1
and
part 2.
-
UAC [*****]
UAC
-
Measuring
performance
- Allow unsigned drivers
To allow unsigned drivers on 64-bit Windows there are some options:
- Boot Windows holding down F8 key
and select "Disable driver signature enforcement".
This works for the that boot session alone.
- From an elevated cmd.exe prompt, type:
bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS
To re-enable "INTEGRITY" checks type:
bcdedit -set loadoptions DENABLE_INTEGRITY_CHECKS
url
- mostrar extensions fitxers :
- obrir una carpeta
- escollir botó "Layout" (to the Left of "Views")
- click "Folder Options"
- click "View" tab
- uncheck "Hide extensions for known file types"
SysInternals
Monitoring Registry Activity During the Boot Process
To use Regmon's boot logging feature
simply select the "Log Boot" menu entry.
Regmon will indicate that starting the next time
the system boots Registry activity will be monitored
and recorded to a log file named REGMON.LOG in your system root directory.
When you make this selection
Regmon configures itself as the very first driver to initialize in the system,
enabling it to capture the Registry startup activity
of all other device drivers and services,
including critical boot drivers such
as SCSI miniport drivers and boot file system drivers.
url
Download
All Suite !
Ed's List of Interesting documents (ELOID)
FIPS Publications
http://csrc.nist.gov/publications/PubsFIPS.html
NIST Special Publications, including the XP configuration guide
[XP configuration guide is SP 800-68]
http://csrc.nist.gov/publications/PubsFIPS.html
CERT/CC Advisories
http://www.cert.org/advisories/
Deploying Windows XP Service Pack 2 using Software Update Services
http://technet.microsoft.com/en-us/library/bb457097.aspx
Get Started Using Remote Desktop
http://www.microsoft.com/windowsxp/using/mobility/getstarted/remoteintro.mspx
The Windows XP Wireless Zero Configuration Service
http://technet.microsoft.com/en-us/library/bb878124.aspx
How to configure file sharing in Windows XP
http://support.microsoft.com/?id=304040
Universal Plug and Play in Windows XP
http://technet.microsoft.com/en-us/library/bb457049.aspx
Changes to Functionality in Microsoft Windows XP Service Pack 2
http://www.microsoft.com/downloads/details.aspx?FamilyID=7bd948d7-b791-40b6-8364-685b84158c78&DisplayLang=en
A detailed description of the Data Execution Prevention (DEP) feature in Windows XP
http://support.microsoft.com/kb/875352
Step-by-Step Guide to Internet Protocol Security (IPSec) [Dated Feb 17, 2000]
http://technet.microsoft.com/en-us/library/bb742429.aspx
IPSec [much newer]
http://technet.microsoft.com/en-us/network/bb531150.aspx
Basic Storage Versus Dynamic Storage in Windows XP
http://support.microsoft.com/?id=314343
SYSPREP
How to Use Sysprep: An Introduction
http://technet.microsoft.com/en-us/library/bb457073.aspx
How to use the Sysprep tool to automate successful deployment of Windows XP
http://support.microsoft.com/kb/302577
How to use Sysprep with Windows Product Activation or Volume License Media to deploy Windows XP
http://support.microsoft.com/kb/299840
How To Use the System Preparation Tool (Sysprep.exe) to Perform Disk Duplication
http://support.microsoft.com/kb/298491
Unsupported Sysprep scenarios
http://support.microsoft.com/kb/828287/
Sysprep functions and known issues
http://support.microsoft.com/kb/928386
Best Practices for Using Sysprep with NTFS Volumes
http://support.microsoft.com/kb/240126
How to Use Sysprep in Factory Mode [OLD]
http://technet.microsoft.com/en-us/library/bb457069.aspx
Updated System Preparation tool for Windows Server 2003 SP1
http://support.microsoft.com/kb/892778
Updated System Preparation tool for Windows Server 2003 SP2
http://support.microsoft.com/kb/926028
Updated System Preparation tool for Windows XP Service Pack 2,
Windows Server 2003, and Windows XP Tablet PC Edition 2005
http://support.microsoft.com/kb/838080
How Sysprep Works
http://technet2.microsoft.com/WindowsVista/en/library/fd2f79c9-3049-4b8c-bcfd-4e6dc5771ace1033.mspx?mfr=true
Known issues that affect program deployment when you use Sysprep
http://support.microsoft.com/kb/814616
Sysprep Technical Reference
http://technet2.microsoft.com/WindowsVista/en/library/434e3931-a187-4940-a69c-70dd2ae657491033.mspx?mfr=true
Quick Guide to Preinstalling Windows
http://support.microsoft.com/kb/314472
Automated System Recovery overview in Windows XP
http://support.microsoft.com/kb/818903
How Windows RE Works
http://technet2.microsoft.com/WindowsVista/en/library/d807a440-90ce-4457-a23a-359ff2c9b9bf1033.mspx?mfr=true
Microsoft Windows XP Hotfix Installation and Deployment Guide
http://www.microsoft.com/windowsxp/downloads/updates/sp1/hfdeploy.mspx
How to install multiple Windows updates or hotfixes with only one reboot
http://support.microsoft.com/?id=296861
Qfecheck.exe verifies the installation of Windows 2000 and Windows XP hotfixes
http://support.microsoft.com/?id=282784
EST 2007 10 October 9 v2 Enterprise Scan Tool (standalone)
[Enterprise Scan Tool for detecting if systems need hotfixes]
http://www.microsoft.com/downloads/details.aspx?FamilyId=744D6092-A928-45A2-B9AA-F5F8A628E083&displaylang=en&displaylang=en
Microsoft Baseline Security Analyzer
http://technet.microsoft.com/en-us/security/cc184924.aspx
Windows XP Security Guide
http://www.microsoft.com/downloads/details.aspx?FamilyId=2D3E25BC-F434-4CC6-A5A7-09A8A229F118&displaylang=en
Windows Vista Security Guide
http://www.microsoft.com/downloads/details.aspx?familyid=a3d1bbed-7f35-4e72-bfb5-b84a526c1565&displaylang=en
Group Policy Settings Reference
http://www.microsoft.com/downloads/details.aspx?FamilyID=7821c32f-da15-438d-8e48-45915cd2bc14&displaylang=en
Windows Server 2003 System Services Reference
http://www.microsoft.com/downloads/details.aspx?FamilyID=b38a0682-2997-4678-9d9e-a07cc66a3bba&displaylang=en
IPSec default exemptions are removed in Windows Server 2003
http://support.microsoft.com/?id=810207
Well-known Security Identifiers In windows Operating Systems
http://support.microsoft.com/kb/243330
Xorrades XP
- Create a New restore Point :
Go to Start > Programs > Accessories > System Tools and click "System Restore".
Choose the radio button marked "Create a Restore Point" on the first screen then click "Next".
- XP Support ends on April 14, 2009
- El administrador ha deshabilitado la modificación del Registro.
Abrir la consola Directivas de grupo, gpedit.msc,
escoger "Configuración de usuario > Plantillas administrativas > Sistema",
y Deshabilitar la opción "Impedir acceso a la herramienta de edicion de Registro"
-
How do you perform a reinstallation of Windows XP, sometimes called a repair installation?
Configure your computer to start from the CD-ROM drive.
Then insert your Windows XP Setup CD, and restart your computer.
- When the Press any key to boot from CD message is displayed on your screen, press a key to start your computer from the Windows XP CD.
- Press ENTER when you see the message "To setup Windows XP now",
and then press ENTER displayed on the "Welcome to Setup" screen.
- Do not choose the option to press R to use the Recovery Console.
- In the Windows XP Licensing Agreement, press F8 to agree to the license agreement.
- Make sure that your current installation of Windows XP is selected in the box, and then press R to repair Windows XP.
- Follow the instructions on the screen to complete Setup.
url
-
TaskList
and more
Command Line commands
- [egb] For imaging of Windows systems, I recommend the WAIK tools.
They are free and reasonably easy to use.
I used WinPE and the tools in the WAIK (Windows Automatic Installation Kit)
which is a free Microsoft download.
The way the tools works is you boot WinPE from a bootable CD
that you build from the WAIK.
Once you are booted you can save the system drive to another drive.
Basically, you use
imagex.exe /capture ... --> Creates a *.wim image
to save from the old drive to the temporary drive and
imagex.exe /apply ... --> Restores from the *.wim image
to restore the saved image to the new drive.
- SP3 setup cannot copy the file ATAPI.SYS :
remove Alcohol 120% & Daemon Tools.
- remove "Language bar" forever : regsvr32.exe /u msutb.dll
*** compte : penja el Windows Explorer, pero es re-configura ***
- after Blue Screen Of Death :
remove "reiniciar automaticamente"
from "Inicio y Recuperacion"
en Propiedades del Sistema.
- Automatic Updates after
SP2
- com treure "Podria ser víctima de una falsificación de software" :
url
o
url:
Rename {c:\windows\system32} wgalogon.dll and wgatray.exe
- "esta copia de office no es original" -> remove : [niy]
http://www.microsoft.com/genuine + validar +
reemplazar c:\win\system32\OGACheckControl.dll {v 1.6.28.0} + validar (IE only).
- SlipStream :
Next time you reinstall Windows with that old installation disc,
you don't want to connect your fresh, unpatched and vulnerable system
to the internet only to download 176 new updates from Microsoft.
If your XP installation CD is older than 2004,
once your system is online,
you'll have to wait for hefty service packs to download,
chained to your mouse while pushing the Next button,
watching progress bars, and rebooting multiple times.
Wouldn't it be better to start your installation,
head out to run errands or grab coffee,
and come back to an up-to-date system before your system gets online?
It's possible, using some free software and a blank disc.
After the jump, I'll show you how to create
an automated, customized XP installation CD or DVD,
that includes Microsoft's official-but-not-released
Service Pack 3 for Windows XP.
It is done using
nLite
Guides hot to do it :
-
Qfecheck.exe
proporciona a los administradores de red
capacidad para comprobar los hotfixes de XP instalados.
Uses
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates
-
to remove IE from Desktop :
- right-click the Desktop and click Properties.
- click the Desktop tab.
- click Customize Desktop.
- click the General tab, and then click the icons that you want to place on the desktop.
url
-
msdtc resetlog
-
How to remove "unread message count" at Logon
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UnreadMail\
key MessageExpiryDays ( DWORD ) := 0 ;
-
to temporarily use the classic logon screen,
press Ctrl+Alt+Del twice on the Welcome logon screen.
url
-
System
requirements :
128 MB RAM, 1'5 GB HD, 300 MHz CPU.
-
Troubleshooting XP :
-
How to know which process has locked a file
(as Perflib_Perfdata_1e4.dat)
The process can't acess the file 'cause it is being used by another process
Win Server 2003
Resource Kit Tools - rktools.exe (12 MB) - OH.exe = Open Handles.
OH {locked_filename} > {output_filename}
The system global flag "maintain object type lists" is not enabled for this system.
Please use oh +otl to enable it and then reboot.
Can also use
WhoLockMe
Neither do detect Daemon Tools !?!?!?
-
Dependency Walker
-
Safe Mode Boot options [F8]
-
como desactivar hibernación :
- Click en Inicio, Panel de Control
- Doble click en Opciones de Energia
- Click en la pestaña Hibernacion,
desmarca la casilla de seleccion de "Habilitar hibernacion" y
click en Aplicar, luego Aceptar.
- reinicia el computador; el archivo Hiberfile.sys será automaticamente eliminado
url
-
Physical Address Extension : poner /PAE en boot.ini
Permite que las aplicaciones usen hast 3,5 GB de memoria.
-
comandes RARES / comandos especiales / shortcuts :
- schtasks /?
- esentutl
- fsutil
- sfc - verifica versiones de archivos de sistema.
- sc is a command line program used for communicating with the
NT Service Controller and services. "instsrv"
- regsvr32 -
register a
DLL
-
dumpel.exe :
dump event log in text mode
- diskmgmt.msc - manage all your disks.
- diskpart.exe - view, add, remove, resize, move ... partitions
- dfrg.msc - defragment a hard disk.
-
Comandos configuración
| access.cpl | accesibilidad
| | appwiz.cpl | instalar/desinstalar programas
| | bootcfg | modificar las entradas de boot.ini
| | charmap | mapa de caracteres
| | cleanmgr | liberador de espacio del disco
| | cleanmgr | liberador de espacio del disco
| | compmgmt.msc | Mi PC + derecho + Administrar
| | control | abrir panel de control
| | control folders | opciones de carpeta
| | control fonts | configuración de fuentes
| | control keyboard | configuración de teclado
| | control mouse | propiedades del ratón
| | control netconnections | conexiones de red [sin]
| | control printers | impresoras y faxes
| | control schedtasks | tareas programadas
| | dcomcnfg | componentes, MMC
| | ddeshare | recursos compartidos DDE
| | devmgmt.msc | administrador de dispositivos / device manager [sin]
| | dfrg.msc | desragmentador del disco duro
| | directx.cpl | panel de control DirectX
| | diskmgmt.msc | administrador de discos duros
| | diskpart | administra particiones
| | drwtsn32 | Dr. Watson, diagnóstico del sistema
| | dxdiag | Direct X, diagnóstico de problemas
| | eventvwr.msc | visor de sucesos
| | firewall.cpl | firewall de gindows
| | fsmgmt.msc | recursos compartidos
| | fsquirt | asistente de transferencia ficheros Bluetooth
| | gpedit.msc | group policy
| | hdwwiz.cpl | hardware add wizard
| | iexpress | crear archivos .CAB autodescomprimibles
| | inetcpl.cpl | propiedades Internet
| | intl.cpl | configuración Regional
| | lusrmgr.msc | usuarios locales y grupos
| | mmsys.cpl | multimedia
| | msconfig (start+run) | system.ini, win.ini, boot.ini, servicios, inicio
| | mstsc | escritorio remoto
| | ntmsmgr.msc | dispositivos de almacenamientos extraíbles.
| | nusrmgr.cpl | administrador de cuentas de usuario
| | odbccp32.cpl | ODBC Data Source Administrator
| | openfiles |
| | osk | teclado en pantalla - útil si se estropea el teclado
| | perfmon.msc | performance monitor
| | powercfg.cpl | configuración de la energˇa
| | printers | carpeta de impresoras
| | regedit | editor de registro
| | secpol.msc | seguridad, configuración local
| | services.msc | servicios
| | winchat | Microsoft Chat
| | wmimgmt.msc | WMI
| | wscui.cpl | Security Center
|
-
Temporarily stop Windows Update
net stop wuauserv
Restart :
net start wuauserv
or reboot machine.
-
boot XP from an
USB drive ! [sep07]
-
svchosts.exe
-
Tired of the litle red shield in their taskbar ?
a) Turn on autoupdates
b) Open Control Panel then Security Centre.
On the left are 4 paragraphs in blue.
Click on the last one "Change the way Security Centre alerts me"
Untick the middle box.
url
- Disable/enable System Restore :
- log in as SysAdmin
- select My PC, right button, Properties
- select System Restore tab
- Use this Product Key : [serial number, s/n]
Sin = RHKG3-8YW4W-4RHJG-83M4Y-7X9GW
T42 = HCBR8-FGC2K-RY7BM-HM3KT-BKVRW
Airis = RFJMD-G8FGK-W8BM4-23D8Q-YBMC6
P4(2/9) = RHKG3-8YW4W-4RHJG-83M4Y-7X9GW
Kayak =
RAP = RFJMD-G8FGK-W8BM4-23D8Q-YBMC6
HP =
Bertran = RHKG3-8YW4W-4RHJG-83M4Y-7X9GW
instead of FCKGW-RHQ 2-YXRKT-8TG6W-2B7Q8
How to
display it
or
display it.
How to
change it
- How to set a password hint as a precaution
- Log on to your computer.
- Click Start, and then click Control Panel.
- Double-click User Accounts.
- Click your user account, and then click Change my password.
- Enter your current password, enter a new password, and then enter the new password again to confirm it.
- Enter the password hint, and then click Change Password.
- The change will take effect the next time that you log on.
Note
If you want to keep your existing password,
you must enter it as the current password,
enter it again as the new password,
and then enter it one more time to confirm the password.
- com es treu el missatge
"Your computer might be at risk" ???
- Download .Net Framework
1.1,
2.0,
3.0.
Disk Space Requirements: 2.0 = 23 MB, 3.0 = 280 MB (x86) !
How to know which one does a machine have ?
dir *. at c:\WINDOWS\Microsoft.NET\Framework
url
- ibmprc.exe
Password synchronization is a feature
that allows the end user to have their Windows password
and their pre-desktop area password match.
Each time a member of the administrator group
changes the Windows password,
the administrator user will be prompted to update the pre-desktop password.
If this is not desirable, it can be disabled.
To disable the password synchronization dialog,
delete the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"IBMPRC"="C:\IBMTOOLS\UTILS\ibmprc.exe"
url
-
XP
validation.
- unhide hidden optional components
in "Add/Remove Windows Components" in Control Panel :
- edit \windows\inf\SYSOC.INF
- remove the "HIDE" option from second to last parameter.
- remove "Visual Effects" :
Control Panel + System + Advanced Options + Rendimiento +
Optimizar Rendimiento (16 settings).
- EULA KB 890830 - comes back again and again.
- Hide Users on the Welcome Screen
When you add an account for certain users with Windows XP,
their user names will appear on the Welcome Screen.
Sometimes a user needs to be added to a Windows XP machine,
because he needs access (via the network) to resources on the machine,
but he will not be physically logging in on the computer.
You can remove his name from the Welcome Screen,
while still maintaining the user account.
Start the Registry Editor. Go to
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList \
Right-click an empty space in the right pane and select
New > DWORD Value
Name the new value exactly as the Username : "db2admin", "mqm", etc.
Leave the Value data as 0.
Close the registry editor.
If you want to enable this user again on the Welcome Screen,
either double-click the Username value, and change the Value data to 1,
or delete the Username field.
- Tweak UI XP
download
- Power
Toys - as Open Command Window Here ,
PowerCalc,
DeskMan,
HTMLSlideShow, ...
(XP only)
- go to command line from GUI :
regedit
HKEY_CLASSES_ROOT\Directory\shell
Nueva Clave "DosHere"
Información de Valor := "Ir a DOS"
Nueva Clave := Command
Información de Valor := 'c:\windows\system32\cmd /k cd "%1"'
- command
list : netsh, tree, getmac, etc [C:\WINDOWS\system32\] -
complete !
-
Com nassos s'esborra la carpeta
c:\Archivos de Programa\xerox\nwwia ?
-
missatge
there are unused icons on your desktop
Control Panel + Display + Desktop + "Customize desktop" + uncheck
"run desktop cleanup wizard every 60 days"
url
- to LogOff another user,
use Ctrl+Alt+Del keysequence to get to WTM,
then select the Users tab ...
- Disable Simple File Sharing - necessary
in order to enable the creation of Access Control Lists
for shared disks and folders
- Click Start | My Computer | Tools | Folder Options | View.
- Scroll to the bottom of the list of advanced settings and un-check Use Simple File Sharing (Recommended).
- Click OK.
- SendTo - it is hidden by default ...
Open Tools, then Folder Options - on the View tab,
click Show hidden files and folders.
c:\Documents And Setting\SendTo
Can use "SendTo" command to open the folder ...
url
- Thumbs.db
Para que no se cree este fichero, hay 2 opciones :
- Haz click en Mi PC y abre el menú Herramientas.
Selecciona Opciones de Carpeta.
Haz click en Ver y selecciona:
No alojar en caché las vistas en miniatura.
Activa esta opción.
- Abrimos el registro de Windows (en ejecutar escribimos regedit.exe)
Navegamos por la rama
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
y en la clave DisableThumbnailCache cambiamos el valor a 1.
Para borrar los ya existentes :
- Ejecutamos en una consola DOS el comando
dir /s /ash /b /n Thumbs.db > borrar.bat
- Abrimos el fichero borrar.bat que acabamos de crear
y reemplazamos C:\ por del /ash "c:\
(en este caso intentamos borrar los thumbs.db de la unidad C ).
Después cambiamos los .db por .db"
- Sólo queda ejecutar el fichero borrar.bat
- Recent Documents
- To display the My Recent Documents folder on the Start menu:
- Right-click Start, and then click Properties. Or, if the Start menu is already displayed, right-click an empty area of the Start menu, and then click Properties.
- Click Customize.
- Click the Advanced tab.
- Under Recent documents, click to select the List my most recently opened documents check box, click OK, and then click OK. The next time you click Start, the My Recent Documents command is displayed on the Start menu.
- To Open a Recently Used Document :
Click Start, point to My Recent Documents, and then click the item you want to open.
- To Clear the Contents of the My Recent Documents Folder :
- Right-click Start, and then click Properties. Or, if the Start menu is already displayed, right-click an empty area of the Start menu, and then click Properties.
- Click Customize.
- Under the Advanced tab button, there is a "Sort" button
and a "Clear" one - use it !
-
Documentation
-
XP re-install -
URL
-
URL
- Resources for Troubleshooting Startup Problems in
XP
- Troubleshooting
STOP messages
-
using Task Manager :
right-click an empty space on the taskbar,
and then click Task Manager
In Windows 95/98/ME you can bring up the Task List by pressing Ctrl+Alt+Del.
In Windows NT4/2000/XP/2003 you bring up the Task List by right-clicking on the Task Bar and choosing "Task Manager".
Task list
here
or
here
the "mini-mode" or "small footprint mode" has no TABs - double-click on the
border to get the TABs back, or Ctrl-TAB to change from one to the next.
Read !!! [Tiny Footprint mode]
Get
this one !
Symbols are not currently configured.
You must configure symbols in order to view thread start address
and stack inofrmation.
Install the Microsoft Debugging Tools for Windows Package
and configure a symbol server address in the
Options | Configure Symbols dialog
for the best symbol support.
Com es fà ?
url !
-
Recovery Console -
Administrator password is used at this moment !
Again
-
Administrator password :
- how to log on : start XP in Safe mode
or (XP Pro) press CTRL+ALT+DEL twice at the Welcome Screen
and input Admin password.
- how to display at Welcome Screen :
- Regedit
- HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList
- Right-click in the right pane and select New DWORD Value.
- Type-in Administrator as the value.
- Double-click Administrator, and assign a value of 1
url
- when is it used :
- to reset a User's password
- to use the Recovery Console
-
startup Hot Key : F8
After the Power On Self test (POST), press the F8 key -
here
- STOP messages ( also known as BSOD ! )
-
TroubleShooting the Stop Error.
- saving STOP messages to a file : select it in
Control Panel + Recovery : "Write Debugging Information TO" ...
%SystemRoot%\MiniDump
-
S'hi escriuen fitxers "*.DMP"
Per obrir-los : DumpChk.exe -
article +
KB article
Q315263
-
Set "AutoReboot" to "OFF" at Control Panel + Recovery
How to do it ? [u/k]
- other problems : use DrWatson32 !
W2K : see drwtsn32.log and user.dmp, usualy at
C:\Documents and Settings\All Users\Documents\DrWatson
- MSCONFIG
-
Path :
-
to launch MSCONFIG from a command line, use the START command: start msconfig
-
With the MSConfig utility you can kill everything at startup the Win.ini,
system.ini, boot.ini, services and startup Items.
[url]
- MSINFO32
- DXDIAG
-
Recovery Console
( read
here ) commands :
- ATTRIB
- BATCH
- CD
- CHDIR
- CHKDSK
- CLS
- COPY
- DEL
- DELETE
- DIR
- DISABLE
- DISKPART
- ENABLE
- EXIT
- EXPAND
- FIXBOOT - write a new bootsector to the partition c:
- FIXMBR - write a new MBR (\Device\HardDisk0\Partition0)
- removes BM and boots XP again.
- FORMAT
- HELP
- LISTSVC
- LOGON
- MAP
- MD
- MKDIR
- MORE
- RD
- REN
- RENAME
- RMDIR
- SYSTEMROOT
- TYPE
-
|
Registry
How the Registry is stored
Structure of the Registry
The Registry has a hierarchal structure,
like the directories on your hard disk.
Each branch (denoted by a folder icon in the Registry Editor, see below)
is called a Key.
Each key can contain other keys, as well as Values.
Each value contains the actual information stored in the Registry.
There are three types of values: String, Binary, and DWORD - the use
of these depends upon the context.
There are six main branches (five in Windows 2000 and Windows XP),
each containing a specific portion of the information stored in the Registry.
They are as follows:
- HKEY_CLASSES_ROOT -
this branch contains all of your file types as well as OLE information
for all your OLE-aware applications.
- HKEY_CURRENT_USER -
this branch points to the part of HKEY_USERS appropriate for the current user.
- HKEY_LOCAL_MACHINE -
this branch contains information about all of the hardware and software
installed on your computer.
Since you can specify multiple hardware configurations,
the current hardware configuration is specified in HKEY_CURRENT_CONFIG.
- HKEY_USERS -
this branch contains certain preferences
(such as colors and control panel settings)
for each of the users of the computer.
In Windows 95/98/Me, the default branch here contains the currently-logged
in user.
In Windows 2000/XP, the default branch here contains a template to be used for newly-added users.
- HKEY_CURRENT_CONFIG -
this branch points to the part of HKEY_LOCAL_MACHINE appropriate for the
current hardware configuration.
- HKEY_DYN_DATA (Windows 95/98/Me only) -
this branch points to the part of HKEY_LOCAL_MACHINE,
for use with Windows' Plug-&-Play subsystem.
Let's list the Registry contents
QK.c i EXE [T30:f:\cpp\registry\QueryRegKeys\]
Input :
-
0 = Uninstall : HKLM / Software / Microsoft / Windows / CurrentVersion / UnInstall
-
1 = Net Devices : HKLM / System / CurrentControlSet / Control / Class / {4D36E972-E325-11CE-BFC1-08002BE10318}
-
2 = Startup Programs : HKLM / System / Software / Microsoft / Windows / Current Version / Run
Output :
- Registry contents : Uninstall Info or Net Devices or Programs Run at Startup time.
- lots of RC's.
Help : QK /?
Cool Things you can do in your Registry
- expand the scope of IE's AutoComplete feature
HKLM\Software\Microsoft\Internet Explorer\Main\Urltemplate\
- roll back any single setting to the Windows default
HKEY_USERS\.DEFAULT - used as a template with which to create new user profiles.
- disable the Shut Down command
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoClose [DWORD] 1 { use Ctrl+Alt+Del now }
- change the registered user and company names (XP)
HKLM\Software\Microsoft\Windows\CurrentVersion\
RegisteredOwner
RegisteredOrganization
- change the default installation path
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup
SourcePath
Installation Sources [REG_MULTI_SZ]
- associate a diferent program to "My Computer"
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\open\command
Enter the full path and filename of the program to open.
Registry URLs
-
WinGuides :
System Enhancements, Tips and Tricks, Network Enhancements, Security,
Hardware, Software ...
|
MSRT
Disable Malicious Software Reporting Tool transmissions
[From: http://www.support.microsoft.com/kb/891716/]
Q3. How can I disable the infection-reporting component of the tool so
that the report is not sent back to Microsoft?
A3. An administrator can choose to disable the infection-reporting
component of the tool by adding the following registry key
value to computers. If this registry key value is set, the
tool will not report infection information back to Microsoft.
Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT
Entry name: \DontReportInfectionInformation
Type: REG_DWORD
Value data: 1
This functionality is automatically disabled
if the following registry key value exists:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer
This registry key value indicates that the computer is connected to an SUS server.
If you want to see the actual report or at least the data that the MRT finds,
type the following from a command line: ("mrt.log" is a unicode text file)
notepad c:\windows\debug\mrt.log
Xorrades de Windows
|
-
shortcuts :
- CONTROL = abre Control Panel
- MSTSC = activa Escritorio Remoto
- APPWIZ.CPL = Add or Remove Programs !
- DCOMCNFG = Management Console : Visor de Sucesos, Servicios, Componentes.
-
how to know whether an OS is 32 bit or 64 bit ?
command prompt and type set.
Look for the processor type :
x86 is 32bit,
x64 is 64bit.
Start -> Run, and type dxDiag
- cmd.exe /? has some goodies, as Auto-Complete.
Set
HKEY_CURRENT_USER/Software/Microsoft/Command Processor/CompletionChar
to 9, and you have TAB completion
(start typing a file or dir name,
press TAB,
and matching file/dir names appear).
- The difference between "runas.exe" and "Run as Administrator"
I asked Microsoft the difference between the following two mechanisms
for starting a cmd prompt:
- "runas /u:administrator cmd"
- Right-click cmd.exe and hit the "Run as Administrator" option
Well, it turns out every program that is ever started with runas.exe
is started in the ordinary logged in context,
specifically, the reduced capability context.
Hence, you might start a cmd.exe prompt with runas.exe,
but it will run in the same reduced capability mode your login shell runs in.
If you really want to elevate and then run,
you must use the right click method.
That produces an unrestricted Administrator program.
This works even for Internet Explorer.
-
W 2008 Server
details
-
Keep in mind that media files, like any other files,
can be re-associated at any time.
For example, if you decide you want to associate MP3 files
with another program at some point
you can simply locate an MP3 file,
hold the Shift key and right-click the file.
At this point a menu will appear
and you can select Open With
and then choose the application you want to use to play MP3 files.
Check the box next to
"Always use the select program to open this kind of file"
and the next time you double click an MP3 file it will open that program.
- How to kill any process ?
drwtsn32 -p < process-id >
How to know the process-id of a program ?
Task Manager
or
TLIST.EXE
url
or
TaskList
From
here
[got it
here ]
Ver PULIST.EXE ...
- dresseres :
- run services.msc
- run gpedit.msc
- Display Desktop icon : create a file "Show Desktop.scf"
located at [NT, W2K, XP]
C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
url
- Lock PC :
Right click an empty area of your desktop.
Choose New/Shortcut and enter this line as the command line:
rundll32.exe user32.dll, LockWorkStation
- Expand Control Panel in Start Menu
W2K :
To make the Control Panel act like submenu of the Start Menu,
right-click the Task Bar in an open area, and choose Properties.
In the "Taskbar & Start Menu Properties" window that appears,
click the "Advanced" tab.
Under the Start Menu Settings,
check next to "Expand Control Panel."
Now, when you click Start, Settings, Control Panel,
you can choose one of the Control Panel applets,
such as Add/Remove Programs, right from there.
url
WXP :
Right-click the Start menu button, then choose Properties.
From the Taskbar & Start Menu Properties window,
click the Customize button, then click the Advanced tab.
You should see three options for Control Panel:
Display as Link (default),
which means it opens in a separate window when you click it,
Display as Menu,
which means that when you click it, or even hold the mouse over it,
the Control Panel items will open as a sub-menu,
and Do not display this item,
which will remove it from the Start Menu completely.
url
- Com saber quin Fix Pack es instalat ?
See
Add/Remove Programs in Control Panel ...
Install
KB835732
- disable "Caps Lock" : see
here
---------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00
---------------------------------------------------------------------
- trace "log" errors to Event Viewer / Security Log :
Administrative Tools + Local Security Policy + Local Policies +
Audit Policy + Audit account logon events
Thankx
Albert (again)
- com veure quina versió tenim instalada ? winver
- W2K :
Winver : uSoft Windows Version 5.0 (Build 2195:Service Pack3)
System : uSoft Windows 2000 5.00.2195 Service Pack 3
- W98 (P4) :
Winver : windows 98
System : W98, Segunda Edicion, 4.10.2222 A
- IE5 busca dins uS si la URL no es bona
Tools - Internet Options - Advanced - "Do not search from Address bar"
- paràmetres per instalar NT 4.0 :
E:\I386>winnt /?
Installs Windows NT.
WINNT [/S[:]sourcepath] [/T[:]tempdrive] [/I[:]inffile]
[/O[X]] [/X | [/F] [/C]] [/B] [/U[:scriptfile]]
[/R[X]:directory] [/E:command]
/S[:]sourcepath
Specifies the source location of Windows NT files.
Must be a full path of the form x:\[path] or
\\server\share[\path].
The default is the current directory.
/T[:]tempdrive
Specifies a drive to contain temporary setup files.
If not specified, Setup will attempt to locate a drive for you.
/I[:]inffile
Specifies the filename (no path) of the setup information file.
The default is DOSNET.INF.
/OX Create boot floppies for CD-ROM installation.
/X Do not create the Setup boot floppies.
/F Do not verify files as they are copied to the Setup boot floppies.
/C Skip free-space check on the Setup boot floppies you provide.
/B Floppyless operation (requires /s).
/U Unattended operation and optional script file (requires /s).
/R Specifies optional directory to be installed.
/RX Specifies optional directory to be copied.
/E Specifies command to be executed at the end of GUI setup.
So, my command line was : c:> d:\i386\winnt /s:d:\i386 /b
WIN2000 no té /B
- com instalar SP6 en un NT 4.0 en castellà
Q250867 says :
To work around this issue and prevent the version-number scanner from
comparing the Schannel.dll file versions :
- Use any text editor (such as Notepad) to open the Update.inf
file in the I386\Update folder in the service pack source files.
- Place a semicolon (;) before the reference to the Schannel.dll,
Security.dll, and Ntlmssps.dll files in the [CheckSecurity.System32.files]
section of the Update.inf file.
- Save and then close the Update.inf file.
- Install the service pack.
Ignacio la ha millorat :
- Lanzar la instalación del Service Pack 6a,
lo cual descomprimirá una serie de ficheros en el subdirectorio
del directorio apuntado por la variable TEMP (por ejemplo d:\temp\ext9830).
- Antes de responder al diálogo en el que se nos pide que
aceptemos los términos de la licencia,
buscar dicho directorio temporal y copiar los archivos a otro sitio.
- Aceptar el diálogo, lo cual intentará lanzar la
instalación, pero mostrará error, borrando los ficheros
del subdirectorio inicial.
- Ir al directorio con las copias,
y modificar el fichero UPDATE.INF como
se indica en el artículo de Microsoft.
La sección
[CheckSecurity.System32.files] debe quedar así :
[CheckSecurity.System32.files]
; SCHANNEL.DLL
; SECURITY.DLL
; NTLMSSPS.DLL
- Lanzar la instalación ejecutando UPDATE.EXE ;
esta vez no aparecerá el error.
- com instalar SP6 HIGH-ENCRYPTION en un NT 4.0 en castellà
Hay que ir al directorio %SystemRoot%\system32\
donde encontraremos tres archivos
rsaenh.dll
enhsig.dll
schannel.dll
Hay que renombrarlos o cambiarles la extension
(por ejemplo: rsaenh.dl_, enhsig.dl_ y schannel.dl_).
Despues de esto hay que reiniciar el sistema y una vez
arranque se puede instalar el SP6a.
- versions de SCHANNEL.DLL
- Export -> 40-bit
- U.S. Domestic -> 128-bit
- existeix RSAENH.DLL => High-Encryption (128 bit).
- SU-0013 - no MS-DOS
boot
partition, installing W98 on 2-nd hard disk.
- Netscape "updating client registry" :
c:\windows\nsreg.dat
- on son els cookies (i altres trasses) dels navegadors ?
- Netscape : c:\Program Files\Netscape\Users\default\cookies.txt
Disable bye setting
user_pref("network.cookie.cookieBehavior", 2);
in prefs.js !
- IE 5.5 : c:\windows\cookies (hidden)
and
c:\windows\Temporary Internet Files\Content.IE5\INDEX.DAT
IE 5.5 settings are quite hidden in
Internet options + Tools + Security + "Custom Level"
- eines interessants :
- CoolSwitch (taskswitch.exe) :
ALT TAB replacement PowerToy for XP
- Resource Meter (c:\windows\Rsrcmtr.exe)
- tlist -s, from SUPPORT.CAB (w2K) - display active processes.
"-s" switch shows the list of active services in each process.
For more information about the process, type tlist pid.
From
here
- minimum swap size
(manual management) :
- less than 32 MB of RAM : 2,5 times your amount of RAM
- less than 64 MB of RAM : 2 times your amount of RAM
- more than 64 MB of RAM : equal the amount of RAM
- configurador interessant (W9x) :
msconfig
o un
clone
- uninstall hidden XP components :
c:\windows\SYSOC.INF - remove the hide word (leave comas),
so they appear in Add/Remove dialog.
Link
and
link.
- configure XP 100 % :
gpedit.msc
from
here.
- customize SendTo menu, by creating shortcuts and placing
them in c:\windows\SendTo
- [XP] remove Error Reporting Service service using msconfig.
- Tweak-UI : the must have
tool.
Search
uS
for PowerToys.
Or
download it ! (v 1.33)
XP
- [XP]
SuperGuide
- change text in Explorer's title bar
The title bar of Internet Explorer displays the text "Microsoft Internet Explorer,"
along with the title of the page you're visiting.
If you're tired of constantly being assaulted with images and words from Big
Green up in Redmond, you can change that text to anything that you want.
- From a command line or from the Run line, run regedit
- Select the folder HKEY_CURRENT_USER and follow the folder path
\Software\Microsoft\Internet Explorer\Main
- Add a new String Value named Window Title.
In the Value field type in the text you want to appear and then hit OK.
- Close Internet Explorer if it's open, and restart it.
The title bar will now have your new text.
- If you want your title bar to have no text in it aside from the
title of the page you're currently visiting, create the
Window Title string value, but leave the Value field empty.
- CAB
Extract
from
here
Sample :
from the Windows 2000 installation CD's Support\Tools folder,
extract the TLIST.EXE utility from the Support.cab file.
- HOSTS file location :
- W95 :
- W98 : ???
- W2K : c:\WINNT\System32\Drivers\etc (sample in c:\WINNT\I386)
- WXP :
- windows releases numbers :
- 4.00.950 = windows 95 & 95 A (FAT16, no FAT32)
- 4.00.1111 = windows 95 B & 95 C (FAT32)
- 4.10.2222 = windows 98 B & 98 se
- 4.90.3000 = windows Me
|
Hostname change
"HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\"
How to change HOSTMANE
- Open registry on the HKEY_LOCAL_MACHINE
- Find the subKey = SYSTEM\CurrentControlSet\Services\TcpIp\Parameters
- Set data for the value "HostName"
- Find the subKey = SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
- Set data for the value "ComputerName"
- Reboot your PC and HostName will be set.
How to change you MAC address
Determine if the NIC card does support "Clone MAC address".
Open NIC's Properties at Control Panel + System.
Under "General" tab, click on the "Configure" button, then
on the "Advanced" tab.
Under the "Property" section,
there should be an item called "Network Address"
or "Locally Administered Address".
On the right side, under "Value", set the new MAC address,
and verify the changes using
IPCONFIG /ALL or NET CONFIG RDR.
If successful, reboot the machine.
Done at P4 WiFi !
Also T42 (Direccion Administrada Localmente)
If NIC does NOT support "Clone MAC address", follow this :
- use ipconfig /all to record your MAC address.
- use net config rdr to record the number between { and }
beside your MAC address.
We will search this value in the Registry on step (4).
Mine was 5D4648CF-49D9-4667-805C-65C4E41C7380
2008-Oct : {B966E398-1B0D-47D8-A876-1D6A89A82E1E}
- start regedit (dont use "regedt32"), and go to exactly this entry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\
{4D36E972-E325-11CE-BFC1-08002BE10318}
Double click on it to expand the tree.
- go through each subkey, starting at 0000.
-
check DriverDesc keyword on the right
to see if that's the NIC you want to change the MAC address.
The DriveDesc should match the Description you recorded from previous step.
- once found, if NetworkAddress keyword does not exist,
create it, with Data Type := REG_SZ and Value := '00-11-22-33-44-55' ;
otherwise, change its value.
- disable/enable the selected Netword Adapter, or reboot the machine.
Origin :
NetHelp,
stolen from
SMAC website (15 USD)
T42:\Rexx\Registry\MfyReg\
|
Xorrades 2000
|
- Remove
"My Documents" from Desktop :
use "My PC" + Tools + Folder Options + "View". Uncheck.
-
Sharing
entry missing on any device of "My PC" : logged user is NOT Administrator.
- Automatic
C$
and D$
Use REGEDIT -
a setting of zero (0) prevents the administrative shares,
such as C$, D$, and Admin$ from being created automatically.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
NT :
en
KOT diu de posar
NT 4.0 W
Hive:HKEY_LOCAL_MACHINE
Key:System\CurrentControlSet\Services\LanmanServer\Parameters
Name:AutoShareWks
Type:DWORD
Value:0
Una comanda interessant [NT] es net config server /hidden:yes
Fes net help config
- SFC - Windows File Checker Version -
Scans all protected system files and replaces incorrect versions
with correct Microsoft versions
Mind PURGECACHE (before installing a SPn ...) !
- Server
-
On W2K Server, the Local Users and Groups icon can (only)
be found at "MyPC" + Right button + Manage.
-
To set a new password for any user,
select the user in "Local Users and Groups",
push Right button and use "Set Password" entry.
- Personalized Menus
config -
this windows feature hides the least used entries in the panels that come up
after "Start" button is used. Instead, a double up (or down) arrow is displayed.
To turn Personalized Menus on, select Start, Settings, Taskbar & Start Menu.
(or right click on taskbar)
Then select Use Personalized Menus at the bottom of the General Tab.
To turn Personalized Menus off, just deselect Use Personalized Menus.
How to turn Off this
feature (Office)
a) On the View menu, point to Toolbars, and then click Customize.
b) On the Options tab, click to select
the Always show full menus check box,
and then click Close.
IE
To enable or disable the Internet Explorer personalized Favorites menu:
- Start Internet Explorer.
- On the Tools menu, click Internet Options.
- Click the Advanced tab.
- Click to clear or select the Enable Personalized Favorites Menu check box.
- Click OK.
- how to display Administrative Tools in the Start Menu ?
Select it in "Taskbar and Start Menu properties"
- what is SFC.EXE ?
System File Checker tool.
- W2K Services Tweak
guide.
- W2K
services : stop the not needed
ones
- Resource
Kits :
W2K
and
tools.
- SysInternal's W2k
utilities :
CPUmon, DsikMon, FileMon, Handle, ListDLLs, RegMon, TCPview, BlueScreen, ...
Use TCPview to kill a "strange" connection found by netstat -an !
- How to install
Network
Monitor.
- Install
guide.
- CMD.EXE with Cut & Paste :
select Quick Edit in the Command Line Properties menu ("Options" tab)
- uSoft (large and with Index and Search )
DataCenter
- W2K Tips & Tricks
here
-
Hidden files
- Admin pwd krk :
1 (NT/W2K/2003 domain controllers, not XP),
2 (W2K, not XP).
3 (XP).
|
PWS & IIS
Here it says :
PWS is not supported and cannot be installed on any version of Windows XP.
Windows XP Professional is designed for business users
and contains Internet Information Services (IIS) version 5.1.
IIS 5.1 includes Web and FTP server support,
as well as support for Microsoft FrontPage transactions,
Active Server Pages, and database connections.
So, PWS was for
W98 only
IIS :
Problemes amb el IIS :
-
the server failed to load application '/LM/W3SVC/1/ROOT'
-
The most likely cause of this problem is that the DTC coordinator service has not started.
Solucio : "msdtc -resetlog" !
From
here
-
To correct this problem, run the SyncIwam.vbs utility
in the InetPub/AdminScripts directory.
cscript synciwam.vbs
From
here
-
The COM Application ... failed to activate out of process
Note : when you try to obtain the password in Windows NT 4.0,
the password appears as clear text;
however, the password appears as asterisks in Windows 2000.
To obtain the password in clear text in Windows 2000,
you must modify Adsutil.vbs so that it displays the unmasked password.
To do this, follow these steps:
- In Notepad, open Adsutil.vbs.
- On the Edit menu, click Find, type IsSecureProperty = True, and then click Find Next.
- Change "IsSecureProperty = True" to "IsSecureProperty = False".
- Save the changes to Adsutil.vbs, and then close Notepad.
Change the password in MTS or Component Services :
cscript.exe synciwam.vbs -v
You may need to restart IIS for all changes to take effect.
To restart IIS, from the Start menu, click Run,
type iisreset, and then click OK.
-
ADSUTIL
Desktop Heap Limitations
If you have a lot of applications open
one thing you might notice is that Windows -- even XP --
will reach a point where no more windows can be opened.
For me, IE hits this point after about 40-50 windows.
Depending on what else you have running,
you may be able to open more or less.
Usually this is not a problem, but if you find yourself running into
this limit the workaround is to increase the Desktop Heap.
To do this, edit the following key in the registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems]
Windows="%SystemRoot%\system32\csrss.exe
ObjectDirectory=\Windows
SharedSection=1024,3072,512
Windows=On
SubSystemType=Windows
ServerDll=basesrv,1
ServerDll=winsrv:UserServerDllInitialization,3
ServerDll=winsrv:ConServerDllInitialization,2
ProfileControl=Off
MaxRequestThreads=16"
and change 3072 to a larger value such as 4096.
Always use caution when editing your registry; standard disclaimers apply.
For more information see:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;184802
|
How to read a MiniDump
|
If user selects so,
a "Small Memory Dump" (64 KB) is generated on system failure.
Select CP + System Properties + Advanced + Startup and Recovery
Directory of C:\WINNT\Minidump
18/09/2003 09:25 65.536 Mini091803-01.dmp
17/10/2003 10:14 65.536 Mini101703-01.dmp
08/10/2004 08:32 65.536 Mini100804-01.dmp
To read its contents ...
N.I.Y.
To install it :
- W2K - Windows 2000 CD-ROM:
Install the Support Tools by running Setup.exe
from the Support\Tools folder on the CD-ROM.
By default, Dumpchk.exe is installed to the
Program Files\Support Tools folder.
- Windows NT 4.0 CD-ROM: Support\Debug\<Platform>\Dumpchk.exe
- Windows XP:
Install the Support Tools by running Setup.exe
from the Support\Tools folder on the CD-ROM.
By default, Dumpchk.exe is installed to the
Program Files\Support Tools folder.
|
Keyboard shortcuts
- Copy = CTRL + C
- Cut = CTRL + X
- Paste = CTRL + V
- Mark = SHIFT + <left> or <right> arrow
- Mark to EOL = SHIFT + <End>
- Select All = CTRL + A
- Refresh = PF5
- Mouse Right Button = Shift + PF10
-
ALT+SPACE: Displays the main window's System menu
From the System menu, you can
restore, move, resize, minimize, maximize, or close the window.
General keyboard-only commands
How to move a window when its title bar is off the screen
- Hold down Alt + Spacebar
- Press the M key
- Use the arrow keys to relocate the window
- Press the Enter key when you have the Window in the desired location.
|
| Tecla | Acción |
| F1 | Help |
| F2 | Rename |
| F3 | Search |
| F4 |
Abrir la lista desplegable d ela barra de herramientas.
|
| F5 | Refresh |
| F6 o TAB | Circula el foco por la lista |
| F10 o ALT | Pone el foco en la barra de menús |
| ALT + ESC |
Desplaza el foco entre aplicaciones abiertas.
|
| ALT + TAB |
Abre una ventana con iconos representando los archivos y carpetas abiertos.
Mantener pulsado ALT y pulsar TAB para ir al siguiente.
Para ir al icono actual, soltar ALT.
|
| ALT + SHIFT + TAB |
Igual que el anterior, pero en sentido inverso.
|
| CTRL + ESC |
Abre el menú Inicio.
|
| ALT + F4 |
Cerrar la aplicación actual.
|
| ALT + SB |
Abre el menú de control de la ventana activa.
(icono de la esquina superior izquierda de la ventana)
|
| SHIFT + IMPR PANT |
Copia la pantalla actual en el portapapeles (use Paint).
|
| ALT + IMPR PANT |
Copia la ventana activa en el portapapeles (use Paint).
|
Apendice B, Windows NT Server 4.0, ISBN 1-57231-333-1.
Keyboard shortcuts for Windows
|
Main fixes
| W2K |
SP2, SP3, KB835732
W2K SP2 (Ago 2003) :
W2K SP3 (Oct 2003) :
W2K SP4 (Nov 2003) :
|
| WXP |
WXP SP1 :
Homepage ...
03-026 o
KB823980,
04-011 o
KB835732,
04-037 o
KB841356,
WXP SP2 (10/Ago/2004) : { WindowsXP-KB835935-SP2-ENU.exe }
KB835935,
Homepage (IE only),
Download [***].
04-044 o
KB885835,
05-007 o
KB888302,
05-008 o
KB890047,
05-016 o
KB893086,
05-018 o
KB890859,
05-049 o
KB900725,
[Jan 2006]
|
Complete fixes list
| Fix |
Vulnerable |
Symptom |
Afecta |
| MS03-026
-
KB823980
| RPC
| Remote code execution
| WNT 4.0, W2K, WXP, Server2003.
|
| MS04-011
-
KB835732
| W2K, WXP
| Remote code execution
| W2K SP2, W2K SP3, W2K SP4, WXP SP1, Server2003, W98.
|
| MS04-027
-
KB884933
| Office, FrontPage, Publisher, Works.
| Remote code execution
| Office 2000 SP3, Office XP SP3
|
| MS04-028
-
KB833967
| Buffer overrun in JPEG processing.
| Remote code execution
| WXP SP1, Office XP SP2 and SP3.
|
| MS04-029
-
KB873350
| RPC runtime library
| Disclosure and Denial of Service
| WNT Server SP6a.
|
| MS04-030
-
KB824151
| WebDAV XML message handler
| Denial of Service
| W2K SP3 and SP4, WXP SP1.
|
| MS04-031
-
KB841533
| NetDDE
| Remote Code Execution.
| W2K SP3 and SP4, WXP SP1.
|
| MS04-032
-
KB841533
| Security Update.
| Remote Code Execution.
| W2K SP3 and SP4, WXP SP1. (no cal amb SP2)
|
| MS04-033
-
KB886836
| Excel.
| Remote Code Execution.
| Office 2000 SP3, Office XP SP2
|
| MS04-034
-
KB873376
| Zipped files
| Remote Code Execution.
| WXP SP1 (not with SP2).
|
| MS04-035
-
KB885881
| SMTP
| Remote Code Execution.
| Server 2003.
|
| MS04-036
-
KB883935
| NNTP
| Remote Code Execution.
| Server 2003.
|
| MS04-037
-
KB841356
| Shell
| Remote Code Execution.
| W2K SP3 y SP4, WXP SP1, Server 2003 (not with SP2).
|
| MS04-038
-
KB834707
| IE, cumulative
| misc.
| W2K SP3 y SP4, WXP SP1 y SP2, Server 2003.
|
| MS04-039
-
KB888258
| ISA server 2000
| content spoofing
| Proxy Server
|
| MS04-040
-
KB889293
| IE, cumulative
| misc
| W2K SP3 y SP4, WXP SP1 (not SP2).
|
| MS04-041
-
KB885836
| WordPad
| code execution
| W2K SP3 y SP4, WXP SP1 and SP2
|
| MS04-042
-
KB885249
| DHCP
| remote code execution, DoS
| NT Server SP 6a
|
| MS04-043
-
KB873339
| HyperTerminal
| code execution
| W2K SP3 and SP4, WXP SP1 and SP2.
|
| MS04-044
-
KB885835
| Kernel and LSASS
| elevation of privilege
| W2K SP3 and SP4, WXP SP1 and SP2. [*** XP ***]
|
| MS04-045
-
KB870763
| WINS
| remote code execution
| NT Server 4.0, 2000 Server SP3 and SP4.
|
|
|
| MS05-001
-
KB890175
| HTML Help
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Server 2003
|
| MS05-002
-
KB891711
| Cursor and Icon format handling
| Remote code execution
| WNT Server 4.0 SP6a, W2K SP3, W2K SP4, WXP SP1
|
| MS05-003
-
KB871250
| Indexing service
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, Server2003
|
| MS05-004
-
KB887219
| ASP.NET path validation
| ASP.NET path validation
| u.NET Framework 1.0 and 1.1
|
| MS05-005
-
KB873352
| Office XP
| Remote code execution
| Office XP SP3, Office XP SP2, uProject 2002, uVisio 2002,
uWorks Suite 2002 - 2003 - 2004.
|
| MS05-006
-
KB887981
| SharePoint services
| Cross-site scripting and spoofing attacks
| Sharepoint Services for Server2003.
|
| MS05-007
-
KB888302
| Windows
| Information disclosure
| WXP SP1 & WXP SP2.
|
| MS05-008
-
KB890047
| Windows shell
| Remote code execution
| W2K SP3 & W2K SP4. WXP SP1 & WXP SP2.
|
| MS05-009
-
KB890261
| PNG processing
| Remote code execution
| WMP 9, Messenger 6.1 y 6.2
|
| MS05-010
-
KB885834
| License logging service
| Remote code execution
| WNT Server 4.0 SP6a, W2K Server SP3, W2K Server SP4,
Windows Server 2003
|
| MS05-011
-
KB885250
| Server message block
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Windows Server 2003
|
| MS05-012
-
KB873333
| OLE and COM
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Windows Server 2003,
Office XP SP3, Office XP SP2, ...
|
| MS05-013
-
KB891781
| DHTML editing ActiveX control
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Windows Server 2003
|
| MS05-014
-
KB867282
| IE cumulative
|
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Windows Server 2003
|
| MS05-015
-
KB888113
| Hyperlink object library
| Remote code execution
| W2K SP3, W2K SP4, WXP SP1, WXP SP2, Windows Server 2003
|
| MS05-016
-
KB893086
| Windows shell
| Remote code execution
| W2K SP3 & SP4, WXP SP1 & SP2, Server 2003.
|
| MS05-017
-
KB892944
| Message Queuing (MSMQ)
| Remote code execution
| W2K SP3 & SP4, WXP SP1.
|
| MS05-018
-
KB890859
| Windows Kernel
| Elevation of privilege and DoS.
| W2K SP3 & SP4, WXP SP1 & SP2, Server 2003.
|
| MS05-019
-
KB893066
| TCP/IP
| Remote code execution
| W2K SP3 & SP4, WXP SP1 & SP2, Server 2003.
|
| MS05-020
-
KB890923
| IE cumulative
| Remote code execution
| W2K SP3 & SP4, WXP SP1 & SP2, Server 2003.
|
| MS05-021
-
KB894549
| Exchange Server
| Remote code execution
| Exchange 2000 Server SP3, Exchange Server 2003 SP1.
|
| MS05-022
-
KB896597
| MSN Messenger
| Remote code execution
| Messenger 6.2, not 7.0
|
| MS05-023
-
KB890169
| Word
| Remote code execution
| Word 2000, 2001, 2002, 2003, 2004.
|
| MS05-024
-
KB894320
| Web View
| Remote code execution
| W2K SP3 i 4.
|
| MS05-025
-
KB883939
| IE cumulative
| Remote code execution
| W2K SP3 i SP4, XP SP1 i SP2 (critical)
|
| MS05-026
-
KB896358
| HTML Help
| Remote code execution
| W2K SP3 i SP4, XP SP1 i SP2 (critical)
|
| MS05-027
-
KB896422
| Server Message Block (SMB)
| Remote code execution
| W2K SP3 i SP4, XP SP1 i SP2 (critical)
|
| MS05-028
-
KB896426
| Web Client Service
| Remote code execution
| 2003 Server, XP SP1 (important)
|
| MS05-029
-
KB895179
| Outlook Web Access
| Remote code execution
| IE 6 SP1 (important)
|
| MS05-030
-
KB897715
| Outlook Express cumulative
| Remote code execution
| W2K SP3 i SP4, XP SP1 (important)
|
| MS05-031
-
KB898458
| Step by Step Interactive Training
| Remote code execution
| W2K SP3 i SP4, XP SP1 i SP2 (important)
|
| MS05-032
-
KB890046
| Agent
| Spoofing
| W2K SP3 i SP4, XP SP1 i SP2 (moderate)
|
| MS05-033
-
KB896428
| Telnet Client
| Information disclosure
| Server 2003, XP SP1 i SP2 (moderate)
|
| MS05-034
-
KB899753
| ISA Server cumulative
| Elevation of privilege
| Small Bussiness Server (moderate)
|
| MS05-035
-
KB903672
| Word
| Remote Code Execution
| Word 2000, Word 2002, Works Suite
|
| MS05-036
-
KB901214
| Color Management Module
| Remote Code Execution
| W2K SP4, XP SP1 i SP2, Server 2003
|
| MS05-037
-
KB903235
| JView Profiler
| Remote Code Execution
| W2K SP4, XP SP1 i SP2, Server 2003
|
| MS05-038
-
KB896727
| IE cumulative
| Remote Code Execution
| (replaces 27 & 37) W2K SP4, XP SP1 i SP2 (critical)
|
| MS05-039
-
KB899588
| Plug and Play
| Remote Code Execution
| W2K SP4, XP SP1 i SP2, Server 2003 (critical)
|
| MS05-040
-
KB893756
| Telephony Service
| Remote Code Execution
| W2K SP4, XP SP1 i SP2, Server 2003 (important)
|
| MS05-041
-
KB899591
| Remote Desktop Protocol
| Denial of Service
| W2K Server SP4, XP SP1 i SP2, Server 2003 (moderate)
|
| MS05-042
-
KB899587
| Kerberos
| Denial of Service
| W2K SP4, XP SP1 i SP2, Server 2003 (moderate)
|
| MS05-043
-
KB896423
| Print Spooler Service
| Remote Code Execution
| W2K SP4, XP SP1 i SP2, Server 2003 (critical)
|
| MS05-044
-
KB905495
| FTP client
| File Transfering tampering
| XP SP1, Server 2003
|
| MS05-045
-
KB905414
| Network Connection Manager
| DoS
| W2K SP4, WXP SP1 and SP2, Server 2003.
|
| MS05-046
-
KB899589
| Netware Client Service
| remote code execution
| W2K SP4, WXP SP1 and SP2, Server 2003.
|
| MS05-047
-
KB905749
| Plug and Play
| remote code execution
| W2K SP4, WXP SP1 and SP2.
|
| MS05-048
-
KB907245
| Collaboration Data Objects
| remote code execution
| W2K SP4, WXP SP1 and SP2.
|
| MS05-049
-
KB900725
| shell
| remote code execution
| W2K SP4, WXP SP1 and SP2.
|
| MS05-050
-
KB904706
| DirectShow
| remote code execution
| DirectX 7.0 on W2K SP4, DirectX 8.1 on WXP SP1, DirectX 9.0 on WXP SP2.
|
| MS05-051
-
KB902400
| MSDTC
| remote code execution
| W2K SP4, WXP SP1 and SP2.
|
| MS05-052
-
KB896688
| IE, cumulative
| misc.
| W2K SP4, WXP SP1 y SP2, Server 2003 SP1.
|
| MS05-053
-
KB896424
| Graphics Rendering Engine
| remote code execution
| W2K SP4, WXP SP1 and SP2.
|
| MS05-054
-
KB905915
| IE, cumulative
| misc.
| W2K SP4, WXP SP1 y SP2, Server 2003 SP1.
|
| MS05-055
-
KB908523
| kernel
| elevation of privilege
| W2K SP4.
|
|
|
| MS06-051 - Ago 2006
|
|
|
|
Complete (and LARGE) list + short description :
url {*****} 1998 thru 2007 !
[22/6/2007 had 574 entries]
Jul 2007 : H:\Guindous_Fix_Packs has [all 2007, 2006 down to MS06-050].
Parches de uSoft por meses :
|
| Jan | Feb | Mar | Apr | May | Jun
| Jul | Aug | Sep | Oct | Nov | Dec
| Sum
|
| 2003
| 1..3 | 4..6 | 7..10 | 11..16 | 17..19 | 20..22
| 23..31 | 32..33 | 34..39 | 40..47 | 48..
51
| -
| 51/51
|
| 2004
| 1..3 | 4..7 | 8..10 | 11..14 | 15 | 16..17
| 18..25 | 26 | 27..28 | 29..38 | 39
|
40..45
| 45/96
|
| 2005
| 1..3 | 4..15 | -
| 16..23
| 24
| 25..34
| 35..37
| 38..43
| | 44..52 | 53
| 54..55
| 55/151
|
| 2006
| 01..03 | 04..10 | 11..12
| 13..17 | 18..20 | 21..32
| 33..39 | 40..51 | 52..55
| 56..65 | 66..71
| 71..78
| 78/239
|
| 2007
| 01..04 | 05..16 |
| 17..22 | 23..29 | 30..35
| 36..41 | 42..50 | 51..54
| 55..60 | 61..62 | 63..64
| 64/303
|
| 2008
| 01..02 | 03..13 | 14..17
| 18..25 | 26..29 | 30..36
| 37..40 | 41..51 | 52..55
| 56..67 | 68..69 | 70..78
| 78/381
|
KB905474 - Podria ser víctima de una falsificación de software.
WinUp = parches hasta el 1 de Enero del 2008.
Requiere : XP con
SP2
instalado.
SP2 {KB835935} download :
[ES],
[EN]
SP3 - To install SP3, either Windows XP Service Pack 1a (SP1a) or Windows XP Service Pack 2 (SP2) must already be installed.
Clean-up guide
| Type | OpSys | Path
|
| Logs
| w2k
| C:\WINNT\Internet Logs
|
| Temp files
| w2k
| C:\WINNT\Temp\
echo %TEMP% =
C:\Documents and Settings\<user>\Local Settings\Temp\
|
| IE Internet Options
| w2k
| C:\Documents and Settings\<user>\Local Settings\Temporary Internet Files\
|
| Office
| w2k
| C:\Documents and Settings\<user>\Application Data\Microsoft\Office\Recent
|
| Real One
| ?
| C:\Documents and Settings\<user>\Application Data\Real\RealOne Player\History
|
| Recent Documents
| w2k
| C:\Documents and Settings\<user>\Recent\
|
| Opera about:cache
| xp
| C:\Documents and Settings\<user>\Application Data\Opera\profile\cache
|
| Netscape about:cache
| w2k
| C:\Documents and Settings\<user>\Application Data\Mozilla\Profiles\default\eef5mhcj.slt\Cache
|
| Firefox about:cache
| w2k
| selected in user.js
|
| System Monitor
| wxp
| C:\WINNT\Temp\Perflib_Perfdata_*.dat
|
| Emule search history
| wxp
|
(*) Place your mouse cursor in the search box
and press ctrl+delete.
(*) Navigate to eMule's config folder
and open AC_SearchStrings.dat file with notepad.
|
| SameTime
| XP
| C:\Archivos de programa\IBM\Sametime Connect 7.5 Blue\core.*.dmp
|
- clear "Start" + "Documents" by hand :
DEL C:\"Documents and Settings"\SP87026\Recent\*.lnk
- clear WMP Media Player "Recent File"
list
My Computer\HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\RecentFileList
url
Removing recent entries in Windows Media Player 9 and 10 series
- Click Options under the Tools menu.
- Click the Privacy tab.
- Click the Clear History button to clear Windows Media Player's recently played files list.
- If you are using Windows Media Player 9, click the Clear CD/DVD button to clear Windows Media Player's recently played CD and DVD list.
- If you are using Windows Media Player 10, click the Clear Caches button to clear Windows Media Player's recently played CD and DVD list.
- clear Real One "Recent File"
C:\"Documents and Settings"\SP87026\"Application Data"\Real\"RealOne Player"\History
- clear Documents folder on
exit
|
Guindous Debug
From
SysInternals blog - they end up using SoftIce ...
I opened Windbg (from Microsoft's Debugging Tools for Windows),
attached to Explorer, and set a breakpoint on ZwQueryValueKey.
ZwQueryValueKey is native API that the Windows Registry-value
query-APIs use underneath.
Looking at the stack of the thread that almost immediately hit the breakpoint
revealed that Explorer isn't directly querying
...
I attached to the process using Windbg
(from Microsoft's Debugging Tools for Windows),
set a breakpoint on NtQueryValueKey
(the native API invoked by Windows API Registry queries),
and when it hit looked at the stack
URL
Attaching a debugger to Windows Service
- download and install the "Debugging Tools for Windows"
http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx
- let's say you've installed the debugger in d:\windbg
- if you service executable is myservice.exe then you can do
d:\windbg\gflags /p /enable myservice.exe /debug d:\windbg\windbg.exe
Start your service and it will pop up in the debugger and
you can do whatever debugging you need.
When you are done debugging you must do:
d:\windbg\gflags /p /disable myservice.exe
The real nice thing about this is if you are working on a dll like say
myserv1.dll and myserv2.dll.
Then you can do the same thing as above
except you change the /enable myservice.exe to /enable myserv2.dll.
This one you have to be careful with
because if you have multiple process that loads that dll
then each one will pop up in the debugger when it's loaded.
This is also disabled the same way as mentioned above.
BTW, this can be done for any executable not just a service also gflags
can be used for much more than this.
This is just one nice thing I've found over time.
I guess the nice thing is that gflags handles
all the registry updates for you so you don't have to do it yourself.
Garfield A. Lewis
Temas misceláneos
-
Notepad inserts x'EF.BB.BF at the beginning of a (large) XML file
(BOM = Byte Order Mark)
-
Programs that are started at Windows Logon :
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
See mr Russinovich's autoruns.exe
-
The programs that are started at Windows StartUp are located in
HKLM -> Software -> Microsoft -> Windows -> Current Version -> Run
#1 /winnt/profiles/egb/start menu/programs/startup
[/windows/profiles is still present but mostly unused]
["egb" profile is now /Documents and Settings/egb]
#2 /winnt/profiles/all users/start menu/programs/startup
[/Documents and Settings/All Users]
#3 HKCU/software/microsoft/windows/CurrentVersion/run
(found that pesky AOL Instant Messenger here)
#4 HKCU/software/microsoft/windows/currentversion/runonce
#5 HKCU/software/microsoft/windows NT/CurrentVersion/windows/run
#6 HKLM/software/microsoft/windows/currentversion/run
#7 HKLM/software/microsoft/windows/currentversion/runonce
#8 HKLM/software/microsoft/windows/currentversion/runonceex
#9 HKUsers/.DEFAULT/software/microsoft/windows nt/currentversion/windows/run
(this is the default user; it gets copied to each new user,
so if you want something to not be copied, remove it from here.)
#10 HKUsers/S-1-5-.../software/microsoft/windows/currentversion/run
That's my SID, the "S-1-5-..." stuff.
This is me under my SID. It is the same as #3 above
#11 HKUsers/S-1-5-.../software/microsoft/windows nt/
currentversion/windows run - same as #4
AutoStart locations : 53 = 35 Registry + 12 files + 6 folders.
GRC :
Sub7 insinuates itself into Windows in a few clever ways.
It installs in the seldom used "run=" line of the deprecated WIN.INI file.
It also installs under the "Run" key of the registry.
And it inserts a much smaller 10k "runner" into the Windows Shell "command/open" key.
All of this pretty much guarantees that Sub7 will keep running inside the system.
It's difficult to shake it loose.
-
To enable or disable automatically running CD-ROMs,
controlled by file Autorun.inf, do :
- open Control Panel and double click System Properties
- select Device Manager tab
- double-click the CD-ROM icon and right-click your CD-ROM drive
- select Properties and click the Settings tab
- Uncheck the Auto insert notification check box
Using TweakUI, one of PowerToys, this can be disabled by turning off the
Play audio CDs automatically and the Play data CDs automatically
options in the Paranoia tab.
- ACL modify :
c:\> CACLS
Displays or modifies access control lists (ACLs) of files
CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in the current directory and all subdirs.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.
- how to Disable Windows File Protection (Windows 2000/XP) -
url
Go to
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
and change the value of "SFCDisable" to equal "ffffff9d" to disable WFS or "0" to enable it.
-
To force an "Admin" logon at Startup, ...
HKLM -> Software -> Microsoft -> Windows NT -> Current Version -> WinLogon
AutoAdminLogon := 1 ;
- To clear the Documents menu every time you start,
click on the Paranoia tab and turn on the
Clear Document history at logon option.
Or, in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
set (DWORD) ClearRecentDocsOnExit to "1".
- To remove programs listed in the Control Panel's
"Add/Remove Programs" section, open
HKLM -> Software -> Microsoft -> Windows -> Current Version -> Uninstall
and delete the program entry here. Then, restart the machine.
- XP security
hole
- any file will be deleted if the file's name is
incorporated into a URL beginning with hcp:// and IE is induced
to visit the URL. Fixed in SP1.
- TaskList - when you type "Ctrl+Alt+Del" under W95,
you get the Task List.
Here is a page to understand its
contents
My "usual" entries are :
- Explorer - end-user interface : desktop, task bar, start menu, etc.
*** Vital ! Leave untouched ***
- Daemon
- Ibmbaysn - UltraBay ?
- Systray - runs Windows System Tray, part of the Task Bar.
*** Leave untouched ***
- Navapw32 - Norton Antivirus Auto-Protect for Windows 32-bit.
- C4ebreg - PC scan from Germany.
--- Removable --- :
- Idhelper
- Loadwc - Internet Explorer's Load WebCheck.
*** Remove ***
Used
this
to find
that.
- Nhldaemn - Notes.
- Nupdate - Notes.
- Nwrdaemn - Notes.
- Pcscm
- Pcs_agnt
- Pcs_srvr
- Rxapi
- large list of
startup applications.
Here I found SENTRY !!!
Mind file win.ini
- Here are a lot of good W95
tips and tricks.
They have them ALL !
- to copy a "system" floppy, use diskcopy a: a:
- to remove manually a program :
- HKEY_Local_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- remove reference in the "Add/Remove Programs" tool.
- HKEY CURRENT USER\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY LOCAL MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Start/Run/Msconfig/Startup
- W98 "Windows Protection Error"
troubleshooting
Run msconfig and choose Selective Startup.
- To
socksify
the TCP/IP stack, use
- c:\windows\system\WSOCK32.DLL
- c:\windows\system\HCLSOCK5.DLL
- c:\windows\system\SOCKS.CNF
Sucesor (IBM) : PIX, as
Blue ICE (Internet Connection Environment) from Cisco.
If you are behind a firewall, and ping www.yahoo.com fails,
or W95 tracert,
your TCP/IP stack is socksified, as PING is not socksifyable.
SOCKS is an implementation of what is known as a circuit-level proxy.
A proxy is a device that makes a connection on your behalf.
PIX performs what is known as "stateful packet inspection".
- Windows 2000 TCP/IP Implementation details :
browse
or
download
Large doc !
got it.
Server 2003 :
also
- Windows TCP/IP troubleshooting :
- "ping error 10043" : TCP not installed. Use winipcfg to verify it.
- "Unable to browse the network" : did not Log into the network (initial screen).
URL
- W2K network traffic (to Tinet)
using netstat -an or TcpView, you can see that W2K
periodically opens
local port 3710 (and UP) and remote port 135, scanning ranges of IP addresses [SYNC_SENT].
Services registered for this
port
( from Neohapsis ) :
tcp - epmap - DCE endpoint resolution
tcp - loc-src - NCS local location broker
udp - epmap - DCE endpoint resolution
udp - loc-srv - location service
135 = RPC End-Point Mapper
Chicago University
problems
talk about
"Port 135 is essential to the functionality of
Active Directory and Microsoft Exchange mail servers, among other."
W32.Blaster.Worm uses port
135
See
forum
What to do ?
Here they say :
The simplest way to turn off 135 is to go to your Network Properties
and disable File Sharing.
Also, click the ADVANCED tab and DISABLE NetBIOS over TCP/IP.
Search Google for a utility named FPORT :
here
Goto
https://grc.com/x/ne.dll?bh0bkyd2
and run a port scan, and see if the port is really open or not
- IE configuration :
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN
-
The file "C:\WINDOWS\Temporary Internet Files\Content.IE5\index.dat"
contains information about websites you have visited,
cookies you have received, etc.
It is not displayed by MS Explorer, never, no way (thanks, Bill).
To delete it under W95, place at the begin of "autoexec.bat", the line
"deltree /Y c:\windows\tempor~1\"
Under W2K, move it !
To find out where the real cache is,
go to Internet Explorer and select Tools, Internet Options.
On the General tab, click Settings.
In the Settings dialog box,
click View Files to bring up your real cache folder.
URL
1.376.256 index.dat BEFORE
32.768 index.dat AFTER
UnLocker,
Privacy Keeper,
DelIndex (no XP/NT/2000).
Source
- startup "hot" keys :
- W95. From
here
- F5 = Safe Boot.
- F8 = boot Menu - goto "safe boot".
- W2K
- F8 = Safe Boot. From
here
- XP
- F8 = Safe Boot. From
here
Remove PWL files ... forever
By default Win95 keeps a record of passwords for everyone who logs into windows.
It does this by creating a .pwl file in the windows directory.
This file is encrypted, but it has been reported that it is very easy to decrypt.
To turn off this "feature" of Win95 you need to run the policy editor for Win95.
This is called poledit.exe and can be found on the Win95 CD.
It is not installed by default.
It is located in \admin\apptools\poledit on the CD.
Or get it from
uSoft.
Once you start poledit, you need to "Open Registry" under the File menu.
You will then see a "Local Computer" icon; double click this.
Then go to Network / Passwords and
check the box next to "Disable password caching".
Once you restart windows, it will no longer make those silly .pwl files.
W95 produces RC4 keys of 32 bits to protecl the .pwl files.
The 20 first bytes of any .pwl files contains the username,
which is the same as the filename, in capitals, padded with 0x00.
RC4 is a stream cipher, it generates a long pseudo random stream that
it uses to XOR the data byte by byte.
This isn't necesarily weak encryption if you
don't use the same stream twice: however WIN95 does.
Every resource is XORed with the same pseudo random stream.
What's more the 20 first bytes are easy to guess.
This is easy to exploit:
XOR the 20 bytes starting at position 0x208 with the user name in uppercase,
and slide this string through the rest of the file
(xoring it with whatever is there) .
This reveals the 20 first bytes of the different resources.
Andrew V. Kovalev, Google relcom.comp.security : "glide" C prog.
Els
russos.
In W95 there are no notions of ACLs and no notions of privileges.
W95 startup process
Link
The Windows 95 startup process can be broken into the following steps:
- The read-only memory (ROM) Basic Input-Output (BIOS) bootstrap process
- The master boot record (MBR) and boot sector
- The IO.SYS file (must be the first entry in the root directory)
MS.DOS must be on entry number two !
- Real-mode configuration
- The WIN.COM file and the Windows 95 Environment
Step 1 - The ROM BIOS Bootstrap Process
When you start your computer,
the ROM BIOS bootstrap loads from the FFFF0h memory address.
The following steps occur during the ROM BIOS bootstrap process:
- 1.The Power On Self-Test (POST) occurs.
- 2.The A drive is checked for the existence of a boot disk.
- 3.If a boot disk is not found in the A drive,
the ROM BIOS bootstrap checks for a hard disk.
If a hard disk is found,
the ROM loader transfers control to the operating system loader.
- 4.The master boot record and partition table are read.
Microsoft and several original equipment manufacturers (OEMs) have defined a Plug and Play BIOS specification.
This specification defines the interactions between the Plug and Play BIOS, Plug and Play devices, and option
ROMs. If your computer has a Plug and Play BIOS, the following additional steps are performed:
- 5.The Plug and Play BIOS checks non-volatile random access memory (RAM) for input/output (I/O) port addresses,
interrupt request lines (IRQs), direct memory access (DMA) channels, and other settings needed to configure Plug
and Play devices on the computer.
- 6.All Plug and Play devices found by the Plug and Play BIOS are disabled.
- 7.A map of used and unused resources is created.
- 8.The Plug and Play devices are configured and re-enabled, one at a time.
Windows 95 Configuration Manager queries the Plug and Play BIOS for device information, and then queries each Plug
and Play device for its configuration.
If your computer does not have a Plug and Play BIOS,
Plug and Play devices are initialized using their default settings
when you start your computer.
These devices may be reconfigured dynamically when Windows 95 starts.
Step 2 - The Master Boot Record (MBR) and Boot Sector
The master boot record determines the location of the boot partition by
reading the partition table located at the end of the master boot record.
Once the location of the boot partition is determined,
the master boot record passes control to the boot sector in that partition.
The boot sector contains the disk boot program and a table of disk
characteristics. The boot sector checks the BIOS Parameter Block (BPB) to
find the location of the root directory, and then copies the Io.sys
file from the root directory into memory.
Step 3 - The Io.sys File
The following steps occur when the IO.SYS file loads into memory :
- 1.A minimal file allocation table (FAT) file system is loaded.
- 2.The MSDOS.SYS file is read.
- 3.The "Starting Windows 95" message is displayed for < n > seconds, or
until you press a Windows 95 function key.
The amount of time the message is displayed is determined by
the BootDelay=< n > line in the MSDOS.SYS file.
The default is 2 seconds.
- 4.If you have multiple hardware profiles in Windows 95,
you receive the following message and must choose a
hardware configuration to use:
Windows cannot determine what configuration your computer is in.
- 5.The LOGO.SYS file is loaded and displays a startup image on the screen.
- 6.If the DRVSPACE.INI or DBLSPACE.INI file exists,
the DRVSPACE.BIN or DBLSPACE.BIN file is loaded into memory.
- 7.The IO.SYS file checks the system registry
files (SYSTEM.DAT and USER.DAT) for valid data.
- 8.The IO.SYS file opens the SYSTEM.DAT file.
If the SYSTEM.DAT file is not found, the System.da0 file is used for startup.
If Windows 95 starts successfully, the System.da0 file is copied to the System.dat file.
- 9.The DBLBUFF.SYS file is loaded if the "DoubleBuffer=1" is in the MSDOS.SYS file,
or if double buffering is enabled under the following registry key:
HKLM\System\CurrentControlSet\Control\WinBoot\DoubleBuffer
Windows 95 Setup automatically enables double buffering if it detects that it is required.
- 10.If you have multiple hardware profiles in Windows 95,
the hardware profile you chose is loaded from the registry.
- 11.The IO.SYS file processes the Config.sys file.
Step 4 - Real-Mode Configuration
Some hardware devices and programs require that drivers or files be loaded
in real-mode in order for them to work properly.
To ensure backwards compatibility with these types of hardware devices or
programs, Windows 95 processes the Config.sys and Autoexec.bat files if they exist.
Step 5 - The WIN.COM File and the Windows 95 Environment
Network Environment and Multi-User Profiles:
The next step in the startup process is to load the network environment.
Once this occurs, the user is prompted to log
on to the network that is installed.
Windows 95 allows multiple users to save their custom desktop settings. When a user logs on to Windows 95, their
desktop settings are loaded from the registry. If the user does not log on, the desktop configuration uses a default
desktop.
StartUp Group and RunOnce Programs:
Programs in the StartUp group and the RunOnce registry key are run during the last phase of the startup process. After
each program in the RunOnce registry key is started, the program is removed from the key.
DLL-hell
Side by Side was "invented" by Microsoft in order to overcome
the "DLL-hell" problem. DLL-hell is where a particular dll might
have multiple versions and different parts of the same program
require different versions. Another form of DLL-hell is where
a program is happy with the currently installed version A of
a dll. At that point, a new version is installed,
fixing "known bugs" in the old version.
Then the program no longer works.
DLL-hell has been a problem since the early days of Windows 3.1.
Furthermore, I have never heard of an application program or a
software developer having the problem with their own DLL's.
Translated, DLL-Hell is a term used to describe
the Windows software development teams' inability to do proper
design and testing of software. It's "Ain't it awful" from
the Microsoft software development teams.
The update problem mentioned above could easily have been
avoided if the application developers had statically linked
their programs. However, no such capability exists
in Windows. The reason is that generally, libraries for static
linking are not provided by Microsoft. Were the applications
statically linked, updating DLL's would not effect the already
delivered and working application.
Static linking was not traditionally done in Windows 3.1 due to
the resulting memory requirements for multiple programs running
simultaneously. An interesting observation is that if you, as I did,
ran only one program at a time in the brittle Windows 3.1
environment, then there was no memory benefit of a DLL.
A second benefit for Windows 3.1 was the reduced disk foot
print. Static linking would have the effect of multiple copies
of the DLL on disk. With dynamic link libraries, only one copy
of the library would be on disk -- theoretically. Practially,
there were dozens of copies of the same DLL but different versions.
25/01/2006
What we have discovered in our attempts to use manifests in our product
is that if we as a vendor provides application/assembly manifests in our product
we may break external applications
(most likely legacy ones that cannot be rebuilt)
who do not themselves provide a manifest.
The reason for this is that the search used for a non-manifest application
is the legacy search path as normal.
However, if this application encounters a library
that does use a manifest
then that library will use a manifest search path
which could cause multiple copies of the same library
(one found via the legacy search path and the other via the manifest search path)
to be loaded in the same process.
This can/will cause unpredictable results.
My hope is that MS will provide a good solution to this issue
since the concept of having manifests is a good idea
and if implemented properly can get users
out of what has been traditionally called "DLL HELL".
However, the current implementation seems not to have taken into consideration
that application providers cannot mandate their customers
must add manifests to their applications
in order to continue to work after upgrading.
According to the people we spoke to at Microsoft
this is only an issue with "Private Manifests"
but should be fine with "Global Manifests".
However, we have not tested this because I would be a tremendous hit on our install group.
USB - device cannot be stopped
- Disable the Recycle Bin for your Iomega Drive
- Right click the Recycle Bin and select Properties.
- Click the option for Configure drive independently.
- Click the Iomega drive tab.
- Click the option for Do not move files to the Recycle Bin. Remove files immediatly when deleted.
- Try turning off System Restore
- Click Start, right click My Computer, then click Properties.
- Click the System Restore tab.
- Click to select the check box for Turn off System Restore (or the check box for Turn off System Restore on all drives).
- Click Apply.
Iomega
USB support under W95
- under Control Panel, select System and General tab.
You shall have version 4.00.950 B or superior.
- to determine whether you are running OSR2.1 :
- under Control Panel, select Add/Remove Programs and
check for USB Supplement to OSR2.
- Then, check for version 4.03.1212 of the Ntkern.vxd
in the Windows\System\Vmm32 folder.
This is done using Windows Explorer and selecting Properties
of the file, and then clicking Version tab.
- but Sony says no-no to dscp9
SAG + TP770 : version 4.03.1212
Copy / Move a File
When you drag a file which operation has precedence, copy or move?
ANSWER:
- + If Ctrl+Shift are held down, then the operation creates a shortcut.
- + If Shift is held down, then the operation is a move.
- + If Ctrl is held down, then the operation is a copy.
- + If no modifiers are held down and the source and destination are
on the same drive, then the operation is a move.
- + If no modifiers are held down and the source and destination are
on different drives, then the operation is a copy.
(Thank you to Raymond Chen)
Doing the drag with the right mouse button displays a menu
when you release the button
so you don't have to remember all these bullets.
Aplicacions "rodones"
- Zone Labs - tallafocs.
url
- CD Burner XP - grabacio CDs.
url
Pendent / dubtes
- quin us té el
Computer Security Identifier (SID) ?
url
- que fa en un portatil la funcio "Import Foreign Disk" ?
- al instalar un programa sota W2K, al final, pot crear : (Rexx ?)
- add a desktop shorcut
- add an icon to Quick Launch Toolbar
- add an icon to the Start Menu
- add a search link in Start Menu "Find"
- diferencies entre
- eina per netejar
- View and delete Temporary Internet Files including the corresponding index.dat file.
- View and delete Internet Cookies including the corresponding index.dat file.
- View and delete Internet History including the corresponding index.dat file.
- Clean auto complete web forms.
- Remove typed URLs.
- View and remove Internet Explorer plugins.
- Delete the contents of Windows Temp folder
- Empty Recycle Bin
- Clean Windows Recent Documents folder.
- Remove Windows Search history.
- Remove Windows Run history.
In Windows NT, 2000 and XP, the folders are located in these locations:
- C:\Documents and Settings\[Username]\Cookies\
- C:\Documents and Settings\[Username]\Local Settings\History\
- C:\Documents and Settings\[Username]\Local Settings\Temporary Internet Files\Content.IE5\
See INDEX.DAT
contents ...
using
Index Dat Viewer.
Use
Internet Sweeper ?
Window
washer ?
- how to Print a file from DOS under Windows 98 ?
- Exec ('c:\windows\notepad.exe', '/p '+Filename);
- copy <file_to_print> LPT1:
- SC.EXE dins del "Resource Kit" ... Qué és ?
NT Service Controller and services
Registry Clean Pro -
A utility to fix errors and optimize the performance of the Windows registry.
HP recommends it also ! [see P90]
System crash
- CP + System Properties + Advanced + Startup and Recovery :
c:\WINNT\Minidump\MiniMMDDQQ-nn.dmp
- c:\winnt\system32\drwtsn32.exe
- c:\WINNT\System32\drwtsn32.log
- c:\WINNT\System32\user.log
Tips & Tricks
-
Use
c:\sdwork\binwin\reboot.exe
to re-boot your machine !
Thanks,
Cerys !
- NT, 2000, XP, Server 2003 -
URL :
-
How do I run a series of 'jobs' in Windows 2000, the next time a user logs on?
URL
-
Microsoft has released a tool to verify the installation of Windows 2000 hotfixes.
URL
- Creating program aliases :
To create a new alias, create a sub-key,
and call it the name of the alias you wish to create (e.g. "JBLOGGS.EXE").
Modify the (default) value of the sub-key
to equal the fully qualified path and filename
of the application you want to be launched
when you execute the alias (e.g. "c:\windows\notepad.exe")
- Word :
here.
Blank Admin Pwd
- Step ONE: Select disk where the Windows installation is : [1] = first disk.
- Step TWO: Select PATH and registry files : [1] = edit pwds.
- Step THREE: Password or registry edit : [1] = edit + "*" = blank.
- Step FOUR: Writing back changes : [y] = write.
url
Hidden Registry Keys ?
A subtle but significant difference
between the Win32 API and the Native API
(see Inside the Native API for more information on this largely undocumented interface)
is the way that names are described.
In the Win32 API strings are interpreted as
NULL-terminated ANSI (8-bit) or wide character (16-bit) strings.
In the Native API names are counted Unicode (16-bit) strings.
While this distinction is usually not important,
it leaves open an interesting situation:
there is a class of names that can be referenced using the Native API,
but that cannot be described using the Win32 API.
How is this possible?
The answer is that a name which is a counted Unicode string can
explicitly include NULL characters (0) as part of the name.
For example, "Key\0".
To include the NULL at the end the length of the Unicode string
is specified as 4.
There is absolutely no way to specify this name using the Win32 API
since if "Key\0" is passed as a name,
the API will determine that the name is "Key" (3 characters in length)
because the "\0" indicates the end of the name.
When a key
(or any other object with a name such as a named Event, Semaphore or Mutex)
is created with such a name
any applications using the Win32 API
will be unable to open the name,
even though they might seem to see it.
URL
Memory leak
url
Examine Memory Usage:
Once again in both Task Manager and Process Explorer
you can click on the "Mem Usage"
(or "Working Set" in
Process Explorer + select "nom.exe" + botó dret + properties +
Performance tab + "Physical memory : working set)
column header and see who's using the most of your computer's RAM.
This will vary widely depending on what software you are running,
and what it's been doing.
In Process Explorer you can also click on the
"Virtual Size" column header
to see who's using the most total virtual memory
(both in RAM, and swapped out to disk).
url
The same value is available in Performance Monitor as
Process: Private Bytes.
mtrace, memwatch, dmalloc
dmalloc, ccmalloc, NJAMD, YAMD, Valgrind, mpatrol, Insure++
Java
Handles are an extremely valuable resource,
so leaking handles is more virulent than leaking memory.
[MSDN at Process Class]
Word / Office tricks
Com afegir/adjuntar un document (un Script, per exemple) al document actual ?
(deixant una icona, val ?)
{word 2007} Escollir tab "Insertar"; a la seccio "Texto", clikar a "Insertar Objeto";
escollir "Objeto" del menu; escollir el tab "Crear desde un archivo";
busca el artxiu a posar i seleccionar "Mostrar como icono".
Change the default font in Word 2007 :
- Under the Home tab, click the Styles group button to open the Styles window. [estilos]
- Click the Manage Styles button, which is third from the left at the bottom of the Styles window. [icono administrar estilos]
- Select the Set Defaults tab. [establecer valores predeterminados]
- Scroll to and select Arial under Font. [verdana]
- Under Size, click 12.
- Seleccionar "Documentos nuevos basados en esta plantilla".
url
El Word i el Fritz no son gens amics ...
[T42] + Word + Language := 'catalan' ;
+ Tools + "Spelling & Grammar = F7"
Word cannot find the spelling file MSSP3CT.DLL or MSSP232.DLL for Catalan
Corrector catala.zip
HKLM/Software/Microsoft/Shared Tools/Proofing Tools/
Grammar + 3082 + Normal :
.../Proof/1034/MSGR_ES.LEX & MSGRES32.DLL
Spelling + 1027 + Normal :
.../Proof/MSSP2_CT.LEX & MSSP232.DLL
Plantilla NORMAL - como saber que plantilla estoy usando ahora mismo con el documento actual ?
Archivo > Propiedades > Resumen :
"Plantilla : Normal.dot"
El IDIOMA actual sale abajo a la derecha, en la barra de estado.
Idioma predeterminado :
Herramientas > Idioma > Definir
> "Catalán"
> "Predeterminar" !
2007 :
Inicio -> Todos los programas -> Office -> Herramientas de Office -> Configuración del idioma
Fuente predeterminado :
Formato > Fuente > Verdana > "Predeterminar" !
Diccionari català :
Herramientas > Opciones > Ortografia y Gramática
Agregar Diccionario Personalizado "*.DIC"
Herramientas > Personalizar > Opciones >
"Mostrar en los menús primero los comandos usados recientemente"
Update an index or a table of figures :
click to the left of the item (or anywhere on TOC) , then press F9.
Go to the index item :
Push CTRL when cursor is over TOC - cursor changes to "Hand".
Click to Jump !
Open Word, select TOOLS menu, then last entry "Options".
Select "Edit";
3-rd entry on the right-side column is :
Use CTRL + Clik to follow Hyperlink.
Pending
-
LSASS - com es que "matar" aquest thread
fa re-iniciar el Guindous en 1 minut ?
Links
- MSDN
On-Line (***)
Registry Functions (***)
Registry e.p.
RegFlushKey
to write Registry to disk.
How to use the Registry
(***)
- Windows memory
diagnostic
-
Annoyances : Good !
-
LongHorn -
the three highlighted technologies for Longhorn are :
- Avalon - A replacement for the Windows GDI and HTML
programming models.
GUI and GUI creation.
- Indigo - Communication Services through Web Services.
Remote procedure calls are out and Web Services are in.
Remote procedure calls require tight coupling between client
and server; Web Services require only loose coupling.
Communications.
- WinFS - A transaction enhanced NTFS file system and a SQL engine
on top. Properties of content (jpg size, jpg width and
height; document authors; document key words; XML data) can
all be indexed automatically.
Removed
WMIExplorer is a GUI built on top of PowerShell.
Introducing Longhorn for Developers
Longhorn supports two methods for creating applications :
1. Write code -- the traditional approach
2. Write Markup -- using Extensible Application Markup Language (XAML).
64-bit is the path to Longhorn, mark my words
[egb, 28042005]
Differences between Windows Server 2003 and Windows Server 2008 (a.k.a. Longhorn):
URL
- Process
library :
description of lsass.exe, service.exe, svchost.exe, etc
smss.exe : Session Manager
lsass : Local Security Authority Subsystem
Common Windows
files :
nupdate.exe
Default Processes
details - can end / cannot end.
- Windows to Linux
roadmap
- Windows command line
mailer : BLAT 1.88
- Total
Commander
- Windows
Hex editor [ Pro !!! ]
From
Pc World.
- Free and Good utilities :
-
Boot from CD : ERD Commander 2002
-
Register Backup : ERUNT
The Export registry function in Regedit is USELESS
for making a complete backup of the registry.
Neither does it export the whole registry
(for example, no information from the "SECURITY" hive is saved),
nor can the exported file be used later to replace the current registry
with the old one.
Instead, if you re-import the file,
it is merged with the current registry
without deleting anything that has been added since the export,
leaving you with an absolute mess of old and new entries.
URL
- search Microsoft
KB (Support Knowledge Base)
- FTC recomienda ...
DriveSnapShot [ better than GHOST !!! ]
- XP and W2K boot CD :
Bart's PE Builder
URL
-
NAV : NAVCPU & NAVWHEN
-
XP Experts
NewsGroup : U/K := bacardinet@hotmail.com/KpGrs
How to set AutoReboot Off without Control Panel ?
Start here: "Resources for Troubleshooting Startup Problems in Windows XP"
URL
-
uSoft W2K Server
HowTo's list
-
uSoft
System Eror Codes
-
Inside the
Native API [SysInternals]
-
Outlook
versions
-
WIN32 programming
FAQs
-
Register
Hack tips
-
How to surf and read e-mail safely as an
Administrator !?!?!? (uSoft)
-
Win
Links
-
Bink.nu - uSoft news, technology and downloads.
-
Open ?
-
Stop
WGA notifications
-
Top 15 most controversial Microsoft quotes
-
Mark Minasi's
W Tech letter. @/k
-
Windows products lifecycle
index (by product),
policy (& roadmap),
select a product.
Few samples :
W2000Pro = Mar 2005.
WXPPro = Jan 2009.
W2000Server : soporte técnico = 2005; soporte ampliado = 2010.
-
Intel Core 2 problems :
Intel problem list,
Geek,
-
Excel can't
multiply ?
Que diu
uSoft.
Una altra
opinió.
Va de "IEEE 754" ...
-
How to use Registry Editor to identify an
unknown PCI device
-
Auto
actualitzacions ? (WU)
-
New
Passport account
-
uS
protocols
-
Previous page
-
C
cleaner.
-
Back to main page
-
Site map
-
Escriu-me !