kennysarmy Posted October 11, 2013 Posted October 11, 2013 After doing some testing it appears I could speed up logon times be removing some XP group policies, however I want to ensure no XP PC's / laptops are still lurking. Is there a quick way to dump all active computer accounts to a list which includes what flavour of OS they are? Cheers
FN-GM Posted October 11, 2013 Posted October 11, 2013 You can do it powershell not sure on the commands of top of my head. You could use search in AD, see attached.
ICTonto Posted October 11, 2013 Posted October 11, 2013 You can run a dsquery on the command line against active directory to find a) stale computer records and b) the operating system of the workstation, Sample Query On Link
sonofsanta Posted October 11, 2013 Posted October 11, 2013 Alternatively, leave your XP policies in place and use WMI filters so Windows 7 machines ignore them (and the XP machines ignore Win7 policies) - still a slight processing load but nowhere near as much as actually processing the settings. In Namespace root\CIMv2, the following query is for Windows XP:select * from Win32_OperatingSystem where Version like "5.1%" and ProductType = "1" And Windows 7 is:select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "1" Windows Vista is 6.0 and Windows 8 is 6.2 on the Version like, if you're rolling them.
plexer Posted October 11, 2013 Posted October 11, 2013 You can do it with a query in Active Directory Users and Computers. Ben
kennysarmy Posted October 11, 2013 Author Posted October 11, 2013 Alternatively, leave your XP policies in place and use WMI filters so Windows 7 machines ignore them (and the XP machines ignore Win7 policies) - still a slight processing load but nowhere near as much as actually processing the settings. In Namespace root\CIMv2, the following query is for Windows XP:select * from Win32_OperatingSystem where Version like "5.1%" and ProductType = "1" And Windows 7 is:select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "1" Windows Vista is 6.0 and Windows 8 is 6.2 on the Version like, if you're rolling them. Hi, I do use this, but I've discovered that it still takes time for the windows 7 PC to process the fact it has to do nothing: On a test windows 7 PC with all user policies disabled it took 13 seconds to logon and with the XP policies only enabled it took 20 seconds. I verified by Group Policy Results that they were nt applying. This was on a reasonably fast PC so the time savings on some older PC's running windows 7 should be greater. 1
sonofsanta Posted October 11, 2013 Posted October 11, 2013 Hi, I do use this, but I've discovered that it still takes time for the windows 7 PC to process the fact it has to do nothing: On a test windows 7 PC with all user policies disabled it took 13 seconds to logon and with the XP policies only enabled it took 20 seconds. I verified by Group Policy Results that they were nt applying. This was on a reasonably fast PC so the time savings on some older PC's running windows 7 should be greater. Fair enough, and interesting to know - thanks for the data.
ADMaster Posted October 11, 2013 Posted October 11, 2013 Out of curiosity what policies apply to XP but not 7? Thanks,
kennysarmy Posted October 14, 2013 Author Posted October 14, 2013 When we started migrating to windows 7 I decided to keep things as seperate as possible for testing purposes to write all new policies for windows 7 rather than just keep using old policies: The names of those that apply to only windows XP are : Lockdown Desktop Redirection Office PreventRemoveable Media ScreenSaverLock Browser Settings & Startup Programs There are of course now similar policies that are only directed to Windows 7 computers.
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