Post by Stuart on Sept 14, 2018 18:03:09 GMT
I've been seeing this weird error off and on for a while now on version 2.10.4.0. When I try an older version, like 2.9.6, it works OK.
The problem is, UI++ will crash while running the DefaultValues action.
I've only observed it starting UI++ from within Windows 7 X86, never in WinPE. It could happen in Win10 or Win7 X64, I don't know - most of our tasks started from Windows are to move users away from Win7 X86.
This is the log:
This is the config that will cause it to crash
Interestingly, I found a work-around that involves specifying each of the "ValueTypes" - as far as I can tell, it's pulling in all the information that it would normally this way
This config works:
The problem is, UI++ will crash while running the DefaultValues action.
I've only observed it starting UI++ from within Windows 7 X86, never in WinPE. It could happen in Win10 or Win7 X64, I don't know - most of our tasks started from Windows are to move users away from Win7 X86.
This is the log:
UI++ version: 2.10.4.0. UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Not running from within a Task Sequence UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
* config: http://URL/Path/Testing/X64-BlankTest.xml UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Downloading configuration file from http://URL/Path//Testing/X64-BlankTest.xml: Success. UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Loading configuration file "C:\Users\STUART~1\AppData\Local\Temp\u1sw.0": No error UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Loading VBScript environment: Success. UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Begin configuration file read UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Found <DefaultValues> Action: UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
Initiating <DefaultValues> Action: UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
* Populating Default Values UI++ 9/14/2018 2:51:28 PM 2348 (0x092C)
* Getting user information... UI++ 9/14/2018 2:51:30 PM 3136 (0x0C40)
+ Set the task sequence variable 'XUserDisplayName' to the value 'Stuart' UI++ 9/14/2018 2:51:30 PM 3136 (0x0C40)
+ Set the task sequence variable 'XUserSAMAccountName' to the value 'DOMAIN\stuart' UI++ 9/14/2018 2:51:30 PM 3136 (0x0C40)
+ Set the task sequence variable 'XUserIsLocalAdmin' to the value 'False' UI++ 9/14/2018 2:51:30 PM 3136 (0x0C40)
- Could not WMI open namespace root\cimv2\Security\MicrosoftTpm: Access denied
[root\cimv2\Security\MicrosoftTpm] UI++ 9/14/2018 2:51:36 PM 3136 (0x0C40)
* Getting OS information... UI++ 9/14/2018 2:51:37 PM 3136 (0x0C40)
This is the config that will cause it to crash
<?xml version="1.0" encoding="utf-8"?>
<UIpp Title="My OSD" Icon="my.ico" Color="#002120" AlwaysOnTop="False">
<Actions>
<Action Type="DefaultValues"/>
<Action Type="UserAuth" Title="User Authentication" Domain="domain1.fqdn" MaxRetryCount="5" >
<Field Name="Domain" List = "domain1.fqdn,domain2.fqdn" AutoComplete="true"/>
</Action>
</Actions>
</UIpp>
Interestingly, I found a work-around that involves specifying each of the "ValueTypes" - as far as I can tell, it's pulling in all the information that it would normally this way
This config works:
<?xml version="1.0" encoding="utf-8"?>
<UIpp Title="My OSD" Icon="my.ico" Color="#002120" AlwaysOnTop="False">
<Actions>
<Action Type="DefaultValues" ValueTypes="OS,Net,TPM,Asset,Domain,Mgmt,VM"/>
<Action Type="UserAuth" Title="User Authentication" Domain="domain1.fqdn" MaxRetryCount="5" >
<Field Name="Domain" List = "domain1.fqdn,domain2.fqdn" AutoComplete="true"/>
</Action>
</Actions>
</UIpp>