/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


I need to run a script to add SNMP features on 2008 r2 servers.

06/13/2012 2661 views

I have tried to run a script using DISM /online /enable-feature /featurename:SNMP but it needs elavated rates. does anyone know how I can get this to run with KACE?

0 Comments   [ + ] Show comments

Comments


All Answers

2

The Run As section allows you to specify the account to use when deploying - Local System, the currently logged in user or a specified user.  Have you run into issues despite what is set here? 

I've also had different luck with scripts by switching between Online KScript and Offline KScript.

If it's still having problems, this may be a possible solution (or at least get you on the right track):

http://www.insidethe.com/blog/2009/12/how-to-launch-a-wsh-vbscript-as-administrator-in-windows-7-and-vista/

Hope that helps!

John

Answered 06/14/2012 by: jverbosk
Red Belt

  • Thanks jverbosk, i did try using the run as section. It will not run with elevated rights. The vbs work but it still requires user interaction. I need to run the script on 100+ severs and i dont want to connect to all of them.
2

And another possibility here:

http://superuser.com/questions/417493/how-do-i-run-a-command-with-elevated-permissions-within-a-powershell-cmd-exe-ses

John

Answered 06/14/2012 by: jverbosk
Red 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

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