Wednesday, January 29, 2014

Xerox Printer Fault Codes

When using Xerox printers (or Fuji Xerox Docucentre units) it can be difficult to resolve some issues.  The logs in the printer usually give cryptic codes, and I can never remember what 016-757 is.  A document (pdf) listing numerous error codes is available here (opens in new window).

Monday, January 20, 2014

Windows 7 reporting “No Internet Access”

I had a customer with all their Windows 7 PC’s intermittently reporting ‘No Internet Access’.
The PC’s did actually have internet access.
I found that the website used to determine this is www.msftncsi.com/ncsi.txt.
If this doesn’t respond, Windows 7 reports no internet access.  I found that a slow connection to this website can also cause this error. 
The msftncsi.com website is hosted on www.akamai.com (new window) servers.  In this instance, all other content stored on Akamai servers was also very slow.  Ping times to www.msftncsi.com, www.microsoft.com, and www.abc.net.au were all in excess of 200 ms.  Ping times to www.adobe.com, www.yahoo7.com.au were all reasonable.
Investigation found that the IP addresses being resolved for the Akamai servers was hosted in the US, not Australia.
After changing the DNS from Google (8.8.8.8 and 8.8.4.4) to the local ISP DNS servers, the IP addresses for the Akamai servers were now resolved to the local Australian servers, and the ping times to the above websites were all reasonable.  The Windows 7 PC’s all reported they now had internet access.

Thursday, January 2, 2014

WMI Filters for Operating Systems

EDIT: Added windows 10

Here is a list of WMI filters for Operating Systems.  You can follow instructions here to create them.
Windows 2000
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "5.0%"
Windows XP 32 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "5.1%" and ProductType = "1"

Windows XP 64 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "5.1%" and ProductType = "1"

Server 2003 32 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "5.1%" and NOT ProductType = "1"

Server 2003 64 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "5.1%" and NOT ProductType = "1" AND NOT OSArchitecture = "64-bit"

Windows Vista 32bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.0%" and ProductType = "1" AND NOT OSArchitecture = "64-bit"

Windows Vista 64bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.0%" and ProductType = "1" AND OSArchitecture = "64-bit"

Server 2008 32bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.0%" and NOT ProductType = "1" AND NOT OSArchitecture = "64-bit"

Server 2008 64bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.0%" and NOT ProductType = "1" AND OSArchitecture = "64-bit"

Windows 7 32bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.1%" and ProductType = "1" AND NOT OSArchitecture = "64-bit"

Windows 7 64bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.1%" and ProductType = "1" AND OSArchitecture = "64-bit"

Server 2008 R2
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.1%" and NOT ProductType = "1"

Windows 8 32 bitSELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.2%" and ProductType = "1" AND NOT OSArchitecture = "64-bit"
Windows 8 64 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.2%" and ProductType = "1" AND OSArchitecture = "64-bit"

Server 2012
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.2%" and NOT ProductType = "1"

Windows 8.1 32 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.3%" and ProductType = "1" AND NOT OSArchitecture = "64-bit"

Windows 8.1 64 bit
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.3%" and ProductType = "1" AND OSArchitecture = "64-bit"
Server 2012 R2
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "6.3%" and NOT ProductType = "1"
Windows 10
SELECT version FROM Win32_OperatingSystem WHERE Version LIKE "10.%" and ProductType = "1"

Reference:
http://msdn.microsoft.com/en-us/library/aa394239(v=vs.85).aspx
http://technet.microsoft.com/en-us/library/jj899801.aspx