Jump to content

- - - - -

How to run a batch script when OS boots up

os boot script batch dos run exe execute

  • Please log in to reply
2 replies to this topic

#1 jsm

  • Members
  • 1 posts
    New Zealand

Posted 15 January 2014 - 01:26 AM



Can anyone tell me how I can run a batch script or a vbs script when the OS starts up? We are building a thin client network pxe boot system, and would like to run some batch scripts when the client boots.


If anyone can guide me through this, or tell me if there is an existing batch file that runs on startup (I think there is, but I can't find it) that I can edit and add too,  it would be appreciated.



#2 Sha0


    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting

Posted 15 January 2014 - 03:33 AM

There are many different "places" where batch-files can be started from. You can use Microsoft's SysInternals' AutoRuns to learn about many of them. Most of these "places" correspond to different phases of startup, so you need to choose a "place" where your dependencies are met, where user interaction is or isn't desired, before or after a user is logged in, etc.

#3 steve6375


    Platinum Member

  • Developer
  • 7362 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
    United Kingdom

Posted 15 January 2014 - 06:40 PM

Can you give us a clue as to what OS you are booting to? Linux, WinPE v1/2/3/4, Windows XP, Vista, 7, 8 etc?

Also tagged with one or more of these keywords: os, boot, script, batch, dos, run, exe, execute

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users