Winscripter
  WSH
  Forums
  Downloads
  Books
  Links
  Amazon




Login
Register

© winscripter.com
1998-2004







Script: Change CPU Identifier in Registry

Posted by on Monday, January 19, 2004 (PST)

Script: Changes CPU Identifier value stored in the system registry. Primarily used to fool certain software into loading on non Intel based systems.

 

 
/**
 *    Script:   CPUIdentChange.js
 *    Purpose:  Changes the CPU Identifier stored in Registry
 *    Author:   Daren Thiel
 *    Date:     15 January 1999
 *    Web:     
http://www.winscripter.com
 *    Note:     Rename this file CPUIdentChange.js
 **/
/* Create Shell Object */
ws = WScript.CreateObject( "WScript.Shell" );
/* Write Data to registry */
var regkey = "HKLM\\Hardware\\Description\\System\\CentralProcessor\\0\\VendorIdentifier";
ws.RegWrite( regkey, "GenuineIntel" );
/* Tell the users what happened */
WScript.Echo( "Reset Registry to GenuineIntel" );
 



WSH and ADSI Administrative Scripting

New Articles
  • List installed COM objects and associated ProgIDs
    Script: Lists all COM Objects and their associated ProgIDs (If available). Win32_ClassicCOMClassSetting

  • Script: File Rotator
    Script: Rotate files where the most current file has the lowest number in the archive. When files exceed the retention period, they are deleted. Typically used for log files, backups, etc..

  • Script: Create IIS Website and DNS record
    Script: Dan Casier sent me this script that will create a website and appropriate DNS record. The script is intended for Windows 2000 Server with local DNS and necessary DNS mof installed.


  • Winscripter   |  WSH   |  Forums   |  Downloads   |  Books   |  Links   |  Amazon