+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
Scripts Thread, determine if a pc's processor is x64 capable in Coding and Web Development; Originally Posted by mac_shinobi Did you adjust / tweak the ini file as per the site ? If not then ...
  1. #16

    Join Date
    Mar 2009
    Thank Post
    Thanked 865 Times in 743 Posts
    Rep Power
    Quote Originally Posted by mac_shinobi View Post
    Did you adjust / tweak the ini file as per the site ? If not then where are you looking for the cpu info ref it supporting 64 bit etc ?
    yes i just dumped their inifile but tbh not sure its needed (just tried it makes no odds) ,ight be different if you want pretty html i dont lol

    Instructions sets MMX, SSE, SSE2, SSE3, EM64T
    Last edited by sted; 27th March 2013 at 02:24 PM.

  2. Thanks to sted from:

    mac_shinobi (27th March 2013)

  3. #17
    chazzy2501's Avatar
    Join Date
    Jan 2008
    South West
    Thank Post
    Thanked 265 Times in 215 Posts
    Rep Power
    this is a tiny program you can run to discover your cpu's ability.

    GRC|SecurAble: Determine Processor Security Features|

  4. Thanks to chazzy2501 from:

    mac_shinobi (27th March 2013)

  5. #18

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Thank Post
    Thanked 1,056 Times in 977 Posts
    Rep Power
    EE link : Script to query remote 64bit CPU capabililites: WMI, Powershell, 64bit, remote

    Only allows you to view if you are registered with them and only gave me one free view, so copying and pasting a bit :

    Using :

    chkcpu - CPU Identification utility
    psexec ( may need to use an earlier version of psexec ) - http://technet.microsoft.com/en-gb/s.../bb897553.aspx

    I think psexec is now apart of pstools, but if you have issues with psexec might be worth while downloading or getting an earlier version of it.

    I just found out that this is an issue with the current version of psexec (1.95) and it now works using a previous version instead so what would be really handy now is a simple way to parse the generated example output below from vbscript in a grep-like manner since only the 64-bit flag is of interest.

    C:\Public>psexec \\remote -c chkcpu32 /v

    PsExec v1.72 - Execute processes remotely
    Copyright (C) 2001-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com

    CPU Identification utility v2.04 (c) 1997-2009 Jan Steunebrink

    CPU Vendor and Model: Intel Xeon Dual-Core 5110-5160 B2-step
    Internal CPU speed : 2328.0 MHz
    Number of CPUs : 4
    CPU-ID Vendor string: GenuineIntel
    CPU-ID Name string : Intel(R) Xeon(R) CPU 5140 @ 2.33GHz
    CPU-ID Signature : 0006F6
    CPU Features : Floating-Point Unit on chip: Yes
    Time Stamp Counter : Yes
    MMX instruction set : Yes
    3DNow! instruction set : No
    Streaming SIMD Extensions : Yes
    SSE2 support : Yes
    SSE3 support : Yes
    Hyper-Threading Technology : No
    Execute Disable protection : Yes
    64-bit support : Yes
    Virtualization Technology : Yes
    Size of L1 cache : 64 KB
    Integrated L2 cache : 4096 KB
    Integrated L3 cache : None
    chkcpu32.exe exited on danny with error code 0

    Quote Originally Posted by second quote
    Ok so here is the script that uses chkcpu32 and psexec and gives you results in the prompt.

    It can be modified of course to do mass checks but use this for testing:

    NOTE: script assumes that both PSEXEC and CHKCPU32 programs are in C:\Windows\System32, and if they are not please put them there.

    Test it and let me know:
    Set oWS = CreateObject("WScript.Shell")
    Set oFS = CreateObject("Scripting.FileSystemObject")
    sComputer = "ComputerNameHere"
    sScriptName = WScript.ScriptName
    sScriptPath = WScript.ScriptFullName
    sTemp = Replace(sScriptName, ".vbs", ".txt")
    sTempFile = Replace(sScriptPath, sScriptName, sTemp)
    oWS.Run "cmd.exe /c psexec \\" & sComputer & " -c C:\Windows\System32\chkcpu32 /v >" & Chr(34) & sTempFile & chr(34),0 ,True
    Set oTempFile = oFS.OpenTextFile(sTempFile, 1)
    Do While oTempFile.AtEndOfStream <> True
        sText = oTempFile.ReadLine
            If Instr(sText, "64-bit support") Then
                sText = LCase(sText)
                If InStr(sText, "no") Then
                    oWS.Popup "CPU with 64-bit support NOT detected", ,sComputer , vbExclamation
                    oWS.Popup "CPU with 64-bit support DETECTED!", ,sComputer , vbInformation
                End If
            Exit Do
        End If
    Easier way instead of using the above vbs is to have chkcpu32.exe in the same directory or the system32 directory and just have a bat file that pipes the output to a text file

    if you have a directory on your C: Drive named chkcpu32 with chkcpu32.exe and your own bat file you could do something like

    chkcpu32.exe /v > C:\chkcpu32\64bit.txt
    Quote Originally Posted by output I get from the above

    CPU Identification utility v2.11 (c) 1997-2013 Jan Steunebrink
    컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 컴컴컴컴컴컴컴컴컴컴컴컴컴컴
    CPU Vendor and Model: Intel Core i5 Quad i5-2300/2400/2500 series D2-step
    Internal CPU speed : 3093.0 MHz
    System CPU count : 1 Physical CPU(s), 4 Core(s) per CPU, 4 Thread(s)
    CPU-ID Vendor string: GenuineIntel
    CPU-ID Name string : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    CPU-ID Signature : 0206A7
    CPU Features : Floating-Point Unit on chip : Yes
    Time Stamp Counter : Yes
    Enhanced SpeedStep Technology: Yes
    Hyper-Threading Technology : No
    Execute Disable protection : Yes
    64-bit support : Yes
    Virtualization Technology : Yes
    Instr set extensions: MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2
    Size of L1 cache : 4 x 64 KB
    Integrated L2 cache : 4 x 256 KB
    Integrated L3 cache : 6144 KB

    Last edited by mac_shinobi; 27th March 2013 at 02:55 PM.

+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. PC Pro - OpenSource is no good for schools?
    By Ric_ in forum General Chat
    Replies: 60
    Last Post: 21st August 2012, 12:16 PM
  2. How to determine if a HP good is a grey import?
    By localzuk in forum Hardware
    Replies: 3
    Last Post: 30th January 2011, 03:30 PM
  3. automatic VNC to PC a user is logged onto
    By ChrisP in forum How do you do....it?
    Replies: 2
    Last Post: 7th December 2007, 04:23 PM
  4. Replies: 0
    Last Post: 27th September 2007, 08:11 PM
  5. Shutdown batch script stalls if 1 PC is shut down
    By PrimaryTech in forum Scripts
    Replies: 8
    Last Post: 7th July 2007, 06:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts