Cleaned Up Registry Folder/Imports
This commit is contained in:
parent
5997afae1f
commit
e0561e076c
@ -1,5 +1,5 @@
|
||||
# Define the directory containing the .reg files
|
||||
$regFilesDir = "C:\Scripts\StartLayouts"
|
||||
$regFilesDir = "C:\Scripts\Patches\Registry"
|
||||
|
||||
# Get an array of all .reg files in the directory
|
||||
$regFiles = Get-ChildItem -Path $regFilesDir -Filter "*.reg"
|
||||
@ -13,4 +13,4 @@ foreach ($regFile in $regFiles) {
|
||||
Taskkill /F /IM explorer.exe
|
||||
Start-Process explorer.exe
|
||||
|
||||
Write-Host "Taskbar layout successfully imported..."
|
||||
Write-Host "Registry changes successfully imported..."
|
||||
@ -61,10 +61,10 @@ winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent
|
||||
:: Enable UAC
|
||||
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 1 -Force
|
||||
|
||||
:: Set Taskbar Layout for All Users
|
||||
echo Setting Taskbar Layout...
|
||||
powershell -ExecutionPolicy Bypass -File "C:\Scripts\StartLayouts\Set-Taskbar-Layout.ps1"
|
||||
echo Taskbar Layout is Set...
|
||||
:: Import Registry Changes
|
||||
echo Importing Registry Changes...
|
||||
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Patches\Windows\Import-Registry-Changes.ps1"
|
||||
echo Registry Changes Imported...
|
||||
|
||||
:: Delete Shortcuts from Public Desktop Folder
|
||||
echo Deleting Shortcuts from Public Desktop Folder...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user