creativemario Posted January 17, 2019 Posted January 17, 2019 Hey! Bit of a quick one - Is it possible to schedule a GPO to apply from a specific point? I can't find anything online about this, so I presume that it isn't possible, but maybe someone here knows how to work some magic! The query relates to changing proxy settings if anyone is wondering. Any suggestions are greatly appreciated.
sparkeh Posted January 17, 2019 Posted January 17, 2019 (edited) Hey! Bit of a quick one - Is it possible to schedule a GPO to apply from a specific point? I can't find anything online about this, so I presume that it isn't possible, but maybe someone here knows how to work some magic! The query relates to changing proxy settings if anyone is wondering. Any suggestions are greatly appreciated. I guess that you could use Scheduled Tasks to run a Powershell script at a certain time that applies a GPO. Edited January 17, 2019 by sparkeh 1
MartinByard Posted January 17, 2019 Posted January 17, 2019 I'd go with a scheduled task that links a GPO (already created for testing purposes ?) to an ou: Set-GPLink -Name TestGPO -Target "ou=MyOU,dc=contoso,dc=com" or Set-GPLink -Guid 77c5285d-952e-4559-94ef-a02f5c107799 -Target "ou=MyOU,dc=contoso,dc=com" 1
box_l Posted January 19, 2019 Posted January 19, 2019 You can call GPO settings with a powershell script if you want.. Here is an example that may get you on the path.. https://www.atumvirt.com/2013/11/dramatically-reducing-logon-time-to-desktop-by-moving-from-group-policy-preferences-to-powershell-logon-script/ What are you trying to achieve?
Katy Posted January 19, 2019 Posted January 19, 2019 If you can access system time from WMI I suppose theoretically just using a WMI filter based on the time might work.
mavhc Posted January 19, 2019 Posted January 19, 2019 Hey! Bit of a quick one - Is it possible to schedule a GPO to apply from a specific point? I can't find anything online about this, so I presume that it isn't possible, but maybe someone here knows how to work some magic! The query relates to changing proxy settings if anyone is wondering. Any suggestions are greatly appreciated. What are you trying to do with proxy settings? there might be a better way
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now