This is what I ended up doing. Thanks! Jonathan
On Mon, Apr 18, 2011 at 4:09 PM, Ben Scott <[email protected]> wrote: > On Mon, Apr 18, 2011 at 2:46 PM, Jonathan <[email protected]> wrote: > > Is there any way to change that setting from the command line? I'm trying > to > > make this batch as silent and end-user friendly as possible, and this is > the > > ONLY thing keeping me from deploying it. > > You are running your batch file in a context that doesn't have > system privileges but trying to make system changes. The system stops > you from making those changes. This is by design. > > Tell your users to right-click Run-as-admin the batch file, and then > allow the action when prompted by UAC. > > You might be able to automate the first step, but the user will > always get the UAC elevation prompt. > > -- Ben > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to [email protected] > with the body: unsubscribe ntsysadmin > -- Jonathan, A+, MCSA, MCSE ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
