wwwmario Posted April 23, 2004 Posted April 23, 2004 Hello,given that all my systems will feature 2 partitions and that I want to add a static paging file on the partition that is not the BOOT neither the SYSTEM.With XP's way of assigning drive letters, I should always have C: & D:.Now, it's pretty easy to put a HKLM\System\CurCtrlSet\Ctrl\Session Manager\Memory Management\"PagingFiles" REG_MULTI_SZ with what I want during RunOnceEx (it doesn't work before @ T-13), and I will find the correct paging file after the 2nd autologon.How can I set the old paging file in C: to be deleted after the 2nd logon?I've tried recursive calling of INFs that put RunOnceEx keys, but that doesn't workas the key gets wiped @ shutdown.Any ideas?Thank you/Mario
aknott Posted April 23, 2004 Posted April 23, 2004 I'm not sure but if in your registry, the c: paging file does not appear in the paging file parameter if u can remove it manually w/o problems but only the read only question just put a shortcut in your startup folder to a batfileand in the bat file add the command to remove the pagefile and the shortcut del /F c:\pagingfile.sysdel /F %USERPROFILE%\startmenu\start\theshortcut.lnkagain I'm not sure but try it u'll see
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now