Question : Error using schtasks scheduling a task

We have a program called Solomon installed on all desktops on our network. (about 60 desktops, all WinXP) We have an Active Directory domain with Microsoft 2003 servers.

We are upgrading Solomon in a few days and need to remove the Solomon client from all desktops before upgrading the server. We have a program that uninstalls Solomon for us but to save us from going to each desktop we would like to schedule the Solomon removal program to run at 3:00pm on Friday.

The command i am using to schedule the task is:

c:\> schtasks /create /S %computername% /U domain\pctech /P Password /RU domain\pctech /RP Password /SC once /ST 09:22:00 /SD 03/05/2008 /TN TestSolRmv /TR C:\PCTech_tools\SolomonRmv.exe

The error message is:

ERROR: passing the user credential on local connection

Domain\pctech is a domain user that has local admin rights

Thanks for your help!

-TheBigDog

Answer : Error using schtasks scheduling a task

Should be able to remove the software with the LSA...
Try with this batch file:
1:
2:
3:
4:
5:
6:
7:
@echo off
For /F %%a in (C:\Computers.txt) Do call :process %%a
goto :eof
 
:process
set pc=%1
schtasks /create /s %pc% /RU SYSTEM /SC once /ST 15:00:00 /SD 03/07/2008 /TN SolRmv /TR "C:\PCTech_tools\SolomonRmv.exe"
Open in New Window Select All
Random Solutions  
 
programming4us programming4us