Jump to content
Sign in to follow this  

How to remote trigger wuauclt /updatenow

Recommended Posts

Need more details, but assuming you're using Windows, I offer you this code to be used with psexec.

;  Remote Command Prompt.au3

$remoteName = InputBox ("Computer Name", "Enter the remote computer name to manage through a command prompt window on your desktop.")
$remoteName = "\\" & $remoteName
If $remoteName = "\\" Then Exit
ShellExecute ("C:\Windows\System32\cmd.exe", "/admin")
WinWait ("Administrator:")
Send ("psexec " & $remoteName & " cmd{ENTER}")

It opens a remote command prompt that allows you to do anything you could do if you were sitting at the remote console looking at a command prompt.  You'll need psexec.exe on your system and the remote system (system32 folder would work nicely).

Good luck,


Meds.  They're not just for breakfast anymore. :'(

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...