Well. As long as it is the same for all servers and in the same place a reg file would be your best bet. Set it on a server and export. Would look like the following. You might be able to use some WMI code to intergate memeory size and then interigate disk and set the page to differnt vales/sizes depending on server build Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):43,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6 c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,32,00,20,00,32,00,00,00,45,00,3a,00,\ 5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,2e,00,73,00,79,00,73,\ 00,20,00,34,00,30,00,39,00,35,00,20,00,34,00,30,00,39,00,35,00,00,00,00,00 -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Shane A Broomhall (Aust) Sent: 12 April 2006 22:55 To: thin@xxxxxxxxxxxxx Subject: [THIN] Moving the Windows Pagefile by scripts ? HI All, I am working for a company who builds its servers via RIS, and then uses scripts to modify them for specific services. What we are hoping to be able to do is to be able to specify that our page file will be on a different partition D or E, and a fixed size in the script which does this modification. The current scripts are batch (CMD) files. Can anyone provide me with some tips on how to get the pagefile moved and to a specific size ? We are using Windows 2003 server Service Pack 1. Thanks in advance Shane Broomhall Australia *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorized and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: http://www.rbos.com http://www.rbsmarkets.com ***********************************************************************************