Skip to content

Commit

Permalink
v4.16.0
Browse files Browse the repository at this point in the history
- location notifications turned off
- unnecessary vmware serial key function removed
  • Loading branch information
caglaryalcin committed Oct 21, 2024
1 parent dfa5927 commit a5416ac
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 42 deletions.
12 changes: 0 additions & 12 deletions resume.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -376,18 +376,6 @@ Function MalwarebytesReset {

MalwarebytesReset

#workstation key
try {
Write-Host "Vmware serial number is being set...." -NoNewline
Silent
$key = Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\VMware, Inc.\VMware Workstation\Dormant\License.ws.17.0.e5.202208" -ErrorAction Stop
Set-ItemProperty -Path $key.PSPath -Name "Serial" -Type String -Value 4A4RR-813DK-M81A9-4U35H-06KND *>$null
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black
}
catch {
Write-Host "[Vmware v7 not installed]" -ForegroundColor Red -BackgroundColor Black
}

# webview2 is being forcibly reloaded because it is necessary
try {
Write-Host "Reinstalling Microsoft Edge WebView2 Runtime..." -NoNewline
Expand Down
59 changes: 29 additions & 30 deletions set.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -479,14 +479,22 @@ Function SystemSettings {
# Set the separator setting in explorer
param (
[byte[]]$newColInfoValue = @(
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xFD, 0xDF, 0xDF, 0xFD, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC, 0x0A, 0x00, 0x00, 0x00, 0x17, 0x01, 0x00, 0x00,
0xB4, 0x74, 0xDB, 0xF7, 0x87, 0x42, 0x03, 0x41, 0xAF, 0xBA, 0xF1, 0xB1, 0x3D, 0xCD, 0x75, 0xCF,
0x64, 0x00, 0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC, 0x04, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xFD, 0xDF, 0xDF, 0xFD, 0x10, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0A, 0x00, 0x00, 0x00, 0x17, 0x01, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0E, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x04, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0C, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00
)
)
Expand All @@ -497,28 +505,6 @@ Function SystemSettings {
$response = Read-Host

if ($response -eq 'y' -or $response -eq 'Y') {
param (
[byte[]]$newColInfoValue = @(
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xFD, 0xDF, 0xDF, 0xFD, 0x10, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0A, 0x00, 0x00, 0x00, 0x17, 0x01, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0E, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x04, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0C, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00
)
)

Write-Host "Setting Explorer view settings to 'Details'..." -NoNewline

# Set the view settings to Details for all folders
Expand Down Expand Up @@ -1834,6 +1820,19 @@ Function SystemSettings {

AutoEndTask

Function LocationNotifications {
Write-Host "Disabling Location Notifications..." -NoNewline
try {
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" -Name "ShowGlobalPrompts" -Type DWord -Value 0
}
catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
}
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black
}

LocationNotifications

##########
#region Taskbar Settings
##########
Expand Down

0 comments on commit a5416ac

Please sign in to comment.