Change ip address.
Netsh interface ipv4 show interfaces
now take that number in next command name value
Netsh interface ipv4 set address name=2 source=static address=1.2.3.4 mask 255.255.255.0 gateway=1.2.3.1
Rename Windows 2008 server
netdom renamecomputer %computername% /newname:yourcompname /userd:administrator@localhost /password:yourpassword /reboot:0
reboots after 0 seconds dont know whether /y works Join to domain
netdom join %computename% /domain:domainname /user:administrator@domain /passwoird:domainadminpass /reboot:0
turn off firewallnetsh adfirewall set allprofiles state off
Enable remote desktop
winrm quickconfig
Maybe I should try this with /y too.
Vuala you can use remote mmc to manage your server , remoote desktop should be working too.
Commands remotely
winrs -r:servername cscript \path\to\script.vbs /ar
/ar for arguments if you have someI still dont know what to do if you close command prompt. I think it just have to have telnet cripted session not cutted gui it seems like hacked.
Nav komentāru:
Ierakstīt komentāru