Group Policy is a feature of the Microsoft Windows NT family of operating systems that control the working environment of user accounts and computer accounts. Group Policy provides the centralized management and configuration of operating systems, applications, and users' settings in an Active Directory environment.
Questions tagged [group-policy]
490 questions
-2
votes
1 answer
How to restore administrative templates under the user configuration group policy?
I removed administrative templates under the user configurations group policies while I'm working on. How can I restore it?

Aykut Demirci
- 168
- 4
- 19
-2
votes
1 answer
Unable to run executables (.exe, .bat) from removable device on Windows 10
When I try to execute a software on an USB-drive (commercial software incl. license), I receive the following message on my brand new Windows 10 computer:
Windows cannot access the specified device, path, or file. You may not have the appropriate…

wribln
- 355
- 2
- 13
-2
votes
1 answer
Remote App / RDP session Group Policy
I'm a newbie at domain administration.
I have about 15 users on a RemoteApp front end on one of my servers. The users are all part of a group.
I want to set the policy so that if they are idle for a two hours it will log them off automatically. …

user1457712
- 77
- 2
- 9
-2
votes
1 answer
Would a Computer Configuration Group policy affect an OU with just users if linked to it?
Or vice versa, Would a User Configuration policy affect an OU with just computers?

Ahmed Abd El Latif
- 233
- 6
- 20
-2
votes
1 answer
Windows fax and scan default account to host name
I am working on setting up a script to set the DefaultAccount value to be the host name for the registry key HKCU\Software\Microsoft\Fax\FaxAccounts what I don't know is if this would have to be done via VB script or if it could be done with reg…
-2
votes
1 answer
Windows 7 User Log off scripts - Keys getting deleted after reboot
I am trying to create a user log off script by adding a registry entry under HKCU\Software\Microsoft\Windows\CyrrentVersion\GroupPolicy\Scripts\Logoff.
After I install the msi I built, the registry keys are set properly. Once the installation ends,…

user1528803
- 67
- 3
- 8
-3
votes
0 answers
Window Server 2019 Hardening Scripts changes the registry but these changes do not appear on group policy editor GUI
When I run "Windows Server 2019 Hardening Script" in Powershell, changes only appear in the registry but not the local policy editor GUI and some of them are being reverted after gpupdate /force.
because there are about 500 items that need to…

ashkanyo
- 81
- 6
-3
votes
1 answer
How to edit /etc/pam.d/sytem-auth-ac file in linux?
I tried several times to edit this file but after several items it always show up the old default files script.
I need to replace lines or edit this file for making a User management Policy.
Commands I used in my script:
# sed '14 i \password …

Lin-man
- 71
- 1
- 3
-5
votes
1 answer
Limiting session time
I have a Windows Server 2012 R2 on which a policy needs to be set. This policy should logoff a user if it is disconnected or idle for more than 2 hrs.
One twist is, I have a user with name 'Invo' which should not get kicked out due to this policy.

Uddhav Ghanekar
- 11
- 1
- 4