Answer the question
In order to leave comments, you need to log in
How to execute a script on a remote machine without a password?
Hello.
There is a computer, win7x64, outside the domain (workgroup), it has a vnc server, an antivirus (kaspersky free or eset) and other trading software. The account is included one - administrator's WITHOUT the password. This is the main bug.
I want to pour some settings with a script, but neither psexec, nor vnc, nor DameWare can help me, they all need an admin password, which is not there.
Powershell in the invoke-command part requires a computer-name, and I only have an IP, which is no good.
Script example:
for /F %%i in (iplist.txt) do (psexec64.exe %%i bcdedit /set {current} bootstatuspolicy ignoreallfailures)
for /F %%i in (iplist.txt) do (psexec64.exe -u Administrator %%i bcdedit /set {current} bootstatuspolicy ignoreallfailures)
Answer the question
In order to leave comments, you need to log in
- As an option, create another account and run from it.
- Admin account without a password - bad.
Try again like this -
Start - Run - gpedit.msc - Computer Configuration - Windows Settings - Local Policies - Security Options - Accounts: Restrict use of blank passwords only for console login, set to "Disable".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question