A
A
alexxxhost2015-05-29 15:33:32
cmd/bat
alexxxhost, 2015-05-29 15:33:32

Why are *.cmd files not running in the windows scheduler 2012?

Why are *.cmd files not running in the windows scheduler 2012? If you run them from the local admin, then they start. If from the user, then no. The user is included in the Administrators group.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Aitkulov, 2015-05-30
@alexxxhost

make the script run from the "system" account. Tk if the user is not logged in, then the script will not be executed

K
Konstantin, 2015-05-29
@fallen8rwtf

look towards the properties and rights of the file itself (Security tab). And in the scheduler there is an opportunity to choose from which user to run your script

A
alexxxhost, 2015-06-01
@alexxxhost

Rights corrected. A small clarification, the command in the net stop script is not processed. "System error 5. Access denied."

D
Denis, 2015-06-02
@denilenko

I recently encountered something similar. In my case, the problem was that I created a user, gave him the necessary rights, but never logged into the system under him.
PS Just in case: on the "General" tab, are the items "Run regardless of user registration" and "Run with highest rights" checked?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question