Problem:
Entries under the "Timestamp" column of both "System" and "Redirection" pages on the "Inventory Management" section of the ProfileUnity web console do not reflect correct dates and times.
Symptoms:
Both dates and times of "Timestamp" entries under "Inventory Management" are not displayed in the proper format, resulting in the same incorrect timestamp displayed for all recorded entries. See the example screenshots below.
This issue is typically limited to environments where the ProfileUnity host server is using a regional format different from "English (United States)". This format is also set to apply to new users, the Windows "Welcome" screen, and system accounts. Refer to the screenshots below.
While the issue can occur in ProfileUnity 6.8.0, versions 6.8.1 and 6.8.2 will also call out the error below in the ProfileUnity host logs when logging on to the web console or a configuration with an "Inventories" rule initializes during the user logon process of a ProfileUnity-managed desktop.
2019-08-23 04:07:27 [13] ERROR - System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.Convert.ToDateTime(String value)
at ProfileUnity.Licensing.EvaluationModeManager.get_IsExpired()
Possible Resolution(s):
To resolve the issue and allow inventory reporting to resume, perform the steps outlined below.
- On the ProfileUnity host server, run the following command.
"C:\Windows\System32\rundll32.exe" shell32.dll,Control_RunDLL intl.cpl - Once the "Region" properties window is opened, select the dropdown menu and choose "English (United States)" and then click "Apply".
- Continue by clicking the "Administrative" tab and then click the "Copy Settings" button to open the "Welcome screen and new user account settings" window.
- In the "Welcome screen and new user account settings" window, check the "Welcome screen and system accounts" box.
- Click "OK" to close out the window and click "OK" again to close out the "Region" window, applying the new format settings.
- Restart the "ProfileUnity" service.
At this point, the "Timestamp" values in the "System" and "Redirection" pages of "Inventories" should now start being displayed in the proper format and you can optionally delete any previous entries reflecting the incorrect format.
Product: ProfileUnity
Product Version: 6.8.x and newer