Tag Info

Hot answers tagged

18

What can be done to properly re-enable the Windows firewall on a domain? Well, the short answer is that it's going to be a lot of work if you decide to forge ahead, and for the record, I'm not sure I would. In the general case, client firewalls don't provide much security in a corporate network (which typically has hardware firewalls and controls this type ...


14

When I've had occasion to do this, the way I've effectively disabled log off (and shutdown/restart) is by doing three things. Use GPOs or local security policies (or a registry setting) to remove the logoff option available through the Ctrl+Alt+Del menu. To remove the option from the Ctrl+Alt+Del menu, you need to navigate to User Configuration -> ...


12

Edit: I would just like to state that there is nothing inherently wrong with Windows Firewall. It is a perfectly acceptable part of an overall defense-in-depth strategy. The fact of the matter is, most shops are too incompetent or too lazy to be bothered to figure out what firewall rules are needed for the applications that they run, and so they just force ...


12

There's no stock functionality in the product to do what you're looking for. I'm sure somebody could come up with a crazy hack that would give you 85% of what you wanted, but that last 15% to make it work would likely have to involve rather invasive modifications to Windows (or, at least, third-party software). Group Policy will let you run arbitrary code on ...


10

Provided you have a Windows 2012 Domain controller, yes! Where can we find group membership details? When you look into the member attribute of an AD group you’ll find a list of all members in distinguished name format. But that’s it. There is no smoking gun or finger prints that tell you how they got there. However, there is a little-known piece of ...


8

Man, I can hardly imagine how many things in your environment must be broken if remote WMI can't be used, even from domain controllers, SCCM servers, etc. Sounds painful. But anyway, According to this article: http://technet.microsoft.com/en-us/library/cc782152(v=WS.10).aspx No it doesn't rely on WMI. As long as the Group Policy client can access Sysvol, ...


8

Powershell management of Group Policy sucks w/o third-party (commercial) products, in my opinion. I think you're stuck slinging through the XML (or in HTML if you prefer) in Group Policy Objects to do what you're looking for. Fortunately the XML doesn't look that terrifying. The per-printer UID value (which I believe is what @KatherineVillyard is referring ...


8

You're running into a design-limitation of Offline Files. It is a per-machine cache, enabled and disabled at a per-machine level. Offline Files limits visibility of items to users who are authorized to view them, but there is a single cache on the machine. You can't disable the caching functionality for just certain users on a machine. There just isn't a ...


7

I googled pretty hard, and even toyed with backup-GPO in hopes of being able to hack the resultant XML file and reimport it, but I suspect that a PowerShell script is in your future. It's not that bad. You can generate the printer list from the nearest server and then loop through that and map them. Something like this: $net = New-Object -COMObject ...


7

To backup your GPO's: In the GPMC select the Group Policy Objects node. Right click and select "Backup All". Browse for a backup destination. Click "Back Up". Done. To restore a GPO: In the GPMC select the Group Policy Objects node. Right click and select "Manage Backups". Find and select the GPO you want to restore. Click "Restore". Click "OK". Done. ...


7

You can perform GPO backups two ways, one with the Group Policy snap-in as described by joeqwerty, or with Powershell. You'll need RSAT installed for the Group Policy Powershell cmdlets. Then just do a simple Backup-GPO: Import-Module GroupPolicy Backup-GPO -All -Path C:\somepath That's it for backup. For restore, you'll do a Restore-GPO, with the ...


7

