home / infca / usoft (navigation links) Windows Mantra - "if it don't work, reboot"

xorrades XP | Hide user | MAC change | File Lock | Office/Word tricks | Win 7 Links | End

uSOFT items


Vista Windows XP Registry MSRT Windows bits MAC change Windows 2000 Windows 2003
W 2008 server R2 PWS & IIS Mini Dump Kbd shortcuts Fixes Neteja Debug Misc
Auto-Run PWL W95 startup DLL hell USB support Copy vs Move Must APs
Pending Reg Clean Crash Tips

  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

Amunt! Top Amunt!
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 !


Amunt! Top Amunt!
Sync (remote) folders tool

Sync Toy.


Amunt! Top Amunt!
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  

  • remove "Bluetooth Sites" : "Start > Control Panel > Display > Desktop > Customise Desktop > Clean Desktop > Check "My Bluetooth Places" > Next > OK".
  • System Info : "Start" + "Run" + "MSINFO32"
    See "Software Environment" + "Startup Programs" (altogether with Event Log), or "Components" + "Problem Devices" - see "PNP Devide ID"
  • dxva_sig.txt file is generated after playing video.
  • NumLock initial state :
    HKEY_USERS\.DEFAULT\Control Panel\Keyboard\InitialKeyboardIndicators = 0 ; HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators = 0 ;
  • Unknown device (without driver) :
    • msinfo32 + Software Environment + Startup Programs : relate prog name to Event log error message.
    • msinfo32 + Components + Problem Devices : see PNP Device ID
    • \\%SystemRoot%\Setupapi.log file

    url

  • Ctrl + Alt + Del not working ? Try Ctrl + Shift + Escape !
  • how to use CTRL + ALT + DELETE while using Windows Remote Desktop / Terminal Services : Use CTRL + ALT + END !
  • 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".

    How to use & create.

    You can delete all "restore points" by checking on "Turn off Restoring" ...

  • 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.

    1. 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.
    2. Press ENTER when you see the message "To setup Windows XP now", and then press ENTER displayed on the "Welcome to Setup" screen.
    3. Do not choose the option to press R to use the Recovery Console.
    4. In the Windows XP Licensing Agreement, press F8 to agree to the license agreement.
    5. Make sure that your current installation of Windows XP is selected in the box, and then press R to repair Windows XP.
    6. Follow the instructions on the screen to complete Setup.

    url, url

  • TaskList and more Command Line commands

    C:\> tasklist /svc Image Name PID Services ========================= ====== ===================================== winlogon.exe 2036 N/A services.exe 332 Eventlog, PlugPlay lsass.exe 336 PolicyAgent, ProtectedStorage, SamSs ibmpmsvc.exe 532 IBMPMSVC svchost.exe 564 DcomLaunch, TermService

  • RAMDISK

    To install the bus driver on Windows XP and later operating systems:

    1. Double-click Add Hardware in Control Panel.
    2. At the Welcome to the Add Hardware Wizard, click Next.
    3. Click Yes, I have already connected the hardware, and then click Next.
    4. Click Add a new hardware device from the list, and then click Next.
    5. Click Install the hardware that I manually select from a list(Advanced), and then click Next.
    6. Click Show All Devices, and then click Next.
    7. Click Have Disk, make sure that A:\ is in the Copy manufacturer's files from: box, and click OK.
    8. Click the desired entry, and then click Next.
    9. At The wizard is ready to install your hardware, click Next.
    10. Click Finish.

    url

  • [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 ; re-register : regsvr32 msutb.dll

  • 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

    WGA = c:\windows\system32\KB905474\ ;

  • "esta copia de office no es original" -> remove :
    http://www.microsoft.com/genuine + validar + reemplazar c:\win\system32\OGACheckControl.dll {v 1.6.28.0} + validar (IE only).

    Receta – buscar el proceso "WGATray.exe" y lo matas. Ir a la carpeta "windons32", y eliminar estos 3 archivos:

    • OGAAddin.dll
    • OGACheckControl.dll
    • OGAVerify.exe (OGAEXEC.exe)

    1. Arranca el Windows Task Manager (Ctrl+Alt+Del).
    2. Mata el proceso wgatray.exe con el Task Manager.
    3. Reinicia Windows XP en Modo Seguro (Safe Mode).
    4. Borra el archivo WgaTray.exe de c:\Windows\System32.
    5. Borra el archivo WgaTray.exe de c:\Windows\System32\dllcache.
    6. Ve a Inicio->Ejecutar "RegEdit"
    7. Ir a la carpeta HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft Windows\ NT\CurrentVersion\Winlogon\Notify
    8. Borra la carpeta "WgaLogon" y todos sus contenidos
    9. Reinicia Windows XP.

  • 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 - Distributed Transaction Coordinator - quin nom te el seu log ?
    msdtc -resetlog msdtc -uninstall msdtc -install

    url

  • 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"
      sc /? {plus answer "YES" to see details !} sc query : display running services sc query type= service state= inactive : display stopped services sc query type= service state= all : display all services

    • regsvr32 - register a DLL

    • dumpel.exe : dump event log in text mode

    • *.MSC :
      • diskmgmt.msc - manage all your disks.
      • gpedit.msc -
      • perfmon.msc -
      • compmgmt.msc -
      • devmgmt.msc -
      • eventvwr.msc -

    • diskpart.exe - view, add, remove, resize, move ... partitions

    • dfrg.msc - defragment a hard disk.

    • WMIC = Windows Management Instrumentation Command-line ; url.
      wmic product > c:\prod.txt = productes instalats !

  • C:\> net start These Windows services are started: IBM MQSeries VNC Server Version 4

  • 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 Pro_SP3 = V2C47-MK7JD-3R89F-D2KXW-VPK3J ;
    instead of FCKGW-RHQ 2-YXRKT-8TG6W-2B7Q8

    How to display it or display it. How to change it

    2003 [k]

  • How to set a password hint as a precaution
    1. Log on to your computer.
    2. Click Start, and then click Control Panel.
    3. Double-click User Accounts.
    4. Click your user account, and then click Change my password.
    5. Enter your current password, enter a new password, and then enter the new password again to confirm it.
    6. Enter the password hint, and then click Change Password.
    7. 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. .Net 4.0 installer : url
    Disk Space Requirements: 2.0 = 23 MB, 3.0 = 280 MB (x86), 4.0 = 869 KB !

    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 :
    1. edit \windows\inf\SYSOC.INF
    2. 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 if the user must be hidden. 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 ?

  • chkdsk no se puede abrir el volumen para acceso directo - com mirar qui te agafat el disc ?

  • 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
    1. Click Start | My Computer | Tools | Folder Options | View.
    2. Scroll to the bottom of the list of advanced settings and un-check Use Simple File Sharing (Recommended).
    3. 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 :

    1. Ejecutamos en una consola DOS el comando dir /s /ash /b /n Thumbs.db > borrar.bat
    2. 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"
    3. Sólo queda ejecutar el fichero borrar.bat

  • Recent Documents

    • To display the My Recent Documents folder on the Start menu:
      1. 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.
      2. Click Customize.
      3. Click the Advanced tab.
      4. 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 :
      1. 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.
      2. Click Customize.
      3. 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. Interesting : start "Last Good Known Configuration". Also : "System Restore" (All Programs, Accessoires, System Tools, System Restore).
    • 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]
    • install Debugging Tools from Windows SDK (for Windows 7 and .NET Framework 4) url. See Analyzing the Windows Crash Dump File

  • other problems : use DrWatson32 ! W2K : see drwtsn32.log and user.dmp, usualy at C:\Documents and Settings\All Users\Documents\DrWatson

  • MSCONFIG - similar to AUTORUNS
    • 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

