Merge pull request #1 from jhalag/3D-Objects

Add remove option for '3D Objects'
pull/4/head
Nishant Bhandari 3 years ago committed by GitHub
commit 89356bd2a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -374,6 +374,13 @@ Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer
# New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" # New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}"
# New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}" # New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}"
# Remove 3D Objects icon from computer namespace
# Write-Host "Removing 3D Objects icon from computer namespace..."
# Remove-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" -Recurse -ErrorAction SilentlyContinue
# Add 3D Objects icon to computer namespace
# New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}"
## Add secondary en-US keyboard ## Add secondary en-US keyboard
#Write-Host "Adding secondary en-US keyboard..." #Write-Host "Adding secondary en-US keyboard..."
#$langs = Get-WinUserLanguageList #$langs = Get-WinUserLanguageList
@ -1051,4 +1058,4 @@ Write-Host
Write-Host "Press any key to restart your system..." -ForegroundColor Black -BackgroundColor White Write-Host "Press any key to restart your system..." -ForegroundColor Black -BackgroundColor White
$key = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") $key = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
Write-Host "Restarting..." Write-Host "Restarting..."
Restart-Computer Restart-Computer

Loading…
Cancel
Save