I'm trying to put the Microsoft application "Delprof.exe" in the network login script. This program will delete inactive profiles on the computer. It can be downloaded from http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=901A9B95-6063-4462-8150-360394E98E1E
I created the command as:
c:\tqcrunas.exe -dd -w -user Admin -pw password -e "c:\delprof.exe" -a "/q /r /i /d:14"
It runs the program but none of the arguments are being passed to it. Particularly the "/q" which is supposed to supress any prompts. I've tried any different arguments but none are being passed to the program. I can run the program manually with the arguments and it works fine.
Is there any debug options to see what is happening and why?
I've tried using local and network accounts and no account at all.
Thanks!
Never mind...
It wasn't even running in a regular batch file without TQCRunAs. Don't ask me why but it was having a problem with the difference between "DelProf.exe" and "delprof.exe". Changed it to "delprof.exe" and it worked fine.