Amunt! Top Amunt!
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
conf abrir Net Meeting
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
control javacpl.cpl Control Panel + Java - (buscar *.cpl en %WINDOWS%\system32)
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, políticas de seguridad
services.msc servicios
sysdm.cpl System Properties, as Computer Name, Device Manager, System Restore, Remote Desktop.
winchat Microsoft Chat
wmimgmt.msc WMI
wscui.cpl Security Center
Can't modify Automatic Updates (greyed)

Dial a Fix.

url:
Click Start, Run and type gpedit.msc. Navigate to the following location: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update. In the right-pane, double-click Configure Automatic Updates and set it to Not Configured

Servei que cal : "Windows update Service".

Bon resum.


  Registry  

How the Registry is stored

  • in Windows 95, 98, and Me, the Registry is contained in two hidden files in your Windows directory, called USER.DAT and SYSTEM.DAT

  • in Windows 2000 and Windows XP, the Registry is stored in several Hives, located in the \windows\system32\config and \Documents and Settings\{username} folders.
      C:\WINNT\system32\config\*.
     21/07/2005  08:00              221.184 default
     21/07/2005  10:41               32.768 SAM
     18/07/2005  07:49               36.864 SECURITY
     21/07/2005  10:43           25.923.584 software
     21/07/2005  10:40            4.395.008 system
     

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 ; mstsc.exe -v 9.137.164.25 /console = remote console icon.
    • 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:

    1. "runas /u:administrator cmd"
    2. 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

  • Hot to use keyboard as mouse :

    url :

    The ALT+SHIFT+NUMLOCK key combination enables or disables the Mouse Keys option for the current Windows session. It does not actually update the MSINPUT.INI file for subsequent Windows sessions.

  • 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:

    %windir%\System32\rundll32.exe user32.dll, LockWorkStation

    Finally, get a nice icon from SHELL32.DLL ...

  • 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 :
    1. Use any text editor (such as Notepad) to open the Update.inf file in the I386\Update folder in the service pack source files.
    2. 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.
    3. Save and then close the Update.inf file.
    4. Install the service pack.

    Ignacio la ha millorat :

    1. 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).
    2. 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.
    3. Aceptar el diálogo, lo cual intentará lanzar la instalación, pero mostrará error, borrando los ficheros del subdirectorio inicial.
    4. 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
    5. 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

  • When using the new IE 7.0, you must first enable JavaScript; it is disabled by default. Follow these steps:
    1. Open your browser (I.E. 7.0)
    2. Click on Tools button (it is located in the upper right part of the screen)
    3. Select Internet Options.
    4. Click on Security tab.
    5. Click on Custom Level.
    6. Scroll down until you see section labeled Active Scripting.
    7. Select Enable.
    8. Click OK to save changes.
    9. Confirm Yes and click OK.
    10. Close and restart the browser.

  • 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.
    1. From a command line or from the Run line, run regedit
    2. Select the folder HKEY_CURRENT_USER and follow the folder path \Software\Microsoft\Internet Explorer\Main
    3. Add a new String Value named Window Title. In the Value field type in the text you want to appear and then hit OK.
    4. Close Internet Explorer if it's open, and restart it. The title bar will now have your new text.
    5. 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
  1. Open registry on the HKEY_LOCAL_MACHINE
  2. Find the subKey = SYSTEM\CurrentControlSet\Services\TcpIp\Parameters
  3. Set data for the value "HostName"
  4. Find the subKey = SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
  5. Set data for the value "ComputerName"
  6. 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 :

  1. use ipconfig /all to record your MAC address.

  2. 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}
    2010-Jun, T400 : {2B0419C2-063B-4892-BCF6-8D6AB2773565}

  3. 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.

  4. go through each subkey, starting at 0000.

  5. 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.

  6. once found, if NetworkAddress keyword does not exist, create it, with Data Type := REG_SZ and Value := '000011112222' ; otherwise, change its value. It is a 12 digit number (all in one, no “space” “.” or “-”). Hint : set first byte to "00" !

  7. disable/enable the selected Netword Adapter, or reboot the machine.

