Re: Using WMI from Within a service.



Hi !

Be exact:You cannot use local system accounts, but you can "local accounts from that remote machine". I do it all the day, where my domain accounts are invalid, for example, on machines wich are not member of a domain.

If the remote machine may be named box1, you can connect with an account named "box1\localUser" [naturally, that account must have the right rights].

Best regards,
Manfred

Gerry Hickman wrote:
Scooby wrote:

But, this would only get you enough rights on your PC, for wmi, and not remote machines.

Exactly. You can't use local accounts to connect to remote machines. WMI works best when you have a domain and then you can use impersonation (Windows integrated) instead of having to keep passing username and password.

.



Relevant Pages

  • Re: Managing Domain workstations
    ... If this machine is part of the domain and you have authenticated as a domain admin on this remote machine and you are being blocked then you will need to take ownership and modify the permissions so you can gain access to the files. ... b- "do not allow anonymous enumeraation of SAM accounts and shares" it should ... c- "force network logons using local accounts to authenticate as Guest" ...
    (microsoft.public.windows.server.active_directory)
  • Re: List all domain accounts on remote machine
    ... NT\CurrentVersion\ProfileList to list all the users on a remote machine ... then use that information to get other information from Active Directory. ... can I find out which accounts are local accounts and which are domain ... SID values are very different for local and domain accounts. ...
    (microsoft.public.scripting.vbscript)
  • Re: Password "security" - was"Passwords with Lan Manager (LM) under Windows" and
    ... using local accounts, one could easily boot to an alt OS and replace the SAM ... since the local admin owns the EFS ... > Regarding laptop security, you're in the same boat as the rest of us. ...
    (Pen-Test)
  • Re: Multiple Applications on TS
    ... Why on earth would you want to maintain local accounts, ... MCSE, CCEA, Microsoft MVP - Terminal Server ... > server,the group policy is not in effect.Is group policy meant ...
    (microsoft.public.windows.terminal_services)
  • Re: External Trust - Cant see share contents
    ... Use the universal groups to configure the share access permissions. ... Windows Server 2003 Domain with an External Trust to the remote ... are Share = Local group with local accounts have Change. ...
    (microsoft.public.windows.server.active_directory)

Loading