G
G
Georgy Gorbachev2014-10-15 13:32:19
Seal
Georgy Gorbachev, 2014-10-15 13:32:19

How to allow a user to run a specific script with admin rights?

Good afternoon, there is a problem with the print queue freezing on Windows 7 as a solution, I wrote a small script and called it DellSpool.bat

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler

Now I can not figure out how to allow users to run it with administrator rights.
I would be grateful for any advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-10-15
@bk0011m

geektimes.ru/post/75090

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question