Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ensuring only one instance of an app using WMI 1

Status
Not open for further replies.

Excellent Chris. And if WMI is disabled by the administrator, the same function can be used using API calls.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Mike - thanks for the star [smile]

Your point about WMI being disabled is a good one and the FAQ has been amended accordingly.

For those admins who love to 'tinker', (I have a less delicate word for that [wink]), with systems
Microsoft said:
Windows Management Instrumentation Service

Provides a common interface and object model to access management information about operating systems, devices, applications and services.

If this service is stopped, most Windows-based software will not function properly.

If this service is disabled, any services that explicitly depend on it will start to fail.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommander[sup]tm[/sup].net
PDFcommander[sup]tm[/sup].com
 
Chis

If this service is stopped, most Windows-based software will not function properly.

You are not suggesting that if WMI is disabled, that most Windows-based software will not function properly.?

If so I would disagree with that.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Mike said:
You are not suggesting that if WMI is disabled, that most Windows-based software will not function properly.?

If so I would disagree with that.
The quote was from Microsoft - it can be found more than once on the net.

See one source of the quote here, note the real world description,
The Elder Geek said:
If you don't want your computer to work, set this to Disabled.
and one effect of disabling WMI here from Microsoft.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommander[sup]tm[/sup].net
PDFcommander[sup]tm[/sup].com
 
Chris.

My mistake. I was thinking of Windows scripting rather than WMI. You are totally right.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top