Origin : NetHelp, stolen from SMAC website (15 USD)

T42:\Rexx\Registry\MfyReg\


How to configure IP from command line

In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses and many other options you can use Netsh.exe, available on Windows 2000, Windows XP and Windows Server 2003.

netsh interface ip show config netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1 Export : netsh -c interface dump > c:'location1.txt Import : netsh -f c:'location1.txt or netsh exec c:'location2.txt Get an IP from DHCP : netsh interface ip set address "Local Area Connection" dhcp Set DNS : netsh interface ip set dns "Local Area Connection" static 192.168.0.200 index=1 netsh interface ip set dns "Local Area Connection" static 192.168.0.201 index=2 Set WINS : netsh interface ip set wins "Local Area Connection" static 192.168.0.200 Dynamic : netsh interface ip set dns "Local Area Connection" dhcp Display the (large) list of Winsock LSPs that are installed on the computer {***}: netsh winsock show catalog

url

Clear ARP cache :

c:\> netsh interface ip delete arpcache Ok.

In Windows Server 2008 Core installation, the only way to setup IP Address eithe Static or DHCP is from the command line. See here

netsh syntax
c:\> netsh /? Usage: netsh [-a AliasFile] [-c Context] [-r RemoteMachine] [Command | -f ScriptFile] The following commands are available: Commands in this context: ? - Displays a list of commands. add - Adds a configuration entry to a list of entries. bridge - Changes to the `netsh bridge' context. delete - Deletes a configuration entry from a list of entries. diag - Changes to the `netsh diag' context. dump - Displays a configuration script. exec - Runs a script file. firewall - Changes to the `netsh firewall' context. help - Displays a list of commands. interface - Changes to the `netsh interface' context. lan - Changes to the `netsh lan' context. ras - Changes to the `netsh ras' context. routing - Changes to the `netsh routing' context. set - Updates configuration settings. show - Displays information. winsock - Changes to the `netsh winsock' context. The following sub-contexts are available: bridge diag firewall interface lan ras routing winsock To view help for a command, type the command, followed by a space, and then type ?.

