Cal Poly EE IT Posted May 28, 2019 Report Share Posted May 28, 2019 Hi Everyone, I have been having issues with getting Sysprep to read in our computer asset tags and setting them as the computer name. As far as I know, all this requires is setting the WMI property to be the highest priority in the answer file like so: <identification skip="0"> <!-- 0 = Assign a new computer name automatically, 1 = Use the following naming method --> <naming_mode /> <naming_methods> <method>WMI</method> <method>CUSTOM</method> <method>EXISTING</method> </naming_methods> <custom_naming_scheme>EE####</custom_naming_scheme> <prefix></prefix> <wmi_query>SELECT SMBIOSAssetTag FROM Win32_SystemEnclosure</wmi_query> </identification> At its current state, Sysprep is randomizing the computer name and giving computers values like "WIN-LVCP52GBPMP" or other related "WIN" names. This leads me to believe that the above portion of XML is somehow completely disregarded. Perhaps something like the script mentioned here may help me but the attachment has been removed. (For reference, we are testing on a Dell Optiplex 790 and 7010. I have made sure to update their BIOS's and platform packs as well). Any insight would be greatly appreciated! Thank you. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now