im trying to run this reg file but on some machines it pop ups for confirmation and on some this is not running .

Launch a program... $(KACE_SYS_DIR)
File:    cmd.exe
Parameters: /c regedit /s  "$(KACE_DEPENDENCY_DIR)\ProxyEnable.reg"

also how can enable proxy settings for all users logging into a computer via KACE?
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
2 Comments   [ - ] Hide Comments


  • Are you running the script as the currently logged in user?
  • nope i use the last option.

    Run the Online Shell Script and KScripts in the context of specified credentials.
    • The settings most likely won't apply to the current user, in that case.
Please log in to comment

Community Chosen Answer


If it's prompting UAC, it's trying to write to a protected area, either HKLM or a user other than the currently logged-in one.

I say again: Group Policy is the way to do this.
Answered 06/16/2017 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity


Any client I've ever been at has done this via Group Policy.
Answered 06/16/2017 by: VBScab
Red Belt

  • yes that whats i planned but our team wants to do it for only few selected employees ,thats why had to check for other options..
Please log in to comment
GPOs can be scoped using AD groups.
Answered 06/16/2017 by: VBScab
Red Belt

Please log in to comment
I deploy registry keys via Offline Kscript. I upload the reg file and a simple batch file which executes the registry command. I then execute the batch file from the script.
Answered 06/16/2017 by: rockhead44
Red Belt

  • can u share the screen shot or steps, my script works but UAC window pops up with do you want to make this change, how can i skip this?
    • I upload my .reg and .bat files
      For Task 1:
      Verify - Run a batch file (input my batch commands)

      That's it. I haven't run into any UAC problems with my scripts so I can't help you there.
Please log in to comment
If you are trying to write to the HKCU hive, you will need to run it as the current user or for a selected account.
Have you tried using the "Set a registry value" option or REG ADD in scripts instead of trying to import?This should get you around the UAC problem.
Answered 06/16/2017 by: Desktop Jockey
Second Degree Green Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.


Assuming its the k1 you are working on why don't you use a script to deploy it to your


Choose new script .....add new task...... set registry value.

You can set any reg keys there


Answered 06/19/2017 by: akmagnum
Red Belt

Please log in to comment