The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
0answers
23 views

How to install WMIC on windows xp home? [on hold]

I've downloaded http://download.microsoft.com/download/.NetStandardServer/Install/V1.1/NT5XP/EN-US/WMITools.exe and installed it. But there is no file windows/system32/wbem/wmic.exe I've copied wmic ...
2
votes
1answer
79 views

WMI command line event log acess

Can someone explain me how to get access to arbitrary system logs in eventlog service files? Now I'm poking around WMI(wmic.exe) and trying to execute following commands: For system services like ...
1
vote
1answer
48 views

wmic hanging on remote server?

Based on information from my previous question, I'm trying to learn wmic. I'm playing around with trying to look at which processes are using the most resources on a remote server. What I've managed ...
4
votes
3answers
96 views

How do I launch a command on a remote computer with an invalid domain trust? (using local creds)

I intend to use WMIC to reset the trust of a machine that is remote, and off the network. All of the following variations result in an "access denied": The following works fine: net use ...
1
vote
1answer
231 views

WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED

Myself new to wmic and keep trying for a long time with default agent query approach. wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
0
votes
0answers
65 views

wmic on Linux giving unexpected results

I've been using WMIC for Linux (http://www.aldeid.com/wiki/Wmic-linux) to run WQL queries against some Windows computers to try and find some information about them. I've written some code to take the ...
1
vote
0answers
235 views

WMIC with XCopy: Copy file from Remote System to Shared Location

Today I found one issue where, I would like your help... Situation: I want to copy my remote file (which is not shared directly) to other system (which is shared) so, basically it's like Remote ...
1
vote
1answer
410 views

WMIC mystery - why is this query invalid?

Why is this an invalid query? wmic service where 'caption like "%documentum%"' get name, caption Node - PE95AOECM ERROR: Description = Invalid query This is the expected output: ...
0
votes
0answers
165 views

Unable to get loadpercentage WMIC remotely

I want to get CPU charge using winexe (Debian execute winexe to a Windows Server 2003) When i try locally this commande: wmic cpu get loadpercentage it work. But, from my Debian when i try this ...
0
votes
1answer
131 views

How can I get Control Panel's Add/Remove programs list?

Ho can I obtain/export the Windows Control Panel Add/Remove programs list using WMI or VB script?
4
votes
3answers
472 views

How to detect current media type in CLI under Windows? (DVD-RW, BD-R, etc)

How to detect current media type in CLI under Windows? (DVD-RW, BD-R, etc) I've tried with wmic cdrom get /format:list but no info about the current media type. I want to detect if the disc is a CD, ...
0
votes
1answer
194 views

How to find a user in a specific group using wmi

I have added a "SearchingUser" user to administrators group of a remote server "RemoteServer". I am trying to verify the user is added to the server using WMIC and this is the command: wmic ...
0
votes
1answer
456 views

WMIC command to find update

Is there a way to find if multiple MS updates are installed using WMIC command: wmic qfe | find ? Thanks
2
votes
2answers
2k 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 ...
1
vote
0answers
542 views

wmic shows network drives as used that have been unmapped

I have a script running on Windows 7 Professional SP1 x64 that maps the first available network drive to a network resource, uses it, and then deletes the mapping. Unfortunately, after deleting the ...
2
votes
2answers
395 views

WMI is showing wrong version of Microsoft Access

We use Microsoft Access for certain database functions and as most of you already know an Access database can be very grumpy when accessed by an outdated version of Access. In order to control this I ...
0
votes
1answer
6k views

How to use WMIC to connect to remote machine and output netstat to a file?

I'm trying to issue the following command remotely: netstat -ano > C:\output.txt but cannot figure out how to do that with WMIC! Any idea? I've got: process call create netstat.exe working but ...
0
votes
1answer
402 views

How can I use WMIC to add an user to the administrator of a remote computer?

Does anyone know of a way (other than psexec) to add a user to the local administrators group of a remote machine? I'm having trouble figuring out the syntax for wmic.
1
vote
2answers
701 views

Getting Win32_Service security descriptor using VBScript

I am using VbScript for retrieving the securitydescriptor of a Win32_Service. I am using the following code: SE_DACL_PRESENT = &h4 ACCESS_ALLOWED_ACE_TYPE = &h0 ACCESS_DENIED_ACE_TYPE = ...
0
votes
1answer
307 views

wmic change default output format(get only process executable path)

Using wmic to get information about process. wmic process where processid="<PID>" gives many details (Caption, creationtime, arguments, ExecutablePath etc) . Right now I am processing the ...
1
vote
1answer
786 views

How can I best learn “wmic” the Windows WMI command line tool?

I'm interested in learning how to use WMIC, but I'm confused on where to begin. How does this tool compare to PowerShell? Can Powershell do everything WMIC can... and more?
0
votes
1answer
318 views

Limit on WMIC requests from a Windows Service

Does anyone know if there is limit on how many wmic requests Windows can handle simultaneously if they are originating from a Windows service? The reason I'm asking is because my application fails ...
0
votes
3answers
797 views

wmic hangs in Cygwin

If I open Cygwin in rxvt, running wmic does not show the expected wmic:root\cli> prompt. If I execute C:\cygwin\bin\bash.exe from cmd.exe, running wmic inside bash.exe returns the expected prompt. ...
1
vote
3answers
3k views

Getting Windows EventViewer CSV file from Command-line

EventViewer in Windows has the ability to export a log to a CSV file. I would like to automatically make a backup of that log in that format (as has been done manually in the past few years). It's a ...
0
votes
3answers
2k views

How to shutdown remote Win2k8 machine using WMIC?

What is the exact syntax to shutdown remote Win2k8 server using WMIC? (The reason WMIC must be used is because the remote machine in a different NT Domain and the local machine does not have access ...
2
votes
1answer
3k views

Remote installing an msi on citrix servers using WMI

OK, I'm a C# programmer that is trying to streamline the deployment of a custom windows form app I inherited and built an installer for with WiX (this app will need to be reinstalled regularly as I'm ...
1
vote
2answers
3k views

WMIC returns error when querying product

I'm trying to automate the installation of an MSI on my server, however before the installation can go ahead I need to uninstall the previous version from the server. Searching on the internet I've ...
0
votes
2answers
3k views

How do I copy a network file using wmic on a remote computer?

I'm an admin of a domain and im trying to run a wmic script to copy a file on a remote pc from another remote pc. My command: WMIC /NODE:@"C:\compList.txt" PROCESS CALL Create "xcopy ...