New ideas to restore system administrator password with Gene (3)

  
        Step 6: Of course, in order to enable us to execute commands in batches to improve the efficiency of our remote execution, we can write the instructions in a file and then execute them remotely by the gene, so we create a suffix of cmd with the name xx. P> Batch execution file, the content is as follows -

@echo off

echo "Adding user. User name softer, password 123"

net user softer 123 /Add

net localgroup Administrators softer /add

@echo on

Save xx.cmd to the c:\\Windows directory on the remote server. (Figure 5)

Figure 5

Step 7: Next we use the FTP login tool to execute the corresponding script program. The author uses Flashfxp as an example. (Figure 6)

Figure 6

Copyright © Windows knowledge All Rights Reserved