question

MacFarlaneAlastair-7595 avatar image
0 Votes"
MacFarlaneAlastair-7595 asked MacFarlaneAlastair-7595 commented

run psexec on remote pc

Hi

I have a pc with a static ip address that has been moved to a site using DHCP. Can psexec be used to connect to it when the pc is connected to the network of a DHCP site when the pc has a static IP address. I guess not.

I was just wanting to change the IP address from static to DHCP without physically going out to the pc and logging on.

496-use-psexec-to-change-static-ips-to-dhcp-remotely

Cheers,

Alastair



windows-sysinternals-pstools
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mariora avatar image
0 Votes"
mariora answered MacFarlaneAlastair-7595 commented

If you know the remote Ip Address you can always connect to that machine if you have the right credentials.

PSEXEC first parameter is the remote computer name. It can be the Netbios name or the IPAddress.

So
psexec \\10.10.10.129 .....

Will connect to that IP Address and will execute whatever you want

HTH
-mario

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Mariora,

Thanks for the reply. So it makes no difference whether it is static pc at a DHCP site (as is this case) or a DHCP pc at a static site, as an admin I should be able to connect to
the pc?

Cheers.

Alastair

0 Votes 0 ·
MacFarlaneAlastair-7595 avatar image
0 Votes"
MacFarlaneAlastair-7595 answered

Mariora,

Thanks for the reply. So it makes no difference whether it is static pc at a DHCP site (as is this case) or a DHCP pc at a static site, as an admin I should be able to connect to
the pc?

Cheers.

Alastair

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.