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

Problem running "systeminfo" on remote computer

1,758 views
Skip to first unread message

Ivan

unread,
May 4, 2007, 11:26:52 AM5/4/07
to
Hi all,

I want to write a script for auditing the machines in the network. I
was planning to use the systeminfo command, but had some problems.
Using this syntax:

systeminfo /s RemotePC /u domain\admin /p password >report.txt

Get this error: ERROR: Logon failure: unknown user name or bad
password.

I have administrative rights on the RemotePC with this account. After
a few attempts checked if the user is locked (for wrong password
entering) but it was not. This means that AD was not asked for
checking user, may be.

Any ideas?

tnx,
Ivan

Matthias Tacke

unread,
May 4, 2007, 11:53:19 AM5/4/07
to
Tried here wih psexec \\remotepc systeminfo

where I have an account on remotepc without problem.

Can't test domain\user in lack of a domain ;-)

--
Greetings
Matthias

Ivan

unread,
May 4, 2007, 1:11:58 PM5/4/07
to

Nice workaround :) Haven't tought of it.

I think it will do the work, but nevertheless if we solve the problem,
even just for the sport, would be nice. After all this function is
part of systeminfo, but not functioning.

Thanks again for the advice, Matthias.

br,
Ivan

Ted Davis

unread,
May 4, 2007, 3:25:19 PM5/4/07
to

A recent change here may apply there too. For some MS commands, it is
now necessary to use machine\user or user@domain, but domain\user no
longer works.

--
T.E.D. (tda...@gearbox.maem.umr.edu)
Remove "gearbox.maem." from address - that one is dead

Ivan

unread,
May 4, 2007, 4:56:04 PM5/4/07
to
Nope, no success!!

Just have test it, same result!

Ivan

unread,
May 8, 2007, 12:21:58 PM5/8/07
to
For anyone interested for network audit script:

SET IP=1

:SCAN
psexec \\10.1.1.%IP% /u domain\user /p password systeminfo /fo table
>>audit.txt
SET /A IP=IP+1
IF "%IP%" == "254" GOTO :EOF
GOTO SCAN

Of course change 10.1.1.%IP% with your current network settings.
Define domain\user and password.

Hope it will be useful.

Respect,
Ivan

0 new messages