@@ -402,33 +402,33 @@ Function EnableBiometrics {
402402 Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Biometrics" - Name " Enabled" - ErrorAction SilentlyContinue
403403}
404404
405- # Disable access to camera from ModernUI applications
405+ # Disable access to camera from UWP apps
406406Function DisableCamera {
407- Write-Output " Disabling access to camera from ModernUI applications ..."
407+ Write-Output " Disabling access to camera from UWP apps ..."
408408 If (! (Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" )) {
409409 New-Item - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Force | Out-Null
410410 }
411411 Set-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Name " AllowCamera" - Type DWord - Value 0
412412}
413413
414- # Enable access to camera in ModernUI applications
414+ # Enable access to camera in UWP apps
415415Function EnableCamera {
416- Write-Output " Enabling access to camera from ModernUI applications ..."
416+ Write-Output " Enabling access to camera from UWP apps ..."
417417 Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Name " AllowCamera" - ErrorAction SilentlyContinue
418418}
419419
420- # Disable access to microphone in ModernUI applications
420+ # Disable access to microphone in UWP apps
421421Function DisableMicrophone {
422- Write-Output " Disabling access to microphone in ModernUI applications ..."
422+ Write-Output " Disabling access to microphone in UWP apps ..."
423423 If (! (Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" )) {
424424 New-Item - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Force | Out-Null
425425 }
426426 Set-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Name " LetAppsAccessMicrophone" - Type DWord - Value 2
427427}
428428
429- # Enable access to microphone in ModernUI applications
429+ # Enable access to microphone in UWP apps
430430Function EnableMicrophone {
431- Write-Output " Enabling access to microphone from ModernUI applications ..."
431+ Write-Output " Enabling access to microphone from UWP apps ..."
432432 Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Name " LetAppsAccessMicrophone" - ErrorAction SilentlyContinue
433433}
434434
@@ -1385,16 +1385,16 @@ Function EnableIndexing {
13851385 Start-Service " WSearch" - WarningAction SilentlyContinue
13861386}
13871387
1388- # Disable Modern UI swap file
1389- # This disables creation and use of swapfile.sys and frees 256 MB of disk space. Swapfile.sys is used only by Modern UI apps. The tweak has no effect on the real swap in pagefile.sys.
1388+ # Disable UWP apps swap file
1389+ # This disables creation and use of swapfile.sys and frees 256 MB of disk space. Swapfile.sys is used only by UWP apps. The tweak has no effect on the real swap in pagefile.sys.
13901390Function DisableSwapFile {
1391- Write-Output " Disabling Modern UI swap file..."
1391+ Write-Output " Disabling UWP apps swap file..."
13921392 Set-ItemProperty - Path " HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" - Name " SwapfileControl" - Type Dword - Value 0
13931393}
13941394
1395- # Enable Modern UI swap file
1395+ # Enable UWP apps swap file
13961396Function EnableSwapFile {
1397- Write-Output " Enabling Modern UI swap file..."
1397+ Write-Output " Enabling UWP apps swap file..."
13981398 Remove-ItemProperty - Path " HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" - Name " SwapfileControl" - ErrorAction SilentlyContinue
13991399}
14001400
0 commit comments