WindowsXP Tips
Taking Ownership Of a Folder
Sometimes when you reinstall WindowsXP, you can receive an Access Denied error when trying to open a previous user's directory.
To take ownership of that folder again:
1. Log on with an account that has administrator rights
2. Right click on the folder
3. Select Properties
4. Click on the Security tab
5. Click on the Advanced button
6. Click on the Owner tab
7. In the list of Names, click on your name
8. To take ownership, click on Replace owner on sub containers and objects
9. Click OK and Yes
Task Manager is Menu Bar is Missing
If you start the Task Manager and menu bar and tabs are missing,
the Task Manager is running in Tiny Footprint mode.
To fix this, simply double click on an empty space in the top border
Hiding Manage My Computer
If you want to remove Manage My Computer from My Computer
1. Start Regedit
2. Go to HKEY_CURRENT_USER / Software / Microsoft / Windows / CurrentVersion / Policies / Explorer
3. Create a DWORD value called NoManageMyComputerVerb
4. Set the value to 1
5. Reboot
Finding Your XP Product ID
There is a great little utility available to help you find your currently installed product ID
http://www.magicaljellybean.com/keyfinder.shtml
It also works for Windows 95, 98, ME, NT4, 2000, XP, Server 2003, Office 97, and Office XP
Forgotten Admin or User's Password
You do not need to reinstall if you forgot the admin password.
There is a boot disk you can download at:
http://home.eunet.no/~pnordahl/ntpasswd/
that will let you reset the password of any account on NT4, Windows2000 or XP.
Just follow all the default settings which are for the admin account. Used it many
times with great success.
They also have a bootable CD image you can download.
Renaming Multiple Files in a Directory
If you want to rename multiple files in the same directory:
1. Using the Windows Explorer, select all the files you want to rename
2. Press F2 or right click and select Rename
3. Enter the prefix for the name you want (e.g. Newname)
4. This will automatically rename the rest of the files Newname (1).jpg, Newname (2).jpg etc.
5. Make sure you include the extension if you have the Explorer configured to show them
Disable Windows Tour
If you want to disable the Take Tour of Windows XP that comes up after you install WindowsXP:
1. Start Regedit
2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour
3. Create a new DWORD key called RunCount
4. Give it a value of 0
Editing the Boot.ini file
The boot.ini file is a simple text file that is on the root of the boot drive.
You can edit this with any plain text editor like Notepad (may need to unhide the file first)
1. Right click on My Computer
2. Select Properties
3. Click on the Advanced tab
4. Under Startup and Recovery, click on the Settings button
5. Click on the Edit button
Running CHKDSK
One way to run a chkdsk (this is like Scandisk that was with Win9X), is to
1. Double click on My Computer
2. Right click on the drive you want to check
3. Select Properties
4. Click on the Tools tab
5. Click on the Check Now button
6. Check to Automatically fix file system errors - This is the same as running chkdsk /f
7. If you want to Scan for and attempt recovery of bad sectors, check that box - This is the same as running chkdsk /R.
Running CHKDSK
One way to run a chkdsk (this is like Scandisk that was with Win9X), is to
1. Double click on My Computer
2. Right click on the drive you want to check
3. Select Properties
4. Click on the Tools tab
5. Click on the Check Now button
6. Check to Automatically fix file system errors - This is the same as running chkdsk /f
7. If you want to Scan for and attempt recovery of bad sectors, check that box - This is the same as running chkdsk /R. It can also add a lot of time to the scan
8. Reboot if necessary
You can also run chkdsk from the command line with will give you more options.
The following switches are available:
/F - fix any errors
/R - identifies bad sectors
/V - with FAT32, displays a verbose output
With NTFS Volumes:
/I - Performs simpler check (stage 2)
/C - Skips the checking of cycles within folder structures
/X - Forces the volume to dismount if necessary. Intended for server administrators and should be avoided for normal use
Additional Utilities
On the XP CD in the \Support\Tools directory, there are a lot of additional support and troubleshooting utilities.
You can run SETUP from that directory to install them.
Just a few are:
diruse Shows Disk Usage
dupfinder Finds Duplicate files
getmac Get's MAC address of the network card
hostname Shows the host name of the computer
netdiag Diagnoses a variety of network components
pviewer Show a list of process and allows you to get a memory detail or kill any process
windiff Compare files and directories
Creating a Suspend Shortcut
If you would like to create an icon to suspend your computer,
1. Right click on the Desktop
2. New / Shortcut
3. Enter in rundll32.exe PowrProf.dll, SetSuspendState
4. Give it whatever name you want
5. Now when you click on that shortcut, your computer will shutdown and suspend
Changing the User Type
Normally in XP Pro, through the Control Panel / User Accounts icon, you are only allowed to create administrators or limited users.
If you want to create
1. Right click on My Computer
2. Manage
3. Local Users and Groups
4. Users
5. Right click on the user you want to change
6. Properties
7. Member of tab
8. Add button
9. Advanced button
10. Find Now button
11. From here you see the full list of possibilities (e.g. Power User, Backup Operator etc.
Viewing Installed Drivers
If you want to see a list of installed drivers, you can run the driverquery program
There are a lot of available switches to view different types of information.
On use can be to export to a CSV file for viewing in Excel
An example would then be:
Driverquery /v /fo csv > drivers.csv
Common Control Panel Applets
The follow are some common Control Panel Applets that are located in the \windows\system32 directory.
If you find yourself using any of these frequently, then you can simply make shortcuts to them on your desktop.
appwiz.cpl Add/Remove Programs
desk.cpl Display Properties
firewall.cpl Firewall Settings
inetcpl.cpl Internet Options
mmsys.cpl Sound and Audio
ncpa.cpl Network Connections
nusrmgr.cpl User Accounts
powercfg.cpl Power Options
sysdm.cpl System Properties
wscui.cpl Security Center
wuaucpl.cpl Automatic Updates Configuration
System32 Folder Opens When Logging On
If the System32 folder shows on the desktop, there may be an invalid entry in the Registry
1. Start Regedit
2. Go to both:
3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
4. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
5. Double check that the values do not have incorrect, incomplete, or blank entrie
Setting Capslock, Numlock, Scroll Lock
If you want to set the startup state for any or all of these keys,
you just need to edit the registry.
1. Start Regedit
2. Go to HKEY_CURRENT_USER \ Control Panel \ Keyboard
3. Open InitialKeyboardIndicators
4. Change the value to one of the following numbers
0 - All Keys off
1 - Caps Lock on
2 - Num Lock on
4 - Scroll Lock on
For multiple keys, add their values:
3 - Caps Lock and Num Lock on
5 - Caps Lock and Scroll Lock on
6 - Num Lock and Scroll Lock on
7 - Caps Lock, Num Lock, and Scroll Lock on
5. Log off and back on again
DOS Tips in XP
Windows XP cmd tip (DOS isn’t dead... it just smells funny) Some command-line folder creation examples:
To create multiple folders at once, add them directly to the "md" command:
C:\> md this is a test
To create a folder several folders deep, use:
C:\> md this\is\a\test
Creating a folder with a long name requires the double-quote at the beginning:
C:\> md "this is a test
Bonus tip: Windows XP supports the forward slash "/" as a folder divider. Unix/Linux users: don't let the DOS environment get you down. Use a Unix-style CD command to change your present working directory:
C:\> cd Windows/system32/drivers/etc
Stopping the Messenger Service
To remove the ability for anyone in the world to pop up messages on your computer,
you can disable the Messenger service.
1. Click Start->Settings ->Control Panel
2. Click Performance and Maintenance
3. Click Administrative Tools
4. Double click Services
5. Scroll down and highlight "Messenger"
6. Right-click the highlighted line and choose Properties
7. Click the STOP button
8. Select Disable or Manual in the Startup Type scroll bar Click OK
Accessing Non-Listed Display Configurations
If you want to access display configurations not normally listed (e.g. 256 colors)
1. In the Display Properties dialog box, click the Settings tab.
2. Click the Advanced button.
3. Click the Adapter tab,
4. Click the List all modes button.
5. Select the resolution, color depth, and refresh rate that you want and click OK