Jump to content

Recommended Posts

Posted

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 work

as the key gets wiped @ shutdown.

Any ideas?

Thank you

/Mario


Posted

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 batfile

and in the bat file add the command to remove the pagefile and the shortcut

del /F c:\pagingfile.sys

del /F %USERPROFILE%\startmenu\start\theshortcut.lnk

again I'm not sure but try it u'll see

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...