Re: Using WMI from Within a service.



Hi Mabra,

I was exact, what I said was this:

"You can't use local accounts to connect to remote machines."

That's not the same as what you said:

"but you can local accounts from that remote machine".

mabra wrote:
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.



--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Smart Card Authenticatyion to standalone PC
    ... these work fine for the machines that are connected to my domain for Windows ... to the domain and use local accounts for authentication. ... Smart card logon in Windows requires Kerberos and there ...
    (microsoft.public.security)
  • Re: Rights to local machine
    ... I'm looking for as all machines are built from a standard ... >Inside of GPOs there is Restricted Groups node. ... >should be in the Administrators group on impacted ... >and the local accounts are named the same on all machines, ...
    (microsoft.public.windows.group_policy)
  • lost admin password - can I save local accounts?
    ... so we decided to go to pier to pier network ... >machines to workgroup. ... >forgot to get the password for the local accounts. ... or the local account passwords. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Accessing shares as non-Guest (XP Pro)
    ... >security model for local accounts" is set to Classic. ... >On the other machines this works fine, but not on this machine, for some ... >NTFS, choosing passwords for all local users, disabled and re-enabling the ...
    (microsoft.public.windowsxp.network_web)
  • Re: remote shutdown
    ... Remote computer is on peer network, and I can ping the remote ... Those should work great - if you are a system administrator of the ... Two machines in a workgroup. ...
    (microsoft.public.windowsxp.work_remotely)

Loading