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

How to use WMIC.EXE to access remote registry?

1,990 views
Skip to first unread message

Hans

unread,
May 12, 2006, 4:17:02 AM5/12/06
to
Hi, i try to create a batch file with WMIC.EXE to create/delete registry keys
on remote machines and found no example or any usable documentation about
that (only that it should be possible, but no example or needed command line
parameters).

I'm aware of many VB scripts at scriptcenter / technet, but nothing with
WMIC.EXE. Unfortunatly my boss isn't willing to accept VB, as an alternativ
only a Perl-script.

Does anybody have experience with this kind of usage of WMIC.EXE ?
Thanks, Hans

August Quint

unread,
May 12, 2006, 5:21:42 AM5/12/06
to
Hello Hans,

I have not much experience with WMIC, only played a bit with it, but in
another thread here I wrote about using it. So here is my example:
>>
And also I can access the remote machine via the command-line:
C:\>wmic /node:10.3.9.163 /user:LisaG /password:Autobus1 BIOS get
biosversion
<<

hope that helps
August

"Hans" <Ha...@discussions.microsoft.com> schrieb im Newsbeitrag
news:8A2FFA2B-A712-4705...@microsoft.com...

Hans

unread,
May 12, 2006, 5:32:02 AM5/12/06
to
Hello Augst,

sorry that doesn't help me further, because the standard examples i all read
before. I need especially the registry handling which is very poorly
documented.
Regards
Hans

August Quint

unread,
May 12, 2006, 7:16:46 AM5/12/06
to
Hello Hans,

I tried Google and I found this example:
Wmic /namespace:\\root\default class stdregprov call EnumKey
sSubKeyName="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\"

Google found it here: http://www.supersupport.org/wmic_priklady.htm

hope that helps.
August

"Hans" <Ha...@discussions.microsoft.com> schrieb im Newsbeitrag

news:7F4E3550-2A5F-40A7...@microsoft.com...

0 new messages