start a batch file on startup as administrator on win 10

0

I want to disable auto-updating on Windows 10. I found out that disabling the service "WINDOWS UPDATE" will do this. It did for some time, but when ever i restart my system it enables itself again and again. So I created batch file that disables it.

@echo off

NET stop "Windows Update"

I put it in startup folder but it worked only if it is executed as administrator. I tried to set properties of the shortcut to "RUN AS ADMINISTRATOR" but it stopped executing on startup.

Then I read about Task scheduler and added this task there but still its not working there even it just shows "The Directory Name is Invalid. (0x8007010B)

batch-file
service
windows-10
scheduled-tasks
startup
asked on Stack Overflow Aug 31, 2017 by Kanha_ji • edited Aug 31, 2017 by Dzianis Yafimau

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0