mserbin Posted October 28, 2009 Share Posted October 28, 2009 I was curious as to whether it would be possible to take a VBScript that sets the Power Options for a user account and integrate this into the Windows setup process by including the .vbs into the HFGUIRUNONCE folder. I read some of the forum posts that indicated the acceptable file types that could go in this folder but VBScript was not mentioned. I thought it might work since batch files work and the vbscript itself takes no parameters or outside arguments as inputs. Please let me know if anyone thinks this might be possible. Link to comment Share on other sites More sharing options...
tommyp Posted October 28, 2009 Share Posted October 28, 2009 hfslip doesn't support vbscripts. You're best bet is to ask on the unattended forum. Link to comment Share on other sites More sharing options...
Geej Posted October 30, 2009 Share Posted October 30, 2009 (edited) U can try to create a batch file with the following syntax:Start "poweroption" /B wscript poweroption.vbsPut poweroption.vbs & poweroption.cmd in HFGUIRUNONCE and see how it goes. (Not tested)If it is not working, I believe it can be replace with a .reg file since it is kinda of registry tweak.edit:Did a small testing and the following works:create and put a batch file (say poweroption.cmd) in HFGUIRUNONCEwscript %windir%\poweroption.vbsexitPut poweroption.vbs in HFEXPERT\WIN folder Edited November 1, 2009 by Geej Link to comment Share on other sites More sharing options...
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