4/24/2009

More PSEXEC

Hier, other usefull psexec commands, let’s take the ip 10.20.198.58 al example:

See remote network configurations in a remote workstation or server:

c:\>psexec \\10.20.198.58 ipconfig /all

Start a command prompt in a remote workstation or server

c:\>psexec \\10.20.198.58 cmd.exe

To see the status of a remote Windows XP SP2 firewall in a domain, type:

C:\>psexec \\10.20.198.58 Netsh firewall show state verbose=enable

You will get a lot information to troubleshoot a windows firewall, but this is not the issue now.

To enable the Windows firewall remotely in a Windows XP SP2, hier the little LAB. Have fun !

C:\>psexec \\10.20.198.58 Netsh firewall set opmode enable

No comments: