Home » username variable

Tag: username variable

Windows 2008 R2 change "My Computer" to be %username% on %computername%

You cannot edit this as the administrator, (only trustedinstaller is given write access) so you must take ownership of the parent registry key/s first, then assign your accounts rights to write to the key.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=”Computer”
“LocalizedString”=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,
25,00,20,00,6f,00,6e,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,
00,72,00,6e,00,61,00,6d,00,65,00,25,00,00,00