Solved

Domain and Local Policy Switching

Posted on 2014-04-10
5
271 Views
Last Modified: 2014-04-11
Good morning,

I have some Win 7 laptops that need to adhere to my Windows 2003 domain's 15 minute screen timeout and locking policy while on the network, but when it's off the network, this lockout/timeout needs to be no less than one hour.

How can I accomplish this?

Thanks!
0
Comment
Question by:Michael L
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:Brad Bouchard
Comment Utility
This is not possible to do both scenarios with one GPO.  I'm not even sure it's possible with multiple GPOs as you would have to have some sort of variable setting letting the computer know it's off of the network (not domain, but network) and to switch to a different policy.  Typically what would happen is you would have to move the users' laptop into a different OU with a different lock policy if you wanted to change the lock time.
0
 

Author Comment

by:Michael L
Comment Utility
Can it be done, somehow, if they log on locally, off network?
0
 
LVL 17

Expert Comment

by:Brad Bouchard
Comment Utility
Yes, with  VB script.  They could even log on with their domain creds locally if they are cached.  The script would basically check whether they were on network or off and if they are off then it would set their lockout to at least 60 minutes.  I'm oversimplifying that, but I know there are some awesome VB scripters/programmers on here that could whip you up something real good.
0
 

Author Comment

by:Michael L
Comment Utility
Interesting. Will have to research.
0
 
LVL 17

Accepted Solution

by:
Brad Bouchard earned 500 total points
Comment Utility
If you post a question under the VB sections of the site (I think they are VB.NET, Visual Basic, VB Script, etc.) you will get some really good replies, even the actual code.  Look for a guy named Rob Sampson, he is one of the top Experts in VB and one of the top Experts overall.  He is great.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now