DanielK Posted September 29, 2014 Posted September 29, 2014 when I remote run the command the updatenow does not take effect. please advise. Thanks.
aleph01 Posted September 29, 2014 Posted September 29, 2014 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}") Exit 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, _aleph_ Meds. They're not just for breakfast anymore.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now