Windows Server 2008 R2 Thread, Is there a way to check if a computer account is XP? in Technical; After doing some testing it appears I could speed up logon times be removing some XP group policies, however I ...
11th October 2013, 03:02 PM #1
Is there a way to check if a computer account is XP?
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?
IDG Tech News
11th October 2013, 03:06 PM #2
You can do it powershell not sure on the commands of top of my head.
You could use search in AD, see attached.
11th October 2013, 03:16 PM #3
- Rep Power
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
11th October 2013, 03:39 PM #4
11th October 2013, 04:03 PM #5
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:
And Windows 7 is:
select * from Win32_OperatingSystem where Version like "5.1%" and ProductType = "1"
Windows Vista is 6.0 and Windows 8 is 6.2 on the Version like, if you're rolling them.
select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "1"
11th October 2013, 04:07 PM #6
You can do it with a query in Active Directory Users and Computers.
11th October 2013, 05:06 PM #7
Originally Posted by sonofsanta
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.
Thanks to kennysarmy from:
sonofsanta (11th October 2013)
11th October 2013, 05:09 PM #8
Fair enough, and interesting to know - thanks for the data.
Originally Posted by kennysarmy
11th October 2013, 06:53 PM #9
Out of curiosity what policies apply to XP but not 7?
14th October 2013, 11:05 AM #10
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 :
Browser Settings & Startup Programs
There are of course now similar policies that are only directed to Windows 7 computers.
By onder in forum Windows Server 2000/2003
Last Post: 3rd March 2009, 12:37 PM
By scalywag66 in forum Windows
Last Post: 16th May 2008, 10:40 AM
By krisd32 in forum Windows
Last Post: 11th March 2008, 02:54 PM
By sidewinder in forum MIS Systems
Last Post: 14th November 2007, 11:23 AM
By timbo343 in forum General Chat
Last Post: 22nd July 2007, 05:31 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)