The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
10 views

Using batch to verify a process is running with WMIC

I am attempting to write a script that will check if a process is running (in my case a virtual machine) @echo off wmic process where name="VirtualBox.exe" | find "GitHubEnterprise" /c > tmpcount ...
0
votes
1answer
33 views

Run application as user?

I have to deploy some applications in a domain and would like to use WMIC for that. My problem is that I can't run the application as the profile user (without having the password), but just as admin. ...
0
votes
1answer
118 views

Filtering to physical NICs in WMIC on XP

If I enter this in Windows 7 I can filter the NICs to ones that have a physical adapter WMIC NIC WHERE PhysicalAdapter="TRUE" GET /VALUE But in XP all I get is "Invalid Query" because it doesn't ...
0
votes
1answer
675 views

disable network adapter with wmic - access denied (Windows 7 Prof)

I would like to disable the local network card (only one in the computer) by using this command: wmic path win32_networkadapter where index=7 call disable return value is 5 (access denied). I don't ...
0
votes
1answer
797 views

How to pass a variable to a WMI query run in a batch file?

I want to run the following in a batch file and prompt the user to enter "NewUserID", then insert it as a variable. Can this be done with WMI? wmic useraccount where name='user'call rename ...
2
votes
0answers
247 views

wmic - localized values

When using the wmic command, it is possible to specify a locale using /locale:ms_409 which means US English. I am using a German version of Windows XP, which displays some localized values when using ...
1
vote
0answers
95 views

Is WMIC interface values available to change?

On "WMIC" interface (cmd promt \ "wmic" command) the information that I see could be changed??? I mean, could I do the same as I do on Windows registry, just getting and setting the values displayed? ...
0
votes
0answers
95 views

refresh windows network performance counters in command line

I am testing a USB device connected to a windows PC. When the device is connected then windows has another network interface going through the device. I need to get the bytes transffered for that ...
0
votes
0answers
5k views

CMD - Rename Local Computer, Join Domain, Join Specific OU

Alright so not sure if this is entirely possible all in one. Situation: Brand new computer not on the domain, just a local workgroup. Want to change that computers name, join a domain, and put the ...