/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Kace 6.0: Batch Script Successful But Changes Don't Occur

08/21/2015 1377 views
I'm trying to run a script that changes the screen lockout time in the registry. When I run the script by double clicking, the registry changes occur as expected. When I run the script through Kace's registry script, the job is successful, but the changes don't occur. 

Has anyone ran into this issue before? I have other registry scripts that occur fine.

Any help would be appreciated.
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1
If the keys you are trying to modify are under hkcu you need to run batch script as current user after they are logged in so the registry is opened.  Scripts by default run as system.
Answered 08/21/2015 by: SMal.tmcc
Red Belt

All Answers

0
Screen timeout is indeed a user setting held in the HKCU hive, so cannot be changed using a script running under the default system account.
You should be able to set this value using group policy or via a login script.
Answered 08/21/2015 by: EdT
Red Belt

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.
0
Thank you, makes sense now. It works fine when I changed the options.

Thanks for the help!
Answered 08/21/2015 by: ChrisMiller
Senior White Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