Tuesday, June 1, 2021

Power shell to create Win10 "This PC" ICON on ALL users desktop from HKLM:

We can create Win 10 "This PC " shortcut on all users  Machines. Here is the power shells for creating it and add in task sequence. 

#  ============Setting up This PC from Registry from Powershell ============#

Set-Itemproperty -path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel' -Name '{20D04FE0-3AEA-1069-A2D8-08002B30309D}' -value '0' -Type DWord -ErrorAction SilentlyContinue


#  ============Power-Shell   End============#

Note:- HKLM also carry same path which HKCU carry. If you want to set icon "This PC ICON " for all the user so you set value in 

HKLM
:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPane
 



No comments:

Post a Comment