Windows Server 2003
1833081 Members
2887 Online
110050 Solutions
New Discussion

Re: Clearing pagefile at shutdown override

 
SOLVED
Go to solution
snowy600
Occasional Contributor

Clearing pagefile at shutdown override

Hi
I've got an issue that maybe someone may have a workaround to.
The domain group policy on our servers is set so that all the servers will clear down the pagefiles at shutdown.

I have no access to change this domain group policy as it's company policy to have it on.

Many of our servers take up to 45 minutes to reboot and this is because our servers have 10Gb of RAM and they are configured with pagefiles of 8GB (possibly vastly oversized). I need to do some work within the next few weeks that is going to require a large number of reboots and I'm not allowed to take the system down for too long.
I've tried the registry change for the ClearPageFileAtShutdown but this change requires a reboot and of course of startup the policy applies and puts the setting back.
Does anyone know of a way to change the system so that it will NOT clear the pagefile at shutdown and DOES NOT require a restart to take affect?
Or does anyone know of a syntax command that can be run to restart a Windows 2003 server without clearing the pagefile?
Many thanks
3 REPLIES 3
Sheldon Smith
HPE Pro
Solution

Re: Clearing pagefile at shutdown override

"...and they are configured with pagefiles of 8GB (possibly vastly oversized)...."

During the maintenance, configure the pagefile to the minimum size? Don't know about 2003, but XP indicates the minimum allowed size is 2 MB.

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Phil.Howell
Honored Contributor

Re: Clearing pagefile at shutdown override

From a command prompt you could try
shutdown /r /f
snowy600
Occasional Contributor

Re: Clearing pagefile at shutdown override

Nice one Sheldon, after I thought about it for a bit I was going to do that anyway. Great minds and all that. Cheers