Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


March 1999

Reader Challenge

RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Flex Your Intellectual Muscle

[Editor's Note: Solve this month's Windows NT problem and get the chance to win $100 or a copy of one of the author's books about NT. Email your solutions to challenge@winntmag.com. Include your full name, mailing address, and connection to NT (e.g., administrator, user). Because of the number of entries, we cannot reply to all respondents. Look for the solution to this month's problem in the June issue.]

Secure Your Registries
Your IS department has a weekly meeting to discuss the state of the company's computers. This week's topic is users who know enough to be dangerous. Several employees who fit this description have been accessing remote Registries to tweak them. The IS director stresses the importance of preventing users, but not IS personnel, from accessing Registries remotely.


Problem

  1. How do you lock a Registry against remote access by certain users?
  2. How does the lockout procedure differ in Windows NT Server and NT Workstation?
  3. What are the benefits of using regedt32 rather than regedit?
  4. What is the name of the NT feature that controls Registry permissions?

DECEMBER WINNERS
Congratulations to Floyd Esparaz of Pickering, Ontario, and to Ivan Ferrera of West New York, New Jersey. Floyd won first prize of $100 for the best solution to the December Reader Challenge. Ivan won second prize of a copy of Windows NT Troubleshooting (Osborne/McGraw-Hill, 1998).


Problem
Although Windows NT copies data to the swap file (pagefile.sys) automatically, swapping does not always run flawlessly. Clients often call me when they receive error messages about the swap file. The following are some common swap file questions. See how many answers you can provide.

Solution
I dislike having to keep a lot of disk space free for the swap file. What are the rules about minimum size?

The absolute minimum size of the swap file is the amount of system RAM plus 1MB. However, a preferable size is the amount of RAM plus 12MB, so that the system has room to write dump files when errors occur. If the swap file is smaller than the amount of RAM, the computer probably won't boot.

I received the following error message at startup: Limited Virtual Memory. Your system is running without a properly sized paging file. Please use the virtual memory option of the System applet in Control Panel to create a paging file or to increase the initial size of your paging file. I followed these directions, but I'm still getting this message at startup. How do I fix this problem?

The swap file is on an NTFS volume, and someone has changed the permissions for pagefile.sys or the root directory. Make sure you have full rights.

I'm dual-booting NT 4.0 with Windows 95. Do I need two swap files, or can I use one swap file for both OSs?

You can use one swap file, but you need to perform some configuration tasks. First, configure the NT swap file. Open the System applet in Control Panel, select the Performance tab, and click Change in the Virtual Memory section. Make the Initial Size (i.e., minimum) and Maximum Size values the same. Then, configure Win95 virtual memory. Open the System applet in Control Panel, select the Performance tab, and click Change in the Virtual Memory section. Use the same Initial Size and Maximum Size settings as you used for the NT swap file. (You need to choose Select your own settings.)

Reboot into Win95, and edit the system.ini file by entering the following in the [386Enh] section:

PagingFile=X:\PAGEFILE.SYS
PagingDrive=X:
MinPagingFileSize=NNNNN
MaxPagingFileSize=NNNNN

where X: is the common drive and NNNNN is the size of pagefile.sys in kilobytes.

Reboot, and delete win386.swp on the Win95 drive. (You can also make these changes for Win98, but the swap file is in the Windows directory rather than the root directory.)

I added a hard disk because my original disk was running out of space. How do I put the system swap file on drive D?

Open the System applet in Control Panel, select the Performance tab, and click Change in the Virtual Memory section. Set the Initial Size and Maximum Size values to 0, and click Set. At the top of the dialog box, select drive D. Set the Initial Size and Maximum Size (use the recommended value under Total Paging File Size for All Drives). Click Set, and click OK. In the System Properties dialog box, click OK again. Restart the computer.

End of Article



Reader Comments
thanks for this article this is very useful specially for me who is on the Information Technology field.

JR November 19, 2003


Very useful article.

David July 01, 2004


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing