Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

Problem with Capture with SCCM 2012, reference computer name still in WMI

$
0
0

Hi!

Its a weird thread name! I Know! My problem is that I have captured an image with SCCM 2012 and when i try to request a "machine policy retrieval" through powershell i get results:

PS C:\Windows\system32>  $SMSCli = [wmiclass] "\\.\root\ccm:SMS_Client"

PS C:\Windows\system32> $SMSCli.RequestMachinePolicy()


__GENUS          : 1
__CLASS          : __PARAMETERS
__SUPERCLASS     : 
__DYNASTY        : __PARAMETERS
__RELPATH        : __PARAMETERS
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         : VM-TEST7
__NAMESPACE      : ROOT\ccm
__PATH           : \\VM-TEST7\ROOT\ccm:__PARAMETERS
ReturnValue      : 
PSComputerName   : VM-TEST7




PS C:\Windows\system32> $SMSCli.EvaluateMachinePolicy()


__GENUS          : 1
__CLASS          : __PARAMETERS
__SUPERCLASS     : 
__DYNASTY        : __PARAMETERS
__RELPATH        : __PARAMETERS
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         : VM-TEST7
__NAMESPACE      : ROOT\ccm
__PATH           : \\VM-TEST7\ROOT\ccm:__PARAMETERS
ReturnValue      : 
PSComputerName   : VM-TEST7




PS C:\Windows\system32> hostname
Desktop0999

As you can see the __SERVER and PSComputerName resolves to VM-TEST7 which was the name of my virtual reference machine i used to capture the image with and after I have deployed the image on another machine and name (Desktop0999) I still see tracks of the reference computer.

Everything seems to be working but when i run the methods it takes a very long time for it to complete compared to a computer with an image captured with pure MDT. I don't know if it tries to find in this case VM-TEST7 anywhere but does not find it and it times out.

I had this problem with SCCM 2007 as well but thought that it would be resolved now in 2012.

Any one know if there is a way around this? Should I care?

Thanks!


Viewing all articles
Browse latest Browse all 9126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>