PS: Creating Registry Entries
Creating an hexadecimal REG_BINARY value: PS cmdlet with syntax: set-itemproperty –path "HKCU:SoftwareMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer" -name "PageSpaceControlSizer" -Type Binary -value ([byte[]]("0xce", "0x00", "0x000", "0x000", "0x000", "0x000", "0x000", "0x000", "0x000", "0x000", "0x000", "0x000")) Verification: C:>reg query "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer" /v PageSpaceControlSizer HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer PageSpaceControlSizer REG_BINARY CE0000000000000000000000 C:> Creating REG_DWORD value: PS cmdlet with syntax: set-itemproperty -path "HKCU:SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu" -name "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" -Type DWORD -value "1" Verification: C:>reg query "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu {F02C1A0D-BE21-4350-88B0-7367FC96EF3C} REG_DWORD 0x1 C:>
Read more