Microsoft

Tech Tip: Clean up your Windows NT network

Here are two tips to clean up your NT network.

A new year is the perfect time for organizing and making a new start. If you feel your network is getting out of control, use these two tips to do a little housekeeping.

Delete everything from the current directory

If you want to make a brand-new start, here's a fast tip for clearing out the entire contents of the current directory. To delete everything (including subfolders) from the current directory, issue the following command at the command prompt:

RD /S ""

Although you'll receive a System Cannot Find The Path Specified error, NT will delete all of the files and folders from the directory.

Remove items from the Mapped Network Drive list

Cleaning out an entire directory may be a little drastic for your needs, but that doesn't mean you can't make some progress. For example, if you need to remove some of the items from your Mapped Network Drive list, you can do so by editing the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\
Network\Persistent Connections

Delete the entries that you need to, and be sure to change the Order value to remove the letters of the mappings you deleted. You can also rearrange the order of the letters to reorganize the order in which NT displays the mappings.

Note: Editing the registry is risky, so be sure you have a verified backup before saving any changes.

Editor's Picks

Free Newsletters, In your Inbox