Setting name
|
Location
|
Default value
|
Possible values
|
Run Windows PowerShell scripts first at computer startup, shutdown
|
Computer Configuration\Policies\Administrative Templates\System\Scripts\
|
Not Configured (Windows PowerShell scripts run after non-Windows PowerShell scripts)
|
Not Configured, Enabled, Disabled
Note
This policy setting determines the order in which computer startup and shutdown scripts are run within all applicable GPOs. You can override this policy setting for specific script types in a specific GPO by configuring the following policy settings for the GPO: Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)\Startup and Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)\Shutdown.
|
Run Windows PowerShell scripts first at user logon, logoff
|
Computer Configuration\Policies\Administrative Templates\System\Scripts\
|
Not Configured (Windows PowerShell scripts run after non-Windows PowerShell scripts)
|
Not Configured, Enabled, Disabled
Note
This policy setting determines the order in which user logon and logoff scripts are run within all applicable GPOs. You can override this policy setting for specific script types in a specific GPO by configuring the following policy settings for the GPO: User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\Logon and User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\Logoff.
|
Run Windows PowerShell scripts first at user logon, logoff
|
User Configuration\Policies\Administrative Templates\System\Scripts\
|
Not Configured (Windows PowerShell scripts run after non-Windows PowerShell scripts)
|
Not Configured, Enabled, Disabled
Note
This policy setting determines the order in which user logon and logoff scripts are run within all applicable GPOs. You can override this policy setting for specific script types in a specific GPO by configuring the following policy settings for the GPO: User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\Logon and User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\Logoff.
|
Startup (PowerShell Scripts tab)
|
Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)\
|
Not Configured
|
Not Configured, Run Windows PowerShell scripts first, Run Windows PowerShell scripts last
|
Shutdown (PowerShell Scripts tab)
|
Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)\
|
Not Configured
|
Not Configured, Run Windows PowerShell scripts first, Run Windows PowerShell scripts last
|
Logon (PowerShell Scripts tab)
|
User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\
|
Not Configured
|
Not Configured, Run Windows PowerShell scripts first, Run Windows PowerShell scripts last
|
Logoff (PowerShell Scripts tab)
|
User Configuration\Policies\Windows Settings\Scripts (Logon/Logoff)\
|
Not Configured
|
Not Configured, Run Windows PowerShell scripts first, Run Windows PowerShell scripts last
|