Amunt! Top Amunt!
Enable/disable network adapter from command line

Use the devcon tool:

display network devices

c:\eines> devcon.exe listclass Net Listing 10 device(s) for setup class "Net" (Network adapters). PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0 : Intel(R) PRO/1000 MT Mobile Connection ROOT\MS_IRDAMINIPORT\0000 : Infrared Port ROOT\MS_L2TPMINIPORT\0000 : WAN Miniport (L2TP) ROOT\MS_NDISWANIP\0000 : WAN Miniport (IP) ROOT\MS_PPPOEMINIPORT\0000 : WAN Miniport (PPPOE) ROOT\MS_PPTPMINIPORT\0000 : WAN Miniport (PPTP) ROOT\MS_PSCHEDMP\0000 : WAN Miniport (IP) - Packet Scheduler Miniport ROOT\MS_PTIMINIPORT\0000 : Direct Parallel ROOT\VMWARE\0000 : VMware Virtual Ethernet Adapter for VMnet1 ROOT\VMWARE\0001 : VMware Virtual Ethernet Adapter for VMnet8
or
devcon hwids =net

display device status (mind "@" and dbl quotes)

c:\eines> devcon status "@PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0" PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0 Name: Intel(R) PRO/1000 MT Mobile Connection Driver is running. 1 matching device(s) found.

disable/enable net card

c:\eines> devcon disable "@PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0 PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0: Disabled 1 device(s) disabled. c:\eines> devcon status "@PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0" PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0 Name: Intel(R) PRO/1000 MT Mobile Connection Device is disabled. 1 matching device(s) found. c:\eines> devcon enable "@PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0" PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0: Enabled 1 device(s) enabled. c:\eines> devcon status "@PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0" PCI\VEN_8086&DEV_101E&SUBSYS_05491014&REV_03\4&39A85202&0&08F0 Name: Intel(R) PRO/1000 MT Mobile Connection Driver is running. 1 matching device(s) found.

scan for new HW

c:\eines> devcon rescan

reboot

c:\eines> devcon reboot

url


  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:

    1. Start Internet Explorer.
    2. On the Tools menu, click Internet Options.
    3. Click the Advanced tab.
    4. Click to clear or select the Enable Personalized Favorites Menu check box.
    5. 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).


Activacio 2003
  1. find key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents
  2. see the string OOBETimer
  3. double click.change all content with this one FF D5 71 D6 8B 6A 8D 6F D5 33 93 FD
  4. right Click on WPAEvents(Regedit)and choose Permissions
  5. window will show up; click to System and check all of Deny Listbox

