Re: HOW TO Assign wmi rights to non-administrators!



The action should work locally as a regular user account.

If you are doing this on a remote computer, you need to:
1. Right click "My Computer"
2. Click "Manage"
3. expand "Services and Applications"
4. Right click "WMI Control"
5. Select "Properties" and assign user right "Enable Account" and "Remote
Enable" to the user account you wish.

--
Scott McNairy
Microsoft MVP - Windows Server Management Infrastructure


"Mantzas" <mantzas@xxxxxxxxxxxxxxxx> wrote in message
news:E56DF236-9160-46AF-BF6C-CB2C7FB9BB92@xxxxxxxxxxxxxxxx
> Hi there,
>
> i am using
> ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT *
> FROM Win32_DiskDrive");
>
> to retrieve information from my disk drive.
> Unfortunatelly, my application runs only for accounts in the
> administrators
> group.
> Any idea of how to perform this as a simple user????
>
> Thanks


.



Relevant Pages

  • Re: HOW TO Assign wmi rights to non-administrators!
    ... This query runs only with the administrator account, ... > The action should work locally as a regular user account. ... > If you are doing this on a remote computer, ... > Microsoft MVP - Windows Server Management Infrastructure ...
    (microsoft.public.win32.programmer.wmi)
  • RE: user account
    ... i think it's something to do with a remote computer that used to be networked ... remote comp had a user account of 'xyz' on it. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Viewing Services remotely
    ... Try using the domain security group policy and giving that user account ... permissions to access that specific reg tree that contains the service ... account listing. ... but when they try to connect to the remote computer ...
    (microsoft.public.windows.server.general)
  • RE: Virtual Directory mapped to Netware server in IIS6 fails
    ... We got "read" working from the remote virtual directory. ... creating a specific user account for this purpose. ... It's username/passwords ... account that exists on the remote computer, but not on the local computer. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Administrator with no password
    ... > BIOS password. ... All I need is a way to make sure that a remote computer ... > cannot log on to local user accounts. ... setting up a user account and if you don't want your users to have ...
    (microsoft.public.win2000.security)