Code: Automated script to install or integrate updates for: - Windows 10 - Windows 11 - Windows Server 2016, 2019, 2022
This is what @mxman2k share to me to fix this issue Code: REM Rename Registered Owner/Winver To Users Name. [ W10+/Server 2016+ ] Section. You have to delete the reg entry first to be allowed to re-enter new details. REG delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v "RegisteredOwner" /f >nul 2>&1 REG add "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v "RegisteredOwner" /t REG_SZ /d "%UserName%" /f >nul 2>&1 I used this regedits in my custom unattend.xml & it worked out
I understood. But from what I read in the code. I think the result when creating a new user, through windows. When you check the new user there will be Haris. Just testing to find out. But I remain with my hypothesis. That's why I asked you to create another user. Just to prove it and eliminate doubt. This makes it even simpler to implement the fix through the toolkit via tweak instead of putting it in unattend.
No. But you can test it too. Use %%UserName%% instead %UserName%. Just create a user with the name TESTER. Logon with the new user. And see if the user name will change in place of "Windows user". That's all we need to know to know if it is necessary to correct the code I placed.