For schtasks command, Do not put "/RP" with u wanna use "/IT". it might not work.
eg.
schtasks /CREATE /S 192.168.1.10 /RU ru_name /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT /f /RL highest
schtasks /CREATE /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT
Subscribe to:
Post Comments (Atom)
2 comments:
nice
Many thanks to the author - it worked fr this particular case. I concede you are a hacker)
Post a Comment