I created a system of clearing the print spooler in a W7 standard user account. It consists of a file I found on the internet "Clear Print Spooler.bat" and a shortcut "Clrear Print Spooler" that I put into the desktop of a standard users account. the text of the batch file is as follows:
------@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul -------
the shortcut has admin privilege by selecting Properties.......Advanced and putting a check in "run as admin".
This works fine if in the admin account. But put it into a "standard users" account and the UAC is displayed and the user must input the Admin PW. This is the action I would like to get rid of, ie: the UAC and PW.
------@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul -------
the shortcut has admin privilege by selecting Properties.......Advanced and putting a check in "run as admin".
This works fine if in the admin account. But put it into a "standard users" account and the UAC is displayed and the user must input the Admin PW. This is the action I would like to get rid of, ie: the UAC and PW.
My Computer
At a glance
W7 Ultimate2.2 bh Intel Core i3-2330M4MBOn Board
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Asus
- OS
- W7 Ultimate
- CPU
- 2.2 bh Intel Core i3-2330M
- Motherboard
- Asustek Computer Inc. P53E 1.0
- Memory
- 4MB
- Graphics Card(s)
- On Board
- Sound Card
- On Board
- Monitor(s) Displays
- On Board
- Screen Resolution
- 1366 X 768
- Hard Drives
- ST9500423AS
ST2000DM USB Backup Drive External