System32 Folder Opens When Logging On Faster DOS Printing Show Hidden Devices Enable / Disable the Task Manager Problems with 16-Bit Programs After Installing
SP2 Common Command Console Utilities Quick Access to the Device Manager Enabling NumLock on by Default Using MSCONFIG to Change the Programs Starting
Automatically Increasing File System Caching Increasing System Performance Disabling Dr. Watson
Enabling CD AutoRun
Starting Programs Automatically at Each Command Prompt
Renaming the My Computer Icon
Quick Windows2000 Shutdown/Restart
Fix Browsing Delay to Win98/ME Computers
Windows 2000 Command Reference Date and Time Environment Variables
Changing File Associations from the Command Prompt
Network Bindings
Disable Regedit From Opening to Previous Location
Not Displaying Last User Logged On
Creating a Logon Banner
Easy Way to Share Multiple Folders
Access to All Dial-Up Connections
Changing Drive Letters
Cascading My Computer Folder
Automatic Creation of Admin Shares Additional Information From the Task Manager
Enabling DMA/UDMA
Enabling Hibernation Unsigned Driver Installation
Changing the Logon Background Color
System File Checker
Starting the Indexing Service to Speed Up File Searches
Automatic File & Directory NAME Completion Moving My Documents Displaying More File Information in Explorer Running Applications as Another User Opening a Command Prompt to a Particular
Directory from Explorer
Removing Personalized Menus Display Administrative Tools
Display Logoff Expand Control Panel, My Documents, Network and
Dial-Up Connections or Printers Displaying Hardware Conflicts Bring Up Task Manager Directly
Quickly Changing Directories Disk Cleanup
System32 Folder Opens When Logging OnIf the System32 folder shows on the desktop, there may be an invalid
entry in the Registry - Start Regedit
- Go to both:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- Double check that the values do not have incorrect, incomplete,
or blank entries
Faster DOS PrintingIf you are experiencing slow printing for DOS programs with Windows2000 - Go Start | Run | Regedit
- Click Hkey_Local_Machine
- Click on System
- Click CurrentControlSet
- Click Control
- Go to the bottom of this part of the list and click WOW
- Click LPT timeout and change it to a 3
Show Hidden DevicesYou can show hidden devices in the Device Manager. One
way is by making a simple registry change. The other is through
a batch file. Registry Change: Go to HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001
\ Control \ Session Manager \ Environment Create a string DEVMGR_SHOW_NONPRESENT_DEVICES Give it a value of 1
Batch File @Echo Off
Prompt $p$g
set DEVMGR_SHOW_NONPRESENT_DEVICES=1
start devmgmt.msc
exit
Enable / Disable the
Task ManagerStart Regedit Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\Current
Version\Policies\ Create the Dword value DisableTaskMgr Give it a value of 0 to enable it Give it a vaule of 1 to disable it
Problems with 16-Bit Programs After Installing
SP2After the installation of Service Pack 2, (SP2), for Windows 2000
the operating system ceased to execute 16-bit programs. This was
due to a program compatibility feature within VDM, (Windows NT Virtual
Dos Machine), that prevented the operation of 16-bit applications,
and generated the following error code <Program> caused a general Protection Fault in module KRNL386.EXE
at 0001:6382 Choose close. <Program> will close The resolution is ... - Start - Run - REGEDIT
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\SessionManager \AppCompatability\
- Delete the NTVDM.EXE subkey
- Click YES for confirmation
- Restart your computer
Common Command Console UtilitiesWindows2000 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
Quick Access to the Device ManagerIf you want to quickly access the device manager,
create a shortcut on the desktop that point to: %systemroot%\system32\devmgmt.msc Note: See the previous tip for other Command Console utilities
you can add as well.
Enabling NumLock on by DefaultTo have numlock turned on for each user: - Start Regedit
- Go to HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators
- Change the value from 0 to 2
- Turn Numlock on manually
- Log off and back on again.
- For all users, make the same change to HKEY_USERS\.DEFAULT\Control
Panel\Keyboard\InitialKeyboardIndicators
Using MSCONFIG to Change the Programs Starting
AutomaticallyYou can now use the MSCONFIG.EXE that comes with WindowsXP.
It also lets you change the Services and BOOT.INI file as well. - If you like to use MSCONFIG from Windows98, you can still use
it with Windows2000.
- Just copy the file to a place in your path (e.g. \WINNT)
- You will get an error about a file Regenv32.exe. It will
work find without it but I just copied that file as well.
Increasing File System CachingTo increase the amount of memory Windows will save for locked I/O
operations: - Start Regedit
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management
- Edit the key IoPageLockLimit
4096 - 32megs of memory or less
8192 - 32+ megs of memory
16384 - 64+ megs of memory
32768 - 128+ megs of memory
65536 - 256+ megs of memory
Increasing System PerformanceIf you have 512 megs or more of memory, you can increase system
performance
by having the core system kept in memory. - Start Regedit
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\DisablePagingExecutive
- Set the value to be 1
- Reboot the computer
Disabling Dr. WatsonIf you want to disable Dr. Watson program errors from generating
log files: - Start Regedit
- Go to HKEY_LOCAL_MACHINE / SOFTWARE \ Microsoft \ Windows NT
\ CurrentVersion\ AeDebug
- Set the string Auto=0
- To re-enable it, run drwtsn32 -i
Note: If you do want to use Dr. Watson, you can change the default
settings by running drwtsn32
Enabling CD AutoRunTo enable CD's automatically running when you insert them: - Start Regedit
- Go to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services
\ CDRom
- Make sure the key reads Autorun=1
Starting Programs Automatically
at Each Command PromptIf you want to start a program (like DOSKEY) or set an environment
variable each time you open a command prompt: - Start Regedit
- Go to HKEY_CURRENT_USER\Software\Microsoft\Command Processor
- Create a String key called Autorun
- Give it the value of the command you want to run
- Multiple commands need to be separated by a double ampersand
(&&)
Renaming the My Computer IconTo reNAME the My Computer icon to the NAME of the user that is
logged on: - Start Regedit
- Go to HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
- Change the "My Computer" at end of @C:\WINNT\system32\shell32.dll,-9216@1033,My
Computer
- Press the F5 key to refresh the desktop and the new NAME will
show up.
Quick Windows2000 Shutdown/RestartTo do a quick shutdown of Windows2000: Press Ctrl-Alt-Delete
Hold the Control key while you click on the Shutdown button A warning box will come up stating:
"If you continue, your machine will reboot and any unsaved data
will be lost. Use only as a last resort."
Fix Browsing Delay to Win98/ME ComputersIf you experience a 30 second or so delay when browsing to Windows98
or WindowsME computers,
delete the following registry key on the Windows2000 computer. HKEY_LOCAL_MACHINE / Software / Microsoft / Windows / CurrentVersion
/ Explorer / RemoteComputer / NAMESpace {D6277990-4C6A-11CF-8D87-00AA0060F5BF}
Windows 2000 Command ReferenceIf you want quick access to all the commands you can run with Windows2000,
run the following command line: hh.exe mk:@MSITStore:C:\WINNT\Help\windows.chm::/ntcmds.htm This is one I like to keep handy as a quick reference. Microsoft
also has this on their site
Date and Time Environment VariablesYou can get the current date and time in a batch file by entering: echo %date% (this gives the same value as date /t)
or
echo %time% (this gives the same value as time /t)
Changing File Associations from
the Command PromptUsually you change the file associates from the Explorer.
An easy way to do it from the cmd prompt is by using the assoc
and ftype commands Assoc shows you the extension file type and it's NAME.
For example assoc .txt displays .txt=textfile Ftype lets you change the file assocation
For example ftype txtfile displays txtfile=%SystemRoot%\system32\NOTEPAD.EXE
%1 To change the program you want to use for a txtfile, simply type: ftype txtfile=the location of the other program
Network BindingsTo view or change your network bindings: - Right click on the My Network Places icon on the desktop
- Select Properties
- On the menu select Advanced / Advanced Settings
From here you can change the bindings for your adapters.
Disable Regedit From Opening to Previous LocationBy default, whenever you start Regedit, it starts in the previous
location.
To turn off this feature: - Start Regedt32 (not Regedit)
- Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion
\ Applets \ Regedit
- Clear the entry in the LastKey
- Highlight the Regedit key
- From the menu select Security / Permissions
- Deny Full Control to the currently logged in user
Not Displaying Last User Logged On- Go to Start / Settings / Control Panel / Administrative Tools
/ Local Security Policy
- Open up Local Policies / Security Options
- Enable Do not display last user NAME in login screen
Creating a Logon BannerTo create a logon banner: - Go to Start / Settings / Control Panel / Administrative Tools
/ Local Security Policy
- Open up Local Policies / Security Options
- Enter in Message Text and Message TITLEfor users attempting
to logon
Easy Way to Share Multiple FoldersRunning 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
- Ender in a description
- Set permissions
- Restart the process from within the same program
Access to All Dial-Up ConnectionsIf you have several dial-up connections but don't want to have
a shortcut to each one on your desktop,
simply copy a shortcut from the \winnt\system32\rasphone.exe file. This will allow you to select which dial-up connection you want
to use from a pull down menu.
Changing Drive LettersIf 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
Cascading My Computer FolderSimply drag the My Computer icon from the desktop to the
Start Button.
Now you have a cascading menu for My Computer available when you
press Ctrl-Esc.
This gives you easy access to your disks, CD ROMS, mobile devices
and network connections
Automatic Creation of Admin SharesTo re-enable automatic creation of the administrative shares, change
the value of the following registry key to one (1), or delete the
value: For Server - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanman
Server\Parameters \AutoShareServer For Workstation - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanman
Server\Parameters \AutoShareWks A setting of zero (0) prevents the administrative shares, such
as C$, D$, Admin$, and so on, from being created automatically.
Additional Information From the Task
ManagerYou can customize some of the items you can see in the Task Manager - In Processes, select View / Columns...
- From here you can view additional information about each process
such as Page Faults, Priority, Threads etc.
Enabling DMA/UDMATo make sure your IDE Controller is set to use DMA - Right click on the My Computer icon
- Select Manage
- Click on Device Manager
- Expand IDE ATA/ATAPI Controller
- Right-click on Primary IDE Channel
- Click on Properties
- Click on the Advanced Settings tab
- In the Transfer Mode section, select DMA if available
- Do this for both devices in both the Primary and Secondary Controllers
- After you reboot you can go back in and see what the controller
is now actually using.
Enabling HibernationWith Windows2000 Hibernation, when you select it from the Shutdown
menu,
all your applications as well as their location on your desktop
come up the next time you start up your computer. To enable it: - Go to the Control Panel / Power Options icon
- Click on the Hibernate tab
- Check Enable hibernation support
- Since hibernation takes what is in memory and writes it to disk,
the amount of hard drive space needed is the same as the amount
of memory you have.
- Now when you go to logoff, select the Hibernate option instead.
Unsigned Driver InstallationBy default, Windows2000 will allow you to install drivers that
have not been signed and approved my Microsoft.
If you want to restrict this so only signed drivers can be installed: - Run the Local Security Policy MMC (Start / Run / Programs /
Administrative Tools / Local Security Policy)
- Scroll down to Unsigned driver installation behavior
(This is second from the bottom)
- The default is Not Defined
- You have three additional options:
Silently Succeed
Warn but allow installation
Do not allow installation
Changing the Logon Background ColorIf you want to change the green logon color: - Start Regedit
- Go to HKEY_USERS\.DEFAULT\Control Panel\Colors\Background
- Change the three numbers from the default of 58 110
165 to the RGB values you want
- For example 110 110 255 is a fairly light blue, 0 0
0 would be black
- Log off and log back on again to see the change.
System File CheckerThere is a command-line utility called System File Checker (SFC.EXe),
which allows an administrator to scan all protected files to verify
their versions. The following shows the command-line syntax: /SCANNOW Scans all protected system files immediately.
/SCANONCE Scans all protected system files once at the next boot.
/SCANBOOT Scans all protected system files at every boot.
/CANCEL Cancels all pending scans of protected system files.
/QUIET Replaces all incorrect file versions without prompting the
user.
/ENABLE Enables Windows File Protection for normal operation
/PURGECACHE Purges the file cache and scans all protected system
files immediately.
/CACHESIZE=x Sets the file cache size
Starting the Indexing Service to Speed Up File
SearchesYou can greatly speed up searching for files, particularly files
with text in them, if you index your files.
To turn this on: - Start a search by pressing the F3 key from the Explorer on while
on the desktop
- Click on Search Options
- Click on Indexing Service
- Check Yes, enable Indexing Service
Searches should now go extremely fast. The index file is relatively
small.
For example I have about 3 gigs of used hard drive space and this
created a 20 meg index file.
Automatic File & Directory
NAME CompletionFrom the command prompt, you can list files or directories without
needing to type in the entire NAME. - Start a new command session with Start / Run / "cmd /f
:on"
- You can scroll through files by pressing the Ctrl-F key
- You can scroll through directories by pressing the Ctrl-D key
- You can enter the first few letters of the NAME to make the
search more specific
- You can search backwards by pressing shift key down at the same
time
- To make this permanent, you can add it to any command prompt
shortcuts you use
Moving My DocumentsNormally the My Documents fold is in the Documents and
Settings / User_NAME directory. You can change that location by: - Start / Documents
- Right click on My Documents
- Select Explore
- Right click on My Documents
- Right click and select Properties
- Click on the Move button and select the location you
want to move it to.
Displaying More File Information in ExplorerYou can easily display more information than the file NAME, size,
type and modified date in Explorer. - Right click on any one of these headings.
- This will bring up some of the additional fields you can display.
- Items such as Attribute, Comment, Created Date, Accessed date
are available.
- You can also click on More for other items as well
- Selections such as Comment can be useful for Word and Excel
documents.
- You can right click on the file, select Properties / Summary.
- Select the Comment field and enter in a short description for
the file.
Running Applications as Another UserWith NT, you have always been able to connect to a network share
as another user.
This allowed you to not have to log off and then back on again with
a different user.
The same capability is now available with Windows2000 for running
applications.
If you need to run an app as an administrator, you can do it without
logging off and back on as the admin. - Select the the application you want to run.
- While holding down the shift key, right-click on the icon
- You now have the option to Run As
- You will then be prompted for the user's NAME, password and
domain.
Opening a Command Prompt to a Particular
Directory from ExplorerIf you want to open a command prompt to a directory that is selected
in the Explorer: - Start Regedit
- Go to HKEY_CLASSES_ROOT \ Directory \ shell
- Create a new key called Command
- Give it the value of the NAME you want to appear in the Explorer.
Something like Open DOS Box
- Under this create a new key called command
- Give it a value of " cmd.exe cd %1 " (no quotes)
- Now when you are in the Explorer, right click on a folder, select
Open DOS Box, and a command prompt will open to the
selected directory.
Removing Personalized Menus- Right-click on the Task Bar
- Select Properties
- Uncheck Use Personalized Menus
Display Administrative Tools- Right-click on the Task Bar
- Select Properties
- Click on the Advanced tab
- Check Display Administrative Options
Display Logoff- Right-click on the Task Bar
- Select Properties
- Click on the Advanced tab
- Check Display Logoff
Expand Control Panel, My Documents, Network
and Dial-Up Connections or Printers- Right-click on the Task Bar
- Select Properties
- Click on the Advanced tab
- Check the ones you want to expand
Displaying Hardware Conflicts- Make sure you display the Administrative tools
- Go to Start / Programs / Administrative Tools / Computer Management
- Scroll down to System Tools / System Information / Hardware
Resources / Conflicts/Sharing
- This will display and IRQ or other conflicts.
Bring Up Task Manager DirectlyTo start the Task Manager, simply press the Ctrl-Shift-Esc keys
Quickly Changing DirectoriesIf you want to change directories but don't want to type in the
entire path NAME,
you can use the "*" at the end of a partial display. For example to change to Program Files, you can simply enter
cd pro* and it will fill in the rest.
Disk CleanUpTo clean up your drive from Temporary Internet Files, Temp files,
the Recycle Bin etc. - Click on the My Computer icon
- Right click on the drive you want to clean
- Select Properties
- Click on the Disk Cleanup button
- From here you can select the types of files you want to remove
|