Post by probsty on Sept 27, 2019 14:45:30 GMT
Good morning!
Thank you for UI++! It is an awesome tool and I appreciate your hard work in creating it. I use it as a prestart command specifically for the SMSTSPreferredAdvertID. However, I removed it for our summer imaging when we received new hardware and when I went to put it back it, it now doesn't keep the names. It gives me the generic "MININT-%%%%%%%". I have tried a bunch of trial and error to no avail. I saw a thread recently where you said it had to do with the unnattend file but I wasn't having the problem previously. Any assistance you can provide would be greatly appreciated! Hope you have a fantastic weekend!
Thanks,
Probsty
<UIpp Title="" Icon="UI.ico">
<Actions>
<Action Type="DefaultValues" ValueTypes="Asset" ShowProgress="True" />
<Action Type="WMIRead" Variable="ComputerName" Namespace="root\cimv2" Class="Win32_ComputerSystem" Property="Name" />
<Action Type="WMIRead" Variable="Serial" Namespace="root\cimv2" Class="Win32_SystemEnclosure" Property="SerialNumber" />
<Action Type="Input" Name="ComputerName" Title="Computer Name" ShowBack="True" >
<TextInput Question="Is this PC name correct?" Variable="PCName" Hint="%ComputerName%" Prompt="Computer Name" Default="%ComputerName%"/>
</Action>
<Action Type="TSVar" Name="SMSTSPreferredAdvertID">CVS20237</Action>
<Action Type="TSVar" Name="OSDComputerName">%PCname%</Action>
</Actions>
</UIpp>
-- UI++ Startup ---------------------------------------- UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
UI++ version: 2.11.1.2. UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Running from within a Task Sequence UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Loading configuration file "UI++.xml": No error UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Loading VBScript environment: Success. UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Begin configuration file read UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Found <DefaultValues> Action: UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Initiating <DefaultValues> Action: UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
* Populating Default Values UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
* Getting asset information... UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWChassisType' to the value 'Laptop' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWAssetTag' to the value 'No Asset Information' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWSerialNumber' to the value 'R90QWR0J' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWManufacturer' to the value 'LENOVO' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWModel' to the value '20LQS00000' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWLenovoModel' to the value 'ThinkPad 11e 5th Gen' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWProduct' to the value '20LQS00000' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWMemory' to the value '3919' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWUUID' to the value '4B54914C-2950-11B2-A85C-83AD2B2196C8' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUArchitecture' to the value 'x64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XOSArchitecture' to the value 'x64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
* Getting CPU information... UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUVendor' to the value 'GenuineIntel' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPULogicalCount' to the value '64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUPAE' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUNX' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUSSE2' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XSystemUEFI' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XSystemSecureBoot' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XOnBattery' to the value 'False' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
Found <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Loaded WMI value from (namespace) root\cimv2, (class) Win32_ComputerSystem, (property) Name, (key) : MININT-E02Q3VR UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'ComputerName' to the value 'MININT-E02Q3VR' UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Found <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Loaded WMI value from (namespace) root\cimv2, (class) Win32_SystemEnclosure, (property) SerialNumber, (key) : R90QWR0J UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'Serial' to the value 'R90QWR0J' UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Found <Input> Action: ComputerName UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <Input> Action: ComputerName UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Adding <TextInput> Input: Is this PC name correct? UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'PCName' to the value 'ST1T1-28616' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
> OK button pushed ... moving to next action. UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Found <TSVar> Action: SMSTSPreferredAdvertID UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Initiating <TSVar> Action: SMSTSPreferredAdvertID UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
+ Set the task sequence variable 'SMSTSPreferredAdvertID' to the value 'CVS20237' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Found <TSVar> Action: OSDComputerName UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Initiating <TSVar> Action: OSDComputerName UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
+ Set the task sequence variable 'OSDComputerName' to the value '-28616' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
-- UI++ Finished ---------------------------------------- UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
UI++ version: 2.11.1.2. UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Running from within a Task Sequence UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Loading configuration file "UI++.xml": No error UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Loading VBScript environment: Success. UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Begin configuration file read UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Found <DefaultValues> Action: UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
Initiating <DefaultValues> Action: UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
* Populating Default Values UI++ 9/26/2019 2:22:17 PM 1716 (0x06B4)
* Getting asset information... UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWChassisType' to the value 'Laptop' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWAssetTag' to the value 'No Asset Information' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWSerialNumber' to the value 'R90QWR0J' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWManufacturer' to the value 'LENOVO' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWModel' to the value '20LQS00000' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWLenovoModel' to the value 'ThinkPad 11e 5th Gen' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWProduct' to the value '20LQS00000' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWMemory' to the value '3919' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XHWUUID' to the value '4B54914C-2950-11B2-A85C-83AD2B2196C8' UI++ 9/26/2019 2:22:18 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUArchitecture' to the value 'x64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XOSArchitecture' to the value 'x64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
* Getting CPU information... UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUVendor' to the value 'GenuineIntel' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPULogicalCount' to the value '64' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUPAE' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUNX' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XCPUSSE2' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XSystemUEFI' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XSystemSecureBoot' to the value 'True' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
+ Set the task sequence variable 'XOnBattery' to the value 'False' UI++ 9/26/2019 2:22:20 PM 1748 (0x06D4)
Found <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Loaded WMI value from (namespace) root\cimv2, (class) Win32_ComputerSystem, (property) Name, (key) : MININT-E02Q3VR UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'ComputerName' to the value 'MININT-E02Q3VR' UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Found <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <WMIRead> Action: UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Loaded WMI value from (namespace) root\cimv2, (class) Win32_SystemEnclosure, (property) SerialNumber, (key) : R90QWR0J UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'Serial' to the value 'R90QWR0J' UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Found <Input> Action: ComputerName UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
Initiating <Input> Action: ComputerName UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
* Adding <TextInput> Input: Is this PC name correct? UI++ 9/26/2019 2:22:20 PM 1716 (0x06B4)
+ Set the task sequence variable 'PCName' to the value 'ST1T1-28616' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
> OK button pushed ... moving to next action. UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Found <TSVar> Action: SMSTSPreferredAdvertID UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Initiating <TSVar> Action: SMSTSPreferredAdvertID UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
+ Set the task sequence variable 'SMSTSPreferredAdvertID' to the value 'CVS20237' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Found <TSVar> Action: OSDComputerName UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
Initiating <TSVar> Action: OSDComputerName UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
+ Set the task sequence variable 'OSDComputerName' to the value '-28616' UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)
-- UI++ Finished ---------------------------------------- UI++ 9/26/2019 2:22:32 PM 1716 (0x06B4)