login about faq

To prove you're not a spammer, email newuser.lgqa@gmail.com with the subject "Account Request" to request an account.

In my office we have all recently had our admin rights stripped from our regular accounts and given admin accounts to perform our normal admin tasks. This itself isn't a big deal however it does make things like remote connection a pain.

When we need to remotely connect to a users pc (using Radmin) we have to remotely start the service via sc \[pc number] or PSExec, then connect to the pc and finally remotely stop the service. We need to do it this way for licensing reasons. I wrote a batch file that did this all automatically which worked fine until our admin rights were stripped.

Is there any way in a batch file to run it as an Admin account to start the service then switch to my regular account to remotely connect and then switch back to the admin account to stop the service? I can do it via run as but that means I would always have to enter my password.

asked Dec 05 '12 at 06:51

Greyham's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 05 '12 at 06:51

Seen: 503 times

Last updated: Dec 05 '12 at 06:51