Herbalist Dr MziziMkavu
JF-Expert Member
- Feb 3, 2009
- 42,323
- 33,128
How to Open Ports or Allow Programs to Run with SP2's Firewall?
1. Click on Start / Run 2. Enter in firewall.cpl 3. Click on the Exceptions tab
Adding a Port for Internet Access:
- Click on the Add Port button
- Name it whatever you want
- Enter in the ports you want to open
Adding a Port for Internet Access:
- Click on Add Program... button
- A list of all installed programs will be displayed
- Highlight the one you want to include for Internet access
- Click on the OK button
Autoexec.nt or Config.nt Errors
If you are getting errors similar to - The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.
Try copying the file from \windows\repair directory to the one that is in the \windows\system32 directory.
How to enable Guest Only Network Access?
If you try and connect to an XP computer and are shown a logins screen with only the computer name/guest, You may need to change one of the Local Security Policies:
Got to Control Panel - Administrative Tools
Go to Local Policies - Security Options
Check the Network access: Sharing and security model for local accounts
Set it to Classic - local users authenticate as themselves
How to Hide a XP Computer from Network Neighborhood?
If you want to share files from a XP computer, yet want to remove it from showing up in the Network Neighborhood, Run net config server /hidden: yes
How to Share Multiple Folders?
If you need to share multiple folders, running the program SHRPUBW.EXE will bring up a simple dialog box to let you:
Browse to the folder you want to share Enter in a Share name Enter in a Share description Set permissions (Several choices are available) Restart the process from within the same program Go to top
How to Restore the Desktop Icon to the Quick launch Bar?
If you mistakenly deleted the icon for the Desktop on the Quick launch toolbar
Go to C:\Documents and Settings\user_name\Application Data\Microsoft\Internet Explorer\Quick Launch
(where user_name is replaced by your login name)
Create a Text file called Show Desktop.SCF with the following contents:
[Shell]
Command=2
Icon File=explorer.exe,3
[Taskbar]
Command=Toggle Desktop Go to top
How to enable Network Access after Norton Anti-Virus is installed?
Sometimes you can't access a WinXP computer after installing Norton Anti-Virus.
There might be a variety of errors at the other computer depending on the operating system. On the computer running Windows XP, in the Event Viewer / System log, there will be the following error:
The server's configuration parameter "irpstacksize" is too small for the server to use a local device. Start Regedit Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Edit the IRPStackSize Give it a value of 15 Reboot the computer
How to Clean the Prefetch Directory?
Windows XP has a new feature called Prefetch. This keeps a shortcut to recently used programs. However it can fill up with old and obsolete programs.
To clean the directory:
Start / Run / Prefetch Press Ctrl-A to highlight all the shortcuts Delete them Go to top
Not Displaying Logon, Logoff, Startup and Shutdown Status Messages
To turn these off:
Start Regedit Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system If it is not already there, create a DWORD value named DisableStatusMessages Give it a value of 1
How to Bring Up the Shutdown Dialog Box?
Create a new txt file somewhere on your system, open it and put in this one line:
(new ActiveXObject("Shell.Application")).ShutdownWindow s();
Save and Close the file. Change the extension to js and youve got it.
You can make a shortcut to that file to make it easy to shut down your system.
No Poweroff at Shutdown?
If your computer does not turn off the power when doing a shutdown, you may need to edit the registry. I have all the correct BIOS and Power settings and still needed to do this.
Start Regedit Go to HKEY_CURRENT_USER\Control Panel\Desktop Edit the key PowerOffActive and give it a value of 1 You can do the same in HKEY_USERS\.DEFAULT\Control Panel\Desktop
How to Disable Explorer Thumbnail View?
If you want disable the Explorer's ability to show the Thumbnail View ,
Start Regedit Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced \Change ClassicViewState to 1 Go to top
How to Disable Shared Documents?
To disable the Shared Documents folder that shows up on the network
Start Regedit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
Create a new DWORD Value
Give it the name NoSharedDocuments
Give it a value of 1
Log off or reboot
How to Remove Thumbs.db Files?
When viewing a folder with the Thumbnail view, WindowsXP creates a thumbs.db file.
This is a cache of the current pictures in that directory.
If you want to turn this feature off and save a little disk space
Start the Windows Explorer
Go to Tools / Folder Options / View
In the first section under Files and Folders, check Do not cache thumbnails
Now you can search for the thumbs.db file on your computer and remove them. No more should be created.
How to Enable / Disable the Task Manager?
Start Regedit Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System Create the Dword value DisableTaskMgr Give it a value of 0 to enable it Give it a value of 1 to disable it Go to top
How to clear the Page File on Shutdown
Another way to set the computer to clear the pagefile without directly editing the registry is:
Click on the Start button Go to the Control Panel Administrative Tools Local Security Policy Local Policies Click on Security Options Right hand menu - right click on "Shutdown: Clear Virtual Memory Pagefile" Select "Enable" Reboot
If you want to clear the page file on each shutdown:
Start Regedit Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SessionManager\MemoryManagement\ClearPageFileAtShutdown Set the value to 1
How to change Drive Letters?
If you want to change the letters assigned to your fixed or removable drives:
Right Click on My Computer Select Manage Select Disk Management For a Fixed Disk:
- Select it - Right click - Select Change Drive Letter and Path - Click on the Edit button - Enter in the letter you want to use For a Removable Disk:
- In the lower, right hand panel, right click on the Disk or CD ROM # - Select Change Drive Letter and Path - Click on the Edit button - Enter in the letter you want to use
How to decrease Boot Time?
Microsoft has made available a program to analyze and decrease the time it takes to boot to Windows XP. The program is called BootVis
Uncompress the file. Run BOOTVIS.EXE For a starting point, run Trace / Next Boot + Driver Delays (This will reboot your computer and provide a benchmark After the reboot, BootVis will take a minute or two to show graphs of your system startup. Note: how much time it takes for your system to load (click on the red vertical line)
Then run Trace / Optimize System Re-Run the Next Boot + Drive Delays Note: how much the time has decreased. (Mine went from approximately 39 to 30 seconds.)
How to Disable Hibernation?
If you don't want to use up the disk space taken by Hibernation, or don't need to use it at all, you can easily disable it.
Open up the Control Panel / Power Options icon Click on the Hibernation icon Uncheck Enable Hibernation
Windows XP Command Line Utilities
While there are a lot of command line utilities in Windows XP, here are some that I have been using lately.
bootcfg - Configures, queries, or changes Boot.ini file settings. driverquery - Displays a list of all installed device drivers and their properties. getmac - Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer gpresult - Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computer netsh - You can use commands in the Netsh Interface IP context to configure the TCP/IP protocol schtasks - Schedules commands and programs to run periodically or at a specific time systeminfo - Displays detailed configuration information about a computer and its operating system
Common Command Console Utilities
Windows XP comes with quite a few console utilities you can easily run from the command line:
Computer Management - compmgmt.msc Disk Managment - diskmgmt.msc Device Manager - devmgmt.msc Disk Defrag - dfrg.msc Event Viewer - eventvwr.msc Shared Folders - fsmgmt.msc Group Policies - gpedit.msc Local Users and Groups - lusrmgr.msc Performance Monitor - perfmon.msc Resultant Set of Policies - rsop.msc Local Security Settings - secpol.msc Services - services.msc Component Services - comexp.msc
How to Change Programs That Start Automatically?
Windows XP has a similar program, MSCONFIG, which was available in Windows98.
This allows you to view and change what programs are automatically started each time you log in. The new version also allows you to view and edit the boot.ini file (as well as check for errors and use several advanced switches)
1. Click on Start / Run 2. Enter in firewall.cpl 3. Click on the Exceptions tab
- Click on the Add Port button
- Name it whatever you want
- Enter in the ports you want to open
- Click on Add Program... button
- A list of all installed programs will be displayed
- Highlight the one you want to include for Internet access
- Click on the OK button
Autoexec.nt or Config.nt Errors
If you are getting errors similar to - The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.
Try copying the file from \windows\repair directory to the one that is in the \windows\system32 directory.
How to enable Guest Only Network Access?
If you try and connect to an XP computer and are shown a logins screen with only the computer name/guest, You may need to change one of the Local Security Policies:
Got to Control Panel - Administrative Tools
Go to Local Policies - Security Options
Check the Network access: Sharing and security model for local accounts
Set it to Classic - local users authenticate as themselves
How to Hide a XP Computer from Network Neighborhood?
If you want to share files from a XP computer, yet want to remove it from showing up in the Network Neighborhood, Run net config server /hidden: yes
How to Share Multiple Folders?
If you need to share multiple folders, running the program SHRPUBW.EXE will bring up a simple dialog box to let you:
Browse to the folder you want to share Enter in a Share name Enter in a Share description Set permissions (Several choices are available) Restart the process from within the same program Go to top
How to Restore the Desktop Icon to the Quick launch Bar?
If you mistakenly deleted the icon for the Desktop on the Quick launch toolbar
Go to C:\Documents and Settings\user_name\Application Data\Microsoft\Internet Explorer\Quick Launch
(where user_name is replaced by your login name)
Create a Text file called Show Desktop.SCF with the following contents:
[Shell]
Command=2
Icon File=explorer.exe,3
[Taskbar]
Command=Toggle Desktop Go to top
How to enable Network Access after Norton Anti-Virus is installed?
Sometimes you can't access a WinXP computer after installing Norton Anti-Virus.
There might be a variety of errors at the other computer depending on the operating system. On the computer running Windows XP, in the Event Viewer / System log, there will be the following error:
The server's configuration parameter "irpstacksize" is too small for the server to use a local device. Start Regedit Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Edit the IRPStackSize Give it a value of 15 Reboot the computer
How to Clean the Prefetch Directory?
Windows XP has a new feature called Prefetch. This keeps a shortcut to recently used programs. However it can fill up with old and obsolete programs.
To clean the directory:
Start / Run / Prefetch Press Ctrl-A to highlight all the shortcuts Delete them Go to top
Not Displaying Logon, Logoff, Startup and Shutdown Status Messages
To turn these off:
Start Regedit Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system If it is not already there, create a DWORD value named DisableStatusMessages Give it a value of 1
How to Bring Up the Shutdown Dialog Box?
Create a new txt file somewhere on your system, open it and put in this one line:
(new ActiveXObject("Shell.Application")).ShutdownWindow s();
Save and Close the file. Change the extension to js and youve got it.
You can make a shortcut to that file to make it easy to shut down your system.
No Poweroff at Shutdown?
If your computer does not turn off the power when doing a shutdown, you may need to edit the registry. I have all the correct BIOS and Power settings and still needed to do this.
Start Regedit Go to HKEY_CURRENT_USER\Control Panel\Desktop Edit the key PowerOffActive and give it a value of 1 You can do the same in HKEY_USERS\.DEFAULT\Control Panel\Desktop
How to Disable Explorer Thumbnail View?
If you want disable the Explorer's ability to show the Thumbnail View ,
Start Regedit Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced \Change ClassicViewState to 1 Go to top
How to Disable Shared Documents?
To disable the Shared Documents folder that shows up on the network
Start Regedit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
Create a new DWORD Value
Give it the name NoSharedDocuments
Give it a value of 1
Log off or reboot
How to Remove Thumbs.db Files?
When viewing a folder with the Thumbnail view, WindowsXP creates a thumbs.db file.
This is a cache of the current pictures in that directory.
If you want to turn this feature off and save a little disk space
Start the Windows Explorer
Go to Tools / Folder Options / View
In the first section under Files and Folders, check Do not cache thumbnails
Now you can search for the thumbs.db file on your computer and remove them. No more should be created.
How to Enable / Disable the Task Manager?
Start Regedit Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System Create the Dword value DisableTaskMgr Give it a value of 0 to enable it Give it a value of 1 to disable it Go to top
How to clear the Page File on Shutdown
Another way to set the computer to clear the pagefile without directly editing the registry is:
Click on the Start button Go to the Control Panel Administrative Tools Local Security Policy Local Policies Click on Security Options Right hand menu - right click on "Shutdown: Clear Virtual Memory Pagefile" Select "Enable" Reboot
If you want to clear the page file on each shutdown:
Start Regedit Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SessionManager\MemoryManagement\ClearPageFileAtShutdown Set the value to 1
How to change Drive Letters?
If you want to change the letters assigned to your fixed or removable drives:
Right Click on My Computer Select Manage Select Disk Management For a Fixed Disk:
- Select it - Right click - Select Change Drive Letter and Path - Click on the Edit button - Enter in the letter you want to use For a Removable Disk:
- In the lower, right hand panel, right click on the Disk or CD ROM # - Select Change Drive Letter and Path - Click on the Edit button - Enter in the letter you want to use
How to decrease Boot Time?
Microsoft has made available a program to analyze and decrease the time it takes to boot to Windows XP. The program is called BootVis
Uncompress the file. Run BOOTVIS.EXE For a starting point, run Trace / Next Boot + Driver Delays (This will reboot your computer and provide a benchmark After the reboot, BootVis will take a minute or two to show graphs of your system startup. Note: how much time it takes for your system to load (click on the red vertical line)
Then run Trace / Optimize System Re-Run the Next Boot + Drive Delays Note: how much the time has decreased. (Mine went from approximately 39 to 30 seconds.)
How to Disable Hibernation?
If you don't want to use up the disk space taken by Hibernation, or don't need to use it at all, you can easily disable it.
Open up the Control Panel / Power Options icon Click on the Hibernation icon Uncheck Enable Hibernation
Windows XP Command Line Utilities
While there are a lot of command line utilities in Windows XP, here are some that I have been using lately.
bootcfg - Configures, queries, or changes Boot.ini file settings. driverquery - Displays a list of all installed device drivers and their properties. getmac - Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer gpresult - Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computer netsh - You can use commands in the Netsh Interface IP context to configure the TCP/IP protocol schtasks - Schedules commands and programs to run periodically or at a specific time systeminfo - Displays detailed configuration information about a computer and its operating system
Common Command Console Utilities
Windows XP comes with quite a few console utilities you can easily run from the command line:
Computer Management - compmgmt.msc Disk Managment - diskmgmt.msc Device Manager - devmgmt.msc Disk Defrag - dfrg.msc Event Viewer - eventvwr.msc Shared Folders - fsmgmt.msc Group Policies - gpedit.msc Local Users and Groups - lusrmgr.msc Performance Monitor - perfmon.msc Resultant Set of Policies - rsop.msc Local Security Settings - secpol.msc Services - services.msc Component Services - comexp.msc
How to Change Programs That Start Automatically?
Windows XP has a similar program, MSCONFIG, which was available in Windows98.
This allows you to view and change what programs are automatically started each time you log in. The new version also allows you to view and edit the boot.ini file (as well as check for errors and use several advanced switches)