Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ fltmc > nul 2>&1 || (
exit /b
)

if /i not "%~1"=="/silent" (
echo WARNING: Disabling VBS may prevent WSL2 and Docker Desktop from starting.
choice /c:yn /n /m "Continue? [Y/N] "
if errorlevel 2 exit /b
)

:: Update Registry (State and Path)
reg add "HKLM\SOFTWARE\AtlasOS\Services\%settingName%" /v state /t REG_DWORD /d %stateValue% /f > nul
reg add "HKLM\SOFTWARE\AtlasOS\Services\%settingName%" /v path /t REG_SZ /d "%scriptPath%" /f > nul
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:: Change to match the setting name (e.g., Sleep, Indexing, etc.)
set "settingName=VbsState"
:: Change to 0 (Disabled) or 1 (Enabled/Minimal) etc
set "stateValue=0"
set "stateValue=1"
set "scriptPath=%~f0"

set "___args="%~f0" %*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $kernelShadowStacks = "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenar
$credentialGuard = "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\CredentialGuard"

if ($DisableAllVBS) {
Write-Warning "Disabling VBS features..."
Write-Warning "Disabling VBS features. This may prevent WSL2 and Docker Desktop from starting."

# Memory Integrity
New-ItemProperty -Path $memIntegrity -Name "Enabled" -Value 0 -PropertyType DWORD -Force # Need to be forced since Windows 11 24H2
Expand Down
2 changes: 1 addition & 1 deletion src/playbook/playbook.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Atlas makes your computer snappier and more private with lots of usability impro
<Name>disable-power-saving</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Disable Core Isolation</Text>
<Text>Disable Core Isolation (may break WSL2/Docker)</Text>
<Name>disable-core-isolation</Name>
</CheckboxOption>
</Options>
Expand Down
Loading