Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getting IPCONFIG /ALL details from remote system

10,840 views
Skip to first unread message

gacl...@my-deja.com

unread,
Apr 16, 2000, 3:00:00 AM4/16/00
to
I want to get the ip settings for a large number of servers. The
details I want include ip address, subnet mask (basically the
ipconfig /all info.) Anyone know how I can run ipconfig /all remotely
and have the output redirected to my workstation?

cheers,

gaclarke


Sent via Deja.com http://www.deja.com/
Before you buy.

Clay Calvert

unread,
Apr 16, 2000, 3:00:00 AM4/16/00
to
Well if these are your servers you could use the AT command and have
the servers execute the following command:

Ipconfig /all >> \\YourWorkstation\YourShare\ServersIPconfig.txt

Actually you may want to: echo %COMPUTERNAME% also.

Just curious, why do you have to gather this information this way?

Clay Calvert
Replace the "W" in my e-mail address with an "L" to reply.

Bennett Benson

unread,
Apr 18, 2000, 3:00:00 AM4/18/00
to
Don't forget that the default install of the schedule service is as a system
account which will not have network access to output the file to a remote
machine. And, with IE5, it get s worse. The schedule service was replaced with
task scheduler which can't be made to start using anything but the system
account.
I install the RemoteCommand service (from the resource kit) on my servers. Then,
I can just script the whole thing.

rcmd \\server1 ipconfig /all >> c:\logfile.txt
rcmd \\server2 ipconfig /all >> c:\logfile.txt

Better yet, put all your servers in a text file and read them with a for loop.

Bennett

Rick Campbell

unread,
Apr 18, 2000, 3:00:00 AM4/18/00
to
"Bennett Benson" <bennett...@isd.net> wrote in message
news:vapnfskelondmmpa5...@4ax.com...

> Don't forget that the default install of the schedule service is as a
system
> account which will not have network access to output the file to a remote
> machine. And, with IE5, it get s worse. The schedule service was replaced
with
> task scheduler which can't be made to start using anything but the system
> account.

Yes, it can! It only DEFAULTS to the SYSTEM account.

Open the "Scheduled Tasks" folder and click on the "Advanced" menu, then
click on the "AT Service Account" item.
Then select the "account you wish to use. This is the account that will be
used when jobs are scheduled via the AT command or WINAT reskit utility.

Rick.


Bennett Benson

unread,
Apr 18, 2000, 3:00:00 AM4/18/00
to
It's not just the default, the ability to change it is grayed out in control
panel - services - startup. I had no idea that they moved this functionality for
this service to a separate control panel applet. Thanks Rick!

Bennett

On Tue, 18 Apr 2000 00:37:40 -0700, "Rick Campbell" <rick...@speakeasy.org>
wrote:

KENT LARSSON

unread,
Apr 19, 2000, 3:00:00 AM4/19/00
to
> I want to get the ip settings for a large number of servers. The
> details I want include ip address, subnet mask (basically the
> ipconfig /all info.) Anyone know how I can run ipconfig /all remotely
> and have the output redirected to my workstation?

I think of a different way to attack the problem, i haven愒 given this
solution so much thought, but it could work! (anyone who KNOWS it
doesn愒, please scream;-):

0. Create a blank textfile named iplist.txt on \\YOURSERVER\YOURSHARE\
1. Take all computers in your networking enviroment, you could make
something with FOR that checks all IP adresses on the subnets wich
you use and processes each computer it finds.
2. Change the registry on the targeted computer, so that the RunOnce
located in under HKLM\somewhere\cant\remember\where and put
the command you wich to run only once in there, it could be:
3. IPCONFIG /ALL >> \\YOURSERVER\YOURSHARE\iplist.txt

If you as an administrator executes the above explained script, all
computers
wich are currently turned on will be "loaded" with the command. The next
time someone logs in... Or was it the next time the computer starts? The
computer will sends it愀 IP config to be inserted in the list......

Yours sincerly

Kent Larsson, MCP


mallika...@yahoo.com

unread,
Mar 24, 2020, 4:42:08 AM3/24/20
to
On Sunday, April 16, 2000 at 12:30:00 PM UTC+5:30, gacl...@my-deja.com wrote:
> I want to get the ip settings for a large number of servers. The
> details I want include ip address, subnet mask (basically the
> ipconfig /all info.) Anyone know how I can run ipconfig /all remotely
> and have the output redirected to my workstation?
>
> cheers,
>
> gaclarke
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



I found some thing useful for your, here is the link that -

Run IPCONFIG /ALL remotely by using PSEXEC

https://bit.ly/33Il0Sq
0 new messages