MSFN Forum: Modified pagefileconfig.vbs - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Modified pagefileconfig.vbs Skip user comfirm prompt "continue any way[y/n]" at some cir Rate Topic: -----

#1 User is offline   Rico.JohnnY 

  • Member
  • PipPip
  • Group: Members
  • Posts: 242
  • Joined: 02-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 October 2006 - 03:59 PM

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


[attachment=14946:attachment]


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy