Difference between revisions of "Windows Group Policy"
From MgmtWiki
(→Solutions) |
(→Solutions) |
||
Line 19: | Line 19: | ||
pause | pause | ||
</pre> | </pre> | ||
+ | ===Powershell Grant logon as Service=== | ||
+ | https://gallery.technet.microsoft.com/scriptcenter/Grant-Log-on-as-a-service-11a50893 |
Revision as of 16:57, 9 August 2020
Full Title
Set security with Windows Group Policy.
Context
- While this feature of Windows was crated for control of computers in a Windows domain, it can be set on individual computers as well.
Problems
This feature is a super pain for use by normal users.
Solutions
enable Group Policy Editor (Gpedit.msc) on Windows 10 Home. If this method fails, there are other methods to try at https://tinyurl.com/majorgeeksgpedit
@echo off pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" pause
Powershell Grant logon as Service
https://gallery.technet.microsoft.com/scriptcenter/Grant-Log-on-as-a-service-11a50893