jump to navigation

How to recover from a corrupted registry that prevents Windows XP from starting January 18, 2009

Posted by Cowboy in Uncategorized.
Tags: , ,
add a comment

http://support.microsoft.com/kb/307545

Brief version from above link

copy c:windowssystem32configsystem c:windowstmpsystem.bak

copy c:windowssystem32configsoftware c:windowstmpsoftware.bak

copy c:windowssystem32configsam c:windowstmpsam.bak

copy c:windowssystem32configsecurity c:windowstmpsecurity.bak

copy c:windowssystem32configdefault c:windowstmpdefault.bak

delete c:windowssystem32configsystem

delete c:windowssystem32configsoftware

delete c:windowssystem32configsam

delete c:windowssystem32configsecurity

delete c:windowssystem32configdefault

copy c:windowsrepairsystem c:windowssystem32configsystem

copy c:windowsrepairsoftware c:windowssystem32configsoftware

copy c:windowsrepairsam c:windowssystem32configsam

copy c:windowsrepairsecurity c:windowssystem32configsecurity

copy c:windowsrepairdefault c:windowssystem32configdefault

  1. The following path is an example of a folder path to the Snapshot folder:
    C:System Volume Information_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}RP1Snapshot
  2. From the Snapshot folder, copy the following files to the C:WindowsTmp folder:
    • _REGISTRY_USER_.DEFAULT
    • _REGISTRY_MACHINE_SECURITY
    • _REGISTRY_MACHINE_SOFTWARE
    • _REGISTRY_MACHINE_SYSTEM
    • _REGISTRY_MACHINE_SAM
  3. Rename the files in the C:WindowsTmp folder as follows:
    • Rename _REGISTRY_USER_.DEFAULT to DEFAULT
    • Rename _REGISTRY_MACHINE_SECURITY to SECURITY
    • Rename _REGISTRY_MACHINE_SOFTWARE to SOFTWARE
    • Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM
    • Rename _REGISTRY_MACHINE_SAM to SAMdel c:windowssystem32configsam

    • del c:windowssystem32configsecuritydel c:windowssystem32configsoftware

      del c:windowssystem32configdefault

      del c:windowssystem32configsystem

      copy c:windowstmpsoftware c:windowssystem32configsoftware

      copy c:windowstmpsystem c:windowssystem32configsystem

      copy c:windowstmpsam c:windowssystem32configsam

      copy c:windowstmpsecurity c:windowssystem32configsecurity

      copy c:windowstmpdefault c:windowssystem32configdefault

Disable IPv6 in Vista / Windows 7 January 14, 2009

Posted by Cowboy in Uncategorized.
Tags: , , ,
add a comment

Add the following registry value (DWORD type) set to 0xFFFFFFFF:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents

This method disables IPv6 on all your LAN interfaces, connections, and tunnel interfaces but does not disable the IPv6 loopback interface. You must restart the computer for this registry value to take effect.

Restore the Show Desktop icon (XP) January 7, 2009

Posted by Cowboy in Uncategorized.
Tags: ,
add a comment

The Show Desktop icon is very handy when you have a lot of windows open, but it’s also easy to delete.  The keyboard shortcut is Windows-M, but if you want the icon back:

  1. Click Start, click Run, type notepad in the Open box, and then click OK.
  2. Carefully copy and then paste the following text into the Notepad window:
    [Shell]
    Command=2
    IconFile=explorer.exe,3
    [Taskbar]
    Command=ToggleDesktop
  3. On the File menu, click Save As, and then save the file to your desktop as “Show desktop.scf”. The Show desktop icon is created on your desktop.
  4. Click and then drag the Show desktop icon to your Quick Launch toolbar.

No keyboard — what to do? January 7, 2009

Posted by Cowboy in Uncategorized.
Tags: , , , ,
add a comment

You boot Vista or XP, but the keyboard doesn’t work. Using the mouse and explorer, follow the path, c:\Windows\System32 and double-click on osk.exe.

An on-screen keyboard will be presented.

Determine if all share sessons reached January 6, 2009

Posted by Cowboy in Uncategorized.
Tags: ,
add a comment

Information About Active Sessions on the Computer That Is Running the Server Service

To receive information about active sessions on the computer that is running the server service, type the following command:

net session

Count the number of open sessions to see if the session limit of 10, or 5 in the case of Windows XP Home Edition, is already reached. Typically there is only one session per remote client.

If there is more than one session from a remote client, view the User name context on the remote client that has set up more than one session:

View all the services that are running, and find out if one is running under the user context of the username shown in the session table.
Look for scheduled tasks that are running in a logon script and are using a different user account then the one logging in.
Look for rows where the User name column is empty and examine the idle time.

A session that has an empty user context is a null session.

Temporary null sessions are usually caused by IPC$ connections as the first step in establishing a connection. They stay active for 30 seconds to 90 seconds.

Note To disconnect client computer sessions, use the following command:

net session /delete \\computername

This command disconnects all sessions from that computer and closes all open files. This command may cause data loss if open files that have not been saved are closed.

How to find the IP address of your router (windows or mac) January 5, 2009

Posted by Cowboy in Uncategorized.
Tags: , , , , , ,
1 comment so far

Windows XP or Vista:
Click Start->run
Type ‘cmd’ and press enter
Type ‘ipconfig’ and press enter
Look for the default gateway — that the ip address of the router

Mac OS X:
From the Apple menu, select System Preferences… .
In System Preferences, from the View menu, select Network.
Next to “Show:”, select the appropriate port. For example, choose Built-in Ethernet for broadband connections, AirPort for wireless, or Internal Modem for dial-up.
Click the TCP/IP tab. The number next to “Router:” is your default gateway.

Mac OS 9:
From the Apple menu, select Control Panels, and then TCP/IP.
In the TCP/IP window, the number next to “Router address:” is your default gateway.