Hi!
I have this weird "Problem". I have captured an Image of Windows 7 64-bit. It works great, and have a pretty long time and have not seen anything strange until today when i was trying to lean how i remotely can Evaluate a Machine Policy Retrieval.
I got the answer from Kazun in this thread how i could do this with powershell (Thanks Kazun!) but i get some weird output from the command that i dont get from our 32-bit win7 image.
I run the WMI-query on my local computer that has the computer name MyComputer123, but the command tries to execute the WMI on a computer named MachineFromCapture, which as the name say, was the name of machine i used to capture my image! Why oh why! :O
PS C:\> $smsclient = [wmiclass]"\\MyComputer123\root\ccm:sms_client" PS C:\> $smsclient.EvaluateMachinePolicy() __GENUS : 1 __CLASS : __PARAMETERS __SUPERCLASS : __DYNASTY : __PARAMETERS __RELPATH : __PARAMETERS __PROPERTY_COUNT : 1 __DERIVATION : {} __SERVER : MachineFromCapture __NAMESPACE : ROOT\ccm __PATH : \\MachineFromCapture\ROOT\ccm:__PARAMETERS ReturnValue : PSComputerName : MachineFromCapture
Does any one have any idea how this is possible? I have search through the whole registry for "MachineFromCapture" but with no hit!
// Clint Eastwood!
EDIT: I Get this output from all computers with the same image.
- Edited by Samus-Aran Tuesday, September 18, 2012 12:36 PM