@@ -402,33 +402,33 @@ Function EnableBiometrics {
402
402
Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Biometrics" - Name " Enabled" - ErrorAction SilentlyContinue
403
403
}
404
404
405
- # Disable access to camera from ModernUI applications
405
+ # Disable access to camera from UWP apps
406
406
Function DisableCamera {
407
- Write-Output " Disabling access to camera from ModernUI applications ..."
407
+ Write-Output " Disabling access to camera from UWP apps ..."
408
408
If (! (Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" )) {
409
409
New-Item - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Force | Out-Null
410
410
}
411
411
Set-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Name " AllowCamera" - Type DWord - Value 0
412
412
}
413
413
414
- # Enable access to camera in ModernUI applications
414
+ # Enable access to camera in UWP apps
415
415
Function EnableCamera {
416
- Write-Output " Enabling access to camera from ModernUI applications ..."
416
+ Write-Output " Enabling access to camera from UWP apps ..."
417
417
Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Camera" - Name " AllowCamera" - ErrorAction SilentlyContinue
418
418
}
419
419
420
- # Disable access to microphone in ModernUI applications
420
+ # Disable access to microphone in UWP apps
421
421
Function DisableMicrophone {
422
- Write-Output " Disabling access to microphone in ModernUI applications ..."
422
+ Write-Output " Disabling access to microphone in UWP apps ..."
423
423
If (! (Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" )) {
424
424
New-Item - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Force | Out-Null
425
425
}
426
426
Set-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Name " LetAppsAccessMicrophone" - Type DWord - Value 2
427
427
}
428
428
429
- # Enable access to microphone in ModernUI applications
429
+ # Enable access to microphone in UWP apps
430
430
Function EnableMicrophone {
431
- Write-Output " Enabling access to microphone from ModernUI applications ..."
431
+ Write-Output " Enabling access to microphone from UWP apps ..."
432
432
Remove-ItemProperty - Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" - Name " LetAppsAccessMicrophone" - ErrorAction SilentlyContinue
433
433
}
434
434
@@ -1385,16 +1385,16 @@ Function EnableIndexing {
1385
1385
Start-Service " WSearch" - WarningAction SilentlyContinue
1386
1386
}
1387
1387
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.
1390
1390
Function DisableSwapFile {
1391
- Write-Output " Disabling Modern UI swap file..."
1391
+ Write-Output " Disabling UWP apps swap file..."
1392
1392
Set-ItemProperty - Path " HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" - Name " SwapfileControl" - Type Dword - Value 0
1393
1393
}
1394
1394
1395
- # Enable Modern UI swap file
1395
+ # Enable UWP apps swap file
1396
1396
Function EnableSwapFile {
1397
- Write-Output " Enabling Modern UI swap file..."
1397
+ Write-Output " Enabling UWP apps swap file..."
1398
1398
Remove-ItemProperty - Path " HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" - Name " SwapfileControl" - ErrorAction SilentlyContinue
1399
1399
}
1400
1400
0 commit comments