Thanks !

Problemes

If you are prompted to activate Windows XP or Windows Server 2003 every time that you start the computer : URL {llarg i complicat}


W 2008 Server R2

Windows 2008 R2 is a 64bit only release. Windows Server 2008 R2 is based on Windows 7, just as Windows Server 2008 is based on Windows Vista.

Networking documentation : url

Configuring Windows Server 2008 Server Core Basic Networking Settings

url

C:\Users> netsh interface ipv4 show interfaces C:\> netsh interface ipv4 set address name="LAN" source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1 C:\> netsh interface ipv4 add dnsserver name="LAN" address=192.168.0.1 index=1 C:\> netsh interface ipv4 add dnsserver name="LAN" address=192.168.0.2 index=2 C:\> netsh interface ipv4 set address name="LAN" source=dhcp

url

Enable Ping Replies from your Windows 2008 Server Core Server

Method #1: Enable ICMP Replies via the local Command Prompt - on your Server Core machine, at a command prompt, type:

netsh firewall set icmpsetting 8

Rebem :

PS C:\Users\Administrator> netsh firewall set icmpsetting 8 IMPORTANT: Command executed successfully. However, "netsh firewall" is deprecated; use "netsh advfirewall firewall" instead. For more information on using "netsh advfirewall firewall" commands instead of "netsh firewall", see KB article 947709 at url. Ok.

This will allow you to ping the Server Core server from a remote machine, and receive a reply. You can always run the following command in order to disable this option:

netsh firewall set icmpsetting 8 disable

url

Windows Firewall with Advanced Security and IPsec

url

2008 Network Category

What does "Network Category = Domain Network" mean ? What does "Network Category = Public Network" mean ?

By default, Windows Server 2008 and Windows Server 2008 R2 use Network Location Awareness service (nlasvc) to identify networks and find the associated saved settings for the network, the NLA service will use a Default Gateway or SSID to identify a network. This identification is conducted by system automatically due to security consideration. We cannot change the network profile manually.

Network Location Awareness

Domain. The domain network location type is detected when the local computer is a member of an Active Directory domain, and the local computer can authenticate to a domain controller for that domain through one of its network connections. An administrator cannot manually assign this network location type. Because of the higher level of security and isolation from the Internet, domain profile firewall rules typically permit more network activity than either the private or public profile rule sets.

url

ESX ethernet

If you haven't done so, you'll want to change the NIC to emulate an Intel PRO/1000 card. Shut down the VM and then edit the VMX to change the line for the NIC to ethernet0.virtualdev = "e1000".

Editing locations

I've modified group policy to allow the editing of locations:
(Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Network List Manager Policies, All networks, network location -> User can change location)


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 :


  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
  1. Hold down Alt + Spacebar
  2. Press the M key
  3. Use the arrow keys to relocate the window
  4. 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  

W2003 Server SP2 (all), [en].
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]

SP3 get it .

  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 2011 ! [24/8/2011 had 854 entries]
Jul 2007 : H:\Guindous_Fix_Packs has [all 2007, 2006 down to MS06-050].

Parches de uSoft per mesos :

  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
2009 01 02..05 06..08 09..16 17 18..27 28..35 41..44 45..49 50..62 63..68 69..74 74/455
2010 01..02 03..15 16..18 19..29 30..31 32..41 42..45 46..60 61..70 71..86 87..89 90..106 106/561
2011 01..02 03..14 15..17 18..34 35..36 37..52 53..56 57..69 70..74 75..82 83..86 87..99 99/660

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.

Translating between MSyy-xxxx namespace KBnnnnnn namespace.

KB to MS0x-yyy
  1. visit http://www.microsoft.com/technet/security/current.aspx
  2. select the "Search by KB article number" tab
  3. search on the KB number of choice
  4. the links should redirect you to a url in the form http://www.microsoft.com/technet/security/Bulletin/MS0w-xyz.mspx
MS0x-yyy to KB

Build a url with the following form: http://www.microsoft.com/technet/security/Bulletin/MS0w-xyz.mspx


  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
    1. Click Options under the Tools menu.
    2. Click the Privacy tab.
    3. Click the Clear History button to clear Windows Media Player's recently played files list.
    4. 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.
    5. 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


