kaede Posted December 13, 2004 Share Posted December 13, 2004 Hello, I want to set the pagefile path to another hard drive, so i don't need to change the default pagefile location, which is in C:\, every time I reinstall WinXPPro.And of course I want to do it in the unattended file.Thx Link to comment Share on other sites More sharing options...
cyberthug Posted December 13, 2004 Share Posted December 13, 2004 ii don't have an anwer for you..but i'm guessing it would cause more problems than solutions..say ur formatting on a new HD, boot up with XP..it's initially only creating the 1st partition right? so if the pagefile it set onn an unexisting partition... that's a no no.but it might be possiible.. would love to know how it works if it does! Link to comment Share on other sites More sharing options...
MARIUS CLAUDIU Posted December 13, 2004 Share Posted December 13, 2004 Here:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]"PagingFiles"=I.e.[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,6c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,31,00,30,00,32,00,34,00,20,00,31,00,\ 30,00,32,00,34,00,00,00,00,00 This setes Page file on c:\1024-1024. Link to comment Share on other sites More sharing options...
Yzöwl Posted December 13, 2004 Share Posted December 13, 2004 An inf would be easier to understand, and could then be added seperately, to prevent forgetting to search and change in your reg file for each PC the disk is used in.;pagefile.inf[Version]Signature=$CHICAGO$[DefaultInstall]AddReg=Reg.SettingsDelReg=Del.Settings[Reg.Settings];Set pagefile size to fixed size (1.5 x System RAM);remove the semi-colon from the option you are using; or;remove all non-required comments and adjust to suit;for 1Gb RAM;HKLM,SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management,PagingFiles,0x10000,"%24%\pagefile.sys 1536 1536";for 512Mb RAM;HKLM,SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management,PagingFiles,0x10000,"%24%\pagefile.sys 768 768"[EDIT] The paging file should always be kept on the root directory of your system disk (%SystemDrive%)[/EDIT] Link to comment Share on other sites More sharing options...
prathapml Posted December 13, 2004 Share Posted December 13, 2004 There's a far easier way to do it. You just need to run a command, with desired parameters.#17. Pre-configure/automate your swap file Link to comment Share on other sites More sharing options...
kaede Posted December 14, 2004 Author Share Posted December 14, 2004 Thankx guys, the propose of this is to set the page file to another HD (1 partition only) in order to use the externa or outerl cylinder to maximaze the performance of the PF.I'll go for the command-line seems to be more easier.ThxHappy holydays! Link to comment Share on other sites More sharing options...
durex Posted December 20, 2004 Share Posted December 20, 2004 The paging file should always be kept on the root directory of your system disk (%SystemDrive%)Thats actually not true at all. In fact its recommended to keep the page file on a completely seperate disk from the operating system if possible for best performance. Link to comment Share on other sites More sharing options...
Yzöwl Posted December 21, 2004 Share Posted December 21, 2004 Yes, my comment may have been misconstrued!In the inf I posted, I used %24% which is inf lingo for %SystemDrive%, I made the comment for reasons of portability, since you would need to have a clean formatted drive with a known assigned drive letter to use it on another drive. This would then be hard coded into the inf, and need replacing on each different system you use it on. Link to comment Share on other sites More sharing options...
durex Posted December 31, 2004 Share Posted December 31, 2004 Hey prathapml... having a tiny issue with that pagefileconfig.vbs...Im trying to delete my page file from drive C: and it gives the following message...WARNING: If the pagefile on volume 'C:' has an initial size of less than 64 KB, then the system may not be able to create debugging information file if a STOP error occurs.Continue Anyway [y/n]?Any idea how to have it bypass this or automatically choose yes so I can use this on my uA?Thanks! Link to comment Share on other sites More sharing options...
ankap Posted December 31, 2004 Share Posted December 31, 2004 Add this to registry to disable writing debugging information on system failureHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"CrashDumpEnabled"=dword:00000000or if you have this setting in your registry tweaks;Disable Automatic Restart in the event of a BSOD[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000You can add this to that key"CrashDumpEnabled"=dword:00000000 Link to comment Share on other sites More sharing options...
durex Posted December 31, 2004 Share Posted December 31, 2004 Holy s***. that worked. Thanks a bunch man. Link to comment Share on other sites More sharing options...
prathapml Posted December 31, 2004 Share Posted December 31, 2004 Either that, or just keep a 3 MB pagefile on systemdrive, and set the main one as large as desired. Link to comment Share on other sites More sharing options...
ankap Posted December 31, 2004 Share Posted December 31, 2004 No Problem but be attentive cause when setting first time drive letters may mix.For example d: can be cd-rom drive. actually it makes letters continueslly - first hard disk\first partition then second partition ...., then second hard disk\first partition and so on then cdrom drive.but if you want to place it on second hard disk the first must have only one partition and d: would be second hard. You must calculate Happy New Year Link to comment Share on other sites More sharing options...
durex Posted December 31, 2004 Share Posted December 31, 2004 No Problem but be attentive cause when setting first time drive letters may mix.For example d: can be cd-rom drive. actually it makes letters continueslly - first hard disk\first partition then second partition ...., then second hard disk\first partition and so on then cdrom drive.but if you want to place it on second hard disk the first must have only one partition and d: would be second hard. You must calculate Happy New Year Come again? Link to comment Share on other sites More sharing options...
ankap Posted December 31, 2004 Share Posted December 31, 2004 What u mean? Haven't u got what I told? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now