Jump to content

Modified pagefileconfig.vbs


Recommended Posts

OK, here it is..As you know, when using pagefileconfig.vbs to config page file, sometimes it will give you a confirm prompt, thus interrupt the UA setup process.. For example, when you delete the system page file and have no page file on any other partition, this issue would occur..

I did some small changes to get rid of the prompt( by commenting out some statement in the getReply() function and make the return value always "y" ). Now it will always "keep silent" :lol:

Usage(example):

cscript.exe //B //NoLogo "%SYSTEMROOT%\system32\pagefileconfig.vbs" /delete /vo %SYSTEMDRIVE%

Hope it helps..

Link to comment
Share on other sites


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...