Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

May 01, 1998 12:00 AM

Troubleshooting Windows NT System Configuration

Windows IT Pro
InstantDoc ID #3057
Rating: (3)
Common system configuration techniques

Users often want to alter their Windows NT system configuration to make tasks easier. You can make simple alterations with a Registry editor. Using a Registry editor incorrectly can cause serious systemwide problems that can require you to reinstall NT to correct them. Always back up your system before editing the Registry.

Another useful system configuration utility is shutdown.exe. The Microsoft Windows NT Server 4.0 Resource Kit includes this utility. The resource kit is an integral part of NT, and its text and utilities can simplify various NT tasks. I urge you to install the resource kit and take advantage of its tools.

Q: How do I change the organization name and username on Windows NT?

When you install NT you must enter a company name and username. After you set this information, you can't use ordinary NT configuration procedures to change it, but you can manipulate the Registry.

To change your organization name, start a Registry editor (regedit.exe) and go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion. Double-click RegisteredOrganization, change the data, and click OK, as Screen 1, page 192, shows. To change your username, follow the same procedure and choose RegisteredOwner.

Q: How do I change the default Windows NT desktop background?

Before you log on, NT uses the background configuration in the default user profile, as Screen 2, page 192, shows. You can use a Registry editor to change default settings such as background bitmap and colors.

To change the background bitmap, start regedit.exe and go to HKEY_USERS\.DEFAULT\Control Panel\Desktop. Double-click Wallpaper, enter the bitmap and location you want to use, and click OK. To change the background color, go to HKEY_USERS\DEFAULT\Control Panel\Colors\Background and change the color value (e.g., change to 0 0 0 for black). NT uses standard RGB colors, which you can find in any graphics program. Screen 3, page 193, shows a customized background.

Q: How do I change the default Windows NT screen saver?

To change the default screen saver, start a Registry editor (regedit.exe) and go to HKEY_USERS\.DEFAULT\Control Panel\Desktop. Double-click ScreenSaveActive and set the value to 1. Then, double-click scrnsave.exe and set the screen saver name (e.g., black16.scr). Double-click ScreenSaveTimeOut and set the number of seconds (e.g., 600 seconds for 10 minutes).

If you want to use an OpenGL screen saver, you need to add some Registry values. To configure the OpenGL text screen saver, start regedit.exe and select HKEY_USERS\.DEFAULT\Control Panel\Desktop. Double-click scrnsave.exe and change the value to E:\WINNT\System32\sstext3d.scr. From the Registry editor menu bar, choose Edit, New, Key. Create a key called HKEY_USERS\.DEFAULT\Control Panel\Screen Saver.3DText. Under this new key, create two new string values called Font and Text. Choose Edit, New, String Value. Double-click Font and set the font you want (e.g., Arial). Double-click Text and set the text you want the screen saver to display (up to 16 characters).

To configure other OpenGL screen savers, configure the text screen saver for a typical user. Then examine the user's Registry entry for existing Registry values (e.g., Screen Saver.3Dpipes).

OpenGL screen savers use excessive system resources. Users often complain about slow server performance, because OpenGL screen savers monopolize the CPU when the machine is in screen saver mode. Use these screen savers with discretion, and always use a blank screen saver on servers.

Q: How can I restore Program Manager?

By default, Windows NT 4.0 uses Explorer (explorer.exe), but it still offers Program Manager (progman.exe). If you prefer Program Manager to Explorer, you can use a Registry editor to change the default.

Start regedit.exe and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. Double-click Shell, change the value from explorer.exe to progman.exe, and click OK. You must then log off and log on again to use Program Manager. Screen 4 shows the Program Manager dialog box.

Q: How do I add an item to the right-click menu?

To add items to the context menu, start a Registry editor (regedit.exe) and go to HKEY_CLASSES_ROOT\Unknown\shell. From the Registry editor menu bar, select Edit, New, Key.

Enter the name you want the context menu to display (e.g., an application name). Right-click the new subkey and select New, Key. Enter the name

Command

Click the new command and double-click the entry labeled (Default) in the pane on the right. Enter the path and name of the executable, followed by %1 (e.g., D:\Program files\savedit\savedit.exe %1). Click OK. When you right-click a file, the menu will display the new entry.

Q: How can I remove invalid entries from the Add/Remove software list?

Users often install software that they later dislike. They then delete the directory structure and remove the icon from the Start menu but leave DLLs the software placed in the %systemroot% area. Most programs create remove entries that you can access through the Add/Remove Control Panel applet. But if you delete the program structure, the remove entry won't work.

Each entry on the Add/Remove program list is also a Registry entry. To remove an entry, start a Registry editor (regedit.exe) and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Win-dows\CurrentVersion\Uninstall. Select the item that corresponds to the entry. From the Registry editor menu bar, select Edit, Delete.

When you uninstall software, you can use the Registry editor to view the command run. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Win-dows\CurrentVersion\Uninstall to examine the UninstallString that is part of the specific software key.

Sometimes the software is installed but the entry doesn't work. For example, in TweakUI, the uninstall program tries to run %systemroot%/rundll32.exe, but rundll32.exe resides in %systemroot%/system32. In this case, you need to substitute the correct image location (E:\WINNT\System32\rundll32.exe) in UninstallString to run the command manually. Because rundll32.exe resides in E:\WINNT\System32, to remove it you need to go to the command line and type

E:\WINNT\system32\rundll32.exe syssetup.dll,SetupInfObject
InstallAction DefaultUninstall 4 E:\WINNT\Inf\Tweakui.Inf

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jan 02, 2005

    am working on win nt, however i am experiencing difficluties open yahoo mail page, the browser page seems to blocked as it shows http://172.20.160.8:15871/cgi-bin/blockpage.cgi?ws-session=687878935, blocked by webscene. please tell me how to unblock.

  • Anonymous User
    8 years ago
    Nov 18, 2004

    How do I UNBLOCK the SELECT WALLPAPER Windows XP desktop background?

  • ram
    9 years ago
    Dec 17, 2003

    Thanks for the last one "invalid entries in control panel"
    Very useful

  • Asim
    9 years ago
    Nov 17, 2003

    How can i configure OPENGL in windows XP or Win server 2003 ?????

  • Jim chamche martinez
    11 years ago
    Apr 28, 2001

    informacion sobre viual age for java ; y power builder,tamen todo sobre windows nt
    mi direccion es Urbanizadion canalones C2-46 Chimbote Peru

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.