Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Running VBS script at boot

11 Jul 2012   #1

Windows 7 Professional 64 bit.
Running VBS script at boot

I want to run a small VBS script on startup, before the Windows selection screen appears. So I found out about the Startup scripts in Group Policy and tried adding the VBS script, or a batch file that calls cscript with the VBS file to get the output to console. However, neither solution actually displays anything during startup, at any point until the logon screen.

It should be noted that the script simply prints out the drive letters used. So what could be wrong?

My System SpecsSystem Spec
12 Jul 2012   #2

Windows 10 Pro X64

Until logon, there is no place to output anything. What you really need (I think) is to run the vbs script as a Start Menu item. That should work.
My System SpecsSystem Spec

 Running VBS script at boot

Thread Tools

Similar help and support threads
Thread Forum
Long Running Script problem - Windows Defender?
I have been having problems with "long running script" interrupting browsing with long wait times and multiple IE stops/crashes. I finally performed a clean boot, as follows: msconfig selective startup uncheck load startup items
General Discussion
Running a script when Explorer starts
I need to run a script somehow when explorer.exe starts up. This isn't as simple as making it run on system startup or logon, because the system starts up but then kills explorer and brings you to a third-party login screen for my university system. Point is, I need to run a script when...
Logon script not running on Win 7
Hi all, new here. Have a little experience with Win 7, a lot with Win XP. So here's my situation. I'm trying to create a login script for use on my work's PCs. Most all of our boxes are running XP. Putting this login script into the Starup folder works fine, the script runs on startup and...
General Discussion
Logoff script not running at shutdown
I have a script that launches Ccleaner and needs to run at shutdown. Shutdown scripts do not run within the user space as I understand, so I figured I'd use a logoff script which will run while the user is still logged in. The logoff script works when logging off as expected, but does not run...
General Discussion
Outlook 2010- Running script error
Hi, My Outlook has started giving me this issue everytime I start it. Any Ideas of why it says "an error has occured in the script on this page". Any ideas:confused:, PICTURE ATTATCHED
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:16.
Twitter Facebook Google+