fixed issue with registy entries
This commit is contained in:
Kurtis
2025-10-30 20:11:11 +10:00
parent c9554e06a7
commit 4719084f2f

View File

@@ -56,10 +56,10 @@ Function Set-Login {
$download = "https://git.tcmeta.net/kurtis/win95ify-11/raw/branch/main/login.png"
Invoke-WebRequest $download -Out "$folderPath\login.png"
Write-Host "Updating Login Screen"
New-ItemProperty -Path "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "LockScreenImage" -Value "$folderPath\login.png" -PropertyType "String" -Force
New-ItemProperty -Path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImageStatus" -Value "00000001" -PropertyType "DWord" -Force
New-ItemProperty -Path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImagePath" -Value "$folderPath\login.png" -PropertyType "String" -Force
New-ItemProperty -Path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImageUrl" -Value "$folderPath\login.png" -PropertyType "String" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "LockScreenImage" -Value "$folderPath\login.png" -PropertyType "String" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImageStatus" -Value "00000001" -PropertyType "DWord" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImagePath" -Value "$folderPath\login.png" -PropertyType "String" -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" -Name "LockScreenImageUrl" -Value "$folderPath\login.png" -PropertyType "String" -Force
}
Function Set-WallPaper($Image) {
@@ -220,7 +220,7 @@ do {
switch ($choice) {
"1" {
Write-Head "Installing everything in no particular order"
Write-Host "Installing everything in no particular order"
Set-Login
Set-Wallpaper
Update-Wallpaper
@@ -231,7 +231,7 @@ do {
Install-OpenShell
Install-JCReborn
Install-Clippy
Write-Head "All Done!"
Write-Host "All Done!"
Pause
}
"2" {