c:\> debug -d 0:408 420 0000:0400 BC 03 78 03 78 02 00 9F 0000:0410 22 C8 00 80 02 28 20 00-00 00 36 00 36 00 64 20 0000:0420 20

url

  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
  1. download and install the "Debugging Tools for Windows"
    http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx
  2. let's say you've installed the debugger in d:\windbg
  3. 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


Amunt! Top Amunt!
Temas misceláneos

  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:

  1. The read-only memory (ROM) Basic Input-Output (BIOS) bootstrap process
  2. The master boot record (MBR) and boot sector
  3. The IO.SYS file (must be the first entry in the root directory)
    MS.DOS must be on entry number two !
  4. Real-mode configuration
  5. 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: 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 :

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
  1. Disable the Recycle Bin for your Iomega Drive
    1. Right click the Recycle Bin and select Properties.
    2. Click the option for Configure drive independently.
    3. Click the Iomega drive tab.
    4. Click the option for Do not move files to the Recycle Bin. Remove files immediatly when deleted.
  2. Try turning off System Restore
    1. Click Start, right click My Computer, then click Properties.
    2. Click the System Restore tab.
    3. Click to select the check box for Turn off System Restore (or the check box for Turn off System Restore on all drives).
    4. Click Apply.

Iomega


  USB support under W95  

Most USB won't work under W95. See specs.
SAG + TP770 : version 4.03.1212

Copy / Move a File

When you drag a file which operation has precedence, copy or move?

ANSWER:

(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"


Pending /dubtes

 

Registry Clean Pro - A utility to fix errors and optimize the performance of the Windows registry.

HP recommends it also ! [see P90]

C Cleaner.


System crash


Tips & Tricks


Blank Admin Pwd

url


Edit XP pwd

Offline pwd editor. OphCrack.


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]  


Event log

Word / Office tricks
Com es fa per posar 2 columnes de dades en una grafica, unes dades en el eix horitzontal, i les altres a l'eix vertical ?
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".

Ara ens falta saber com es fa per mostrar o trobar o llistar els documents que hi ha insertats al document actual.

Change the default font in Word 2007 : 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.
URLs :
Indexing with Microsoft Word
FAQs
Tips and Tutorials.
TaskManager - execute every 10 min

Amunt! Top Amunt!
Win 7

Reqs :

Windows 7 Product Guide, 62 MB : url.

To create a restore point in Windows 7:

url.

How to edit HOSTS file

Click Start button, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.

Daemon tools (per en Guille (;-)

Daemon Tools Lite 4.45.1.0236 : url.

Show filename extensions

/3GB flag in boot.ini

Ordinarily, on Windows, 2GB of virtual address space is allocated to programs and a further 2GB to the kernel. It is possible to alter this by adding the "/3gb" switch to the Windows "boot.ini" file. This forces x86-based systems to allocate 3GB of virtual address space to programs and 1 GB to the kernel and executive components. Use of this switch is limited in various ways.

Firstly, support for this switch is limited to certain versions of the Windows operating system; Microsoft's website states these versions to be:

Use of this switch on unsupported versions of Windows can cause undesirable results. Microsoft state that "the /3GB switch should not be used on Windows 2000 Server because it is unsupported and can cause application or operating system crashes." In our own internal testing, we have encountered system crashes with this flag set on Windows 2000 Server.

Also, the application binary requires a special link bit to be set to take advantage of this Windows setting. This can be set at link time or by using a Microsoft-provided utility.

url

The /3GB switch should not be used on Windows 2000 Server or Window XP Pro because it is unsupported and can cause application or operating system crashes. The /3GB switch is supported only on the following operating systems: Windows 2000 Advanced Server, Windows 2000 Datacenter Server, Windows Server 2003 Standard Edition, Windows Server 2003 Enterprise Edition, Windows Server 2003 Datacenter Edition.

url

The /3GB switch is supported on the following systems:

url


Links


Ep ! Site under construction. Escriu-me !
Updated 8/2/2012 (a).  
Uf !