Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ENABLE VISUAL EFFECTS (BORDER SHADOW)
  2.  
  3. New-Itemproperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Citrix" -Name "EnableVisualEffect" -Value 1 -PropertyType DWORD -force
  4.  
  5.  
  6. ## Default Profile
  7. & REG LOAD HKLM\DEFAULT C:\Users\Default\NTUSER.DAT
  8. If (!(Get-Itemproperty -Name "VisualFXSetting" -Path "HKLM:\Default\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" -ErrorAction SilentlyContinue)) {
  9.     New-Item -Path "HKLM:\Default\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" -Itemtype Directory -force | Out-Null
  10.     }
  11.  
  12. New-ItemProperty -Path "HKLM:\Default\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" -Name "VisualFXSetting" -PropertyType DWORD -Value 3 -force
  13. New-ItemProperty -Path "HKLM:\DEFAULT\Control Panel\Desktop" -Name "FontSmoothing" -PropertyType String -Value "2" -force
  14. New-ItemProperty -Path "HKLM:\DEFAULT\Control Panel\Desktop\WindowMetrics" -Name MinAnimate -PropertyType String -Value "0" -Force
  15. New-ItemProperty -Path "HKLM:\DEFAULT\Control Panel\Desktop" -Name DragFullWindows -PropertyType String -Value "0" -Force
  16. New-ItemProperty -Path "HKLM:\DEFAULT\Software\Microsoft\Windows\DWM" -Name EnableAeroPeek -PropertyType DWORD -Value "0" -Force
  17. New-ItemProperty -Path "HKLM:\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name TaskbarAnimations -PropertyType DWORD -Value "0" -Force
  18. New-ItemProperty -Path "HKLM:\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name ListViewShadow -PropertyType DWORD -Value "0" -Force
  19. New-ItemProperty -Path "HKLM:\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name ListviewAlphaSelect -PropertyType DWORD -Value "0" -Force
  20. New-ItemProperty -Path "HKLM:\DEFAULT\Control Panel\Desktop" -Name "UserPreferencesMask" -PropertyType Binary -Value ([byte[]](0x90,0x12,0x97,0x80,0x10,0x00,0x00,0x00)) -force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement