0

While on Windows 7, I've created a lot of batch files (.bat) to automate some tasks.

Now that I've moved to a different machine with Windows 10 (we've skipped Win8), I'm having some issues with them.

My domain user was added to the machine's local Administrators Group and I've disabled UAC (just as I had on Win7).

To be able to control Services (net stop, net start), the Command Prompt must be running as Administrator. This can be achieved by setting an advanced property in a shortcut to the batch file (quite annoying since I have many), but it won't work if I want the batch file to run on startup (in the Startup folder of the Start Menu) — the batch file will just not start if "Run as administrator" is set on its shortcut.

I can't seem to find a solution to this problem - what I find is either about Win7, require some additional commands in the batch files (such as runas) or giving rights to specific services. I don't think I had to jump thru any hoops in Win7 for this to work, but it's been a while.

Goozak
  • 191

0 Answers0