Tag Archives: group policy

Group Policy Preference Drive Maps closing

I’ve been dealing with an issue where users that leave Windows File Explorer windows open for extended periods find that they close now and then. This seems to be a common problem with later versions of Windows (8.1, 10) and … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Send Windows Event Logs to SQL Database

I’m currently in the process of planning for an AppLocker rollout to all my PCs (about 7,500 of them) due to an increasing amount of malware. You should probably be doing this too. Anyway, a sensible first step is to … Continue reading

Rate this:

Posted in PowerShell, Scripting, Security, Windows | Tagged , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Using Group Policy WMI Filters with examples

WMI Filters exist at the bottom on the Group Policy Management Console and are a way to target Group Policy Objects (GPOs)┬ábased on the results of the WMI query. Other ways of targeting GPOs are by the OU that it … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

GP Pref Drive Maps not working at logon

Had an annoying issue on Windows 8.1 clients where I’d configured several of the GPPref Drive Maps preferences but these were not working when users logged on. They would however work if I ran a gpupdate /target:user after the desktop … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , , | Leave a comment

Logon scripts do not run at logon – Server 2012 R2

Another genius bit of fiddling by Microsoft means that on Server 2012 R2 and Windows 8.1, logon scripts no longer run as part of the logon process. This had me totally foxed for hours. I have my logon script configured … Continue reading

Rate this:

Posted in Scripting, Windows | Tagged , , , , , , , | 23 Comments

Set Internet Explorer Address Bar Search via Group Policy

OK, this is kind of a cheat, this is using Group Policy Preferences (GPPrefs) to add a set of registry entries, it’s not a custom .admx or something more fancy. But it does work. Firstly, I suggest you create a … Continue reading

Rate this:

Posted in Applications, Windows | Tagged , , , , , , , , , , , , , , | 1 Comment

AppLocker blocking getpaths.cmd

When you configure the default AppLocker Script rules in a Group Policy Object (GPO) one of the ones it adds is for: %OSDRIVE%\*\temp\*\getpaths.cmd Except when a user logs on, if you’ve enabled the AppLocker MSI and Script event log, you … Continue reading

Rate this:

Posted in Remote Desktop, Windows | Tagged , , , , , , , | 5 Comments

Getting PowerShell scripts to run with no prompts

I am currently experimenting with Windows Server 2012, System Center Virtual Machine Manager 2012 SP1, and automation of various processes related to creating/building Server 2012 virtual machines. I have a script that will create a new Server 2012 VM, customise … Continue reading

Rate this:

Posted in PowerShell, Scripting, Windows | Tagged , , , , , , , , | 2 Comments

Group Policy Preferences: Scheduled Tasks not appearing

Tried to deploy a scheduled task via Group Policy Preferences to some Windows 7 PCs. The task was created as New Scheduled Task (Windows Vista and later). The task was set to trigger on a particular event being logged, and … Continue reading

Rate this:

Posted in Windows | Tagged , , | Leave a comment