Add the specified machines to an Active Directory Security Group and add the Group to the GPO with a "Deny" for "Apply Policy" (Don't fall for doing a full deny as it will stop the GPO name from enumerating, making troubleshooting difficult). Then, add the machines to that Group as required.


7

As with many Group Policies, the setting are stored in a Policies key in the registry. The Windows Firewall machine policy key is located at: HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall If you delete this key the "old" GP firewall settings are gone. If you restart the machine, it should able to pull down a fresh copy of your firewall GPO.


6

Not with any of the vanilla Windows tools, I'm afraid. This is where classroom management solutions (Tutor, Impero etc) come in,


6

Your understanding is correct. When your company gets to the size that you need to bring in a dedicated Windows sysadmin they're going to be unhappy that you did this. I can't imagine that your logic is so complex that it couldn't be solved by the built-in functionality in Group Policy. Security Group filtering, WMI filtering (which is ...


6

GPOs only apply to user objects and computer objects. You will need to apply the GPO to the Users OU, and use security group filtering to ensure it only applies to the users of the RedTeam group.


6

There are a few different ways to do it. Do you want to force everyone's home page, and disallow changes? Or do you just want to set a default home page that people can modify? If you want to force a home page: (Do what HopelessN00b said) Create a new GPO or edit the existing one. (I'm assuming you know how to do this already. Let me know if you ...


6

You shouldn't be storing user data files on client computers. You should be using something like Folder Redirection, which can be configured via Group Policy, to store user data files on server computers (where they can have all kinds of fun redundancies applied to their storage). If your users need access to their files when disconnected from the network ...


6

This can dramatically slow down logons (as expected), but you can force all logon scripts to run before giving a desktop with the GPO policy User Configuration\Administrative Templates\System\Scripts\Run logon scripts synchronously See http://technet.microsoft.com/en-us/library/cc975925.aspx for more details


6

My take is "Group policy needs to be run synchronously". Seriously. The default in Windows 2000 was to run all Group Policy (computer and user) synchronously. Microsoft had materials in their "Official Curriculum" back then that even describe asynchronous policy application as potentially unreliable. You can change this default behavior by using a ...


6

I've dealt with similar problems in the past. That being said your organization doesn't look too far from ordinary. A lot of small business are built just like you outline. If you really want to restructure the best solution I have found is setting up an OU with block group policy inheritance at the root of your domain. Build your new structure under this ...


6

I think you need to read The Machine SID Duplication Myth: http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx Machine SIDs and domain SIDs/RIDs are two different things, which is why you see two different things when you run a local tool on the machine, versus an Active Directory Powershell cmdlet. A couple of notes from the ...


6

donL, So I was curious enough about this one to research it out. I don't have a 2003 server environment to test on, so it was up to "Google Fu" to check into this. Turns out it is a "bug" in the GUI. The policy you applied did work correctly, it just doesn't show up correctly in IE's GUI on the client. Stupid, yes...but true. Here's an example accepted ...


6

As already commented, the "Account is sensitive and cannot be delegated" flag is a user account attribute, not a GPO setting. If you've checked this box and want to make sure that the change is immediately replicated everywhere, you can use repadmin to force it: repadmin /replsingleobj * source-dc01.domain.tld CN=SensitiveUser,OU=Users,DC=domain,DC=tld


6

Your conception is incorrect. ADM/ADMX files are nothing like exports from the registry. Administrative Templates (both the old-style ADM and newer-style ADMX files) exist to drive the user interface in the Group Policy editor. They define the settings that can be managed, not the settings themselves. These settings amount to registry values which are ...


6

.admx files are written in XML and contain settings that the Group Policy Management Console can read. Group Policy then translates those settings to registry keys (which may not exist prior to the policy being applied). Windows update settings live in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate. When I worked in a setting without ...


5

Locked the keys in the car, eh? I don't believe that one is configurable via Group Policy. Periodic policy refresh isn't going to help you run a script or install software on the machine since both of those operations only occur on a synchronous policy refresh (i.e. a reboot). I think you're going to be stuck laying hands on the machine. I've forgotten ...


5

It can easily be done via a GPO. See the TechNet article for how to do this, but it is pretty easy if you understand GPOs already: Manage Favorites and Links SPECIAL THING TO NOTE ON THAT PAGE: To delete existing links: If you are a corporate administrator, select the Delete existing Favorites and Links, if present check box to delete the items on ...


5

There are always way to hack around central policies if you have local admin access - at a minimum you can make your changes locally to the registry and hack the security settings so they can't be updated by the group policy agent - but it isn't the best way to go. I'll admit to doing it 10 years ago.. but really.. don't. There are unanticipated results in a ...


5

There is no "right" answer here. My personal preference would be use Group Policy for settings/policies, but for application deployment use PowerShell (or even legacy WSH scripts or batch files), assuming you have a single domain with no complex trust issues. However, there are tradeoffs. Doing everything in PowerShell is certainly legal. Application ...



Only top voted, non community-wiki answers of a minimum length are eligible