Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
group : microsoft.public.win32.programmer.wmi      view archive
page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>



Enumerating Local Physical Printers     Thu, 4 Sep 2008 13:51:15 -0700 (PDT)
Although it seems like it should be quite simple, it turns out to be rather difficult to reliably enumerate only local physical printers on a machine. An obvious starting point would be something like: Select * from Win32_Printer where Local=true and Network=false The problem here is that many drivers, such a ...

Use ProcessStartupInformation in JScript or javascript     Thu, 4 Sep 2008 13:41:00 -0700
I am trying to start psexec in a hidden window but can't seem to get it right. When I run the script (actually a HTML Application) I get Error: Object doesn't support this property or method. The line number matches the line where I'm trying to set the property. If I set it to "null" no error and the script ...

XP SP3 fauled things up for WMI...     Thu, 4 Sep 2008 05:45:01 -0700
After installing SP3 on my XP Pro (Dutch) box WMI acts up, throwing error 80041001 when retrieving Win32_Product info locally. WMIDiag complains that the accounts NT AUTHORITY\LOCAL SERVICE, BUILTIN\ADMINISTRATORS, NT AUTHORITY\NETWORK SERVICE en EVERYONE were removed. Also WMIDiag reports no service pack ...

WMI DiskQuota Class     Thu, 4 Sep 2008 11:48:28 +1000
Hi experts, Is the WMI DiskQuota class horribly slow for everyone, or is it just me? It takes 45 seconds (or more) for WMI to retrieve the VolumeSpaceUsed for a user account on my domain, whereas DiskQuota.1 (.dll) takes less than a second. This is using the demo code from Microsoft, and the query is be ...

Inspecting files via IIS     Wed, 3 Sep 2008 17:03:17 -0700 (PDT)
Using WMI's access to IIS objects, I'm trying to write a script that will loop through all my sites, and do something to each site that has a web.config file. I am having trouble finding out which sites have that file. I'm able to loop through all my sites and get the "root" virtual directory (an IIsWebVirtua ...

How to turn this script into a Visual GUI - thoughts?     Mon, 1 Sep 2008 10:32:35 -0400
Gurus, How to turn this script into a Visual GUI - thoughts? The "mybatch.cmd" in the last line is a working batch file that exists in the remote target system. (set/p comp=enter computer name: ) (set/p user=enter user name: ) (set/p pass=enter password: ) psexec \\%comp% -u %user% -p ...

Is it possible to capture plugging/unplugging events of Devices in WMI while the computer is ON     Fri, 29 Aug 2008 03:19:14 -0700 (PDT)
hello, We wanted to know whether it is possible to capture events like if a keyboard is removed while the computer is still ON. We tried out a couple of classes like Win32_Keyboard (used C#) , but it gave only static information i.e eventhough the keyboard was disconnected the Win32_Keyboard class show ...

WMI Authentication problem, PLEASE HELP.     Thu, 28 Aug 2008 14:41:29 -0700 (PDT)
Hi, I'm new to WMI... For the last few months I've been having great success writing Windows Powershell script that would run on the local machine grabbing WMI data and working just fine. Now I need to grab WMI data from some non domain member Windows 2003 SP2 servers remotely and I swear that I'm just a ...

Handle Leak on Windows 2003 Server x64     Thu, 28 Aug 2008 13:51:35 -0700 (PDT)
I have a C++ WMI application that seems to be causing a handle leak on Windows 2003 Server x64. The same application running on Windows XP and Windows 2003 Server 32-bit doesn't exhibit any handle leaks (I have the application running 24x7 on four XP SP2 machines and two 2003 32-bit machines without leaks). Are ...

How can I read the Registry with WMI.NET?     Thu, 28 Aug 2008 02:31:02 -0700
How can I read the Registry with WMI.NET? Should be like this (which is not working): SelectQuery q = new SelectQuery("SELECT * FROM Win32_Registry WHERE Key=HKEY_LOCAL_MACHINE\\SOFTWARE"); ManagementObjectSearcher searchProc = new ManagementObjectSearcher(scope, q); M ...


page nr.: page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>
Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us