Update password of a scheduled task

Does anybody know what is the way to change the password of a scheduled task?

Invoking C# code or VB would do the trick.
Thanks in advance!

You can run a command like this:
schtasks.exe /change /S remotemgmt /tn "Mytask" /Ru domain\UberUser /Rp PassWord

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.