Jump to content
Updated Privacy Statement
  • 0

RunSystemScripts.ps1 and RunBuildScripts.ps1


Jason Roberson

Question

2 answers to this question

Recommended Posts

  • 0

The runsystemscripts will be run if its a master image booting or if its a VDA booting if you create the appropriate folders and add scripts to them.  FOr the system one it looks for 

c:\Windows\Setup\scripts\system_runevery

or 

c:\Windows\Setup\scripts\system_runonce

 

If there are cmd files in there it will run them.  The idea here was that you could create those folders in your os layer.  Then in any app layer you could add whatever cmd files you wanted to run at boot and they would be executed.

 

The user script will only run if you add a gpo to run it at user logon.  Again it will nto run on packaging machines or when the gold image is being imported.

 

Let me know if that is not explained well enough Im sure i have documentation somewhere from when i created those.  It was a very long time ago.

 

  • Like 1
Link to comment

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
×
×
  • Create New...