IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
> Multi Manufacturer Pre-Activation
Bezalel
post Mar 26 2006, 10:57 PM
Post #1


Senior Member
****

Group: Members
Posts: 588
Joined: 11-October 05
Member No.: 76348
OS: XP Pro x86
Country Flag


Do you want to use the same CD for installing Windows on multiple computer from differant manufacturers and still maintain Pre-activation? If so I can help but I need your help. I've written a VBScript file that will try to determine who the manufacturer and what model your computer is. The third line of output is the manufacturer string converted into Hex. Please reply with the output from this VBScript so that I can make a database of manufacturer's strings. Please only reply if your computer was built by a Royalty OEM.

CODE
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
For Each objComputer in colComputer
    MfgHex=""
    for i=1 to len(objComputer.Manufacturer)
        MfgHex=MfgHex & Hex(Asc(Mid(objComputer.Manufacturer,i,1)))
        If i Mod 4 = 0 then MfgHex=MfgHex & " "
    Next
    ComputerReport = ("Manufacturer: " & objComputer.Manufacturer & vbCrLf &_
    "Model: " & objComputer.Model & vbCrLf &_
    MfgHex)
Next
WScript.Echo ComputerReport


Sample output

QUOTE
Manufacturer: Dell Computer Corp.
Model: PowerVault 715N
44656C6C 20436F6D 70757465 7220436F 72702E


This code hase been modified by gunsmokingman to output the report to a text file.

CODE
strComputer = "."
Dim Act, ComputerReport, Fso, Dtop, Report, Ts
Set Act = CreateObject("Wscript.Shell")
Set Fso = CreateObject("Scripting.FileSystemObject")
Dtop = Act.SpecialFolders("Desktop")
Set Ts = Fso.CreateTextFile(Dtop & "\ComputerReport.txt")
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
For Each objComputer In colComputer
  MfgHex=""
  For i=1 To Len(objComputer.Manufacturer)
    MfgHex=MfgHex & Hex(Asc(Mid(objComputer.Manufacturer,i,1)))
    If i Mod 4 = 0 then MfgHex=MfgHex & " "
  Next
  ComputerReport = (space(3) & "Manufacturer: " & objComputer.Manufacturer & vbCrLf &_
  space(3) & "Model: " & objComputer.Model & vbCrLf & space(3)& MfgHex)
Next
Ts.WriteLine ComputerReport : Ts.Close
Act.Run(Chr(34)& Dtop & "\ComputerReport.txt" & Chr(34)),1,True


This post has been edited by Bezalel: Mar 28 2006, 10:40 AM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ZaForD
post May 30 2006, 11:44 AM
Post #2


Member
**

Group: Members
Posts: 182
Joined: 5-May 06
Member No.: 95575
Country Flag


Hi Bezalel,

Sorry for the newbie question, but i got abit lost on this thread. blushing.gif

Do i copy the files created by the CollectFiles.rar on each of my PC's (a Dell and a HP) to the $OEM$ folder on my UAXPCD, with the files inside the activation.rar.

Then burn and run, is that correct ?
Go to the top of the page
 
+Quote Post

Posts in this topic
- Bezalel   Multi Manufacturer Pre-Activation   Mar 26 2006, 10:57 PM
- - Djé   Nice idea But i've got 3 of them (different...   Mar 27 2006, 10:40 AM
- - Bezalel   I origionally wanted to use the clipboard but MS d...   Mar 27 2006, 12:45 PM
|- - RogueSpear   QUOTE (Bezalel @ Mar 27 2006, 02:45 PM) I...   Apr 11 2006, 11:32 AM
|- - Bezalel   QUOTE (RogueSpear @ Apr 11 2006, 12:32 PM...   Apr 11 2006, 12:34 PM
|- - Bilou_Gateux   QUOTE (Bezalel @ Mar 27 2006, 02:45 PM) H...   Apr 13 2006, 01:40 AM
- - Djé   Thanks, and here you are: Manufacturer: TOSHIBA M...   Mar 28 2006, 12:44 AM
- - Bilou_Gateux   I will use it for RIS deployment. post #103   Mar 28 2006, 01:28 AM
- - gunsmokingman   I have added to your script so it produces a text ...   Mar 28 2006, 02:00 AM
- - Sonic   I have many Acer notebook and classic tower to pre...   Mar 28 2006, 05:00 AM
- - Bezalel   Sonic; I intend to install using the MS files and ...   Mar 28 2006, 10:34 AM
- - gunsmokingman   Your welcome, hope what I added helps your project...   Mar 28 2006, 02:59 PM
- - Bezalel   Is there any way to get the manufacturer's nam...   Mar 30 2006, 10:28 PM
- - AmphetaMarinE   here u go... Manufacturer: Samsung Electronics ...   Apr 1 2006, 11:24 PM
- - Bezalel   I've been having some problems with WFP so her...   Apr 9 2006, 05:39 PM
- - Sonic   CODEManufacturer: Acer, inc. Model: Asp...   Apr 10 2006, 11:28 AM
- - Bilou_Gateux   @Bezalel Not tried yet your scripts but: shoul...   Apr 11 2006, 03:40 AM
|- - Bezalel   QUOTE (Bilou_Gateux @ Apr 11 2006, 05:40 ...   Apr 11 2006, 06:10 AM
|- - Bilou_Gateux   QUOTE (Bezalel @ Apr 11 2006, 01:10 PM) I...   Apr 11 2006, 08:20 AM
|- - Bezalel   QUOTE (Bilou_Gateux @ Apr 11 2006, 09:20 ...   Apr 11 2006, 10:32 AM
- - RogueSpear   Just lettin ya know. You never know when somethin...   Apr 11 2006, 12:35 PM
- - Bezalel   I took a look a GetSys and decided not to use it b...   Apr 26 2006, 07:23 PM
- - Djé   Do you mean something like indy_dba's way in t...   Apr 26 2006, 08:18 PM
|- - Bezalel   QUOTE (Djé @ Apr 26 2006, 10:18 PM) Do yo...   Apr 26 2006, 09:05 PM
|- - Bilou_Gateux   QUOTE (Bezalel @ Apr 27 2006, 04:05 AM) T...   Apr 27 2006, 07:10 AM
- - Bigbrit   Manufacturer: Elitegroup Co. ...   Apr 26 2006, 09:02 PM
|- - Bezalel   QUOTE (Bigbrit @ Apr 26 2006, 11:02 PM) M...   Apr 26 2006, 09:16 PM
- - Djé   May I suggest the attached script for including co...   Apr 27 2006, 10:58 AM
- - Bezalel   I'n using this line of code CODEfor /F "to...   Apr 27 2006, 02:44 PM
|- - Djé   QUOTE (Bezalel @ Apr 27 2006, 09:44 PM) C...   Apr 27 2006, 03:16 PM
- - Bezalel   I think I have a working set of files. Extract the...   Apr 27 2006, 05:38 PM
- - Bilou_Gateux   Mitec GetSysInfo.exe will not be available for one...   Apr 28 2006, 11:33 AM
|- - Bezalel   QUOTE (Bilou_Gateux @ Apr 28 2006, 01:33 ...   Apr 28 2006, 12:32 PM
- - Bezalel   I removed the attachment from post 31 bacause it f...   May 1 2006, 12:08 AM
|- - RogueSpear   QUOTE (Bezalel @ May 1 2006, 01:08 AM) I ...   May 24 2006, 06:04 AM
|- - Bezalel   QUOTE (RogueSpear @ May 24 2006, 08:04 AM...   May 24 2006, 04:27 PM
- - mittern8   Hello and greetings from YerMoney! This is my ...   May 20 2006, 12:57 AM
|- - Bezalel   QUOTE (mittern8 @ May 20 2006, 01:57 AM) ...   May 23 2006, 06:14 PM
|- - mittern8   I'll reply to that more detailed later on (it...   May 23 2006, 10:40 PM
- - Bezalel   Maybe I should clarify my last post. SLP doesn...   May 23 2006, 11:44 PM
|- - mittern8   QUOTE (Bezalel @ May 24 2006, 07:44 AM) M...   May 23 2006, 11:57 PM
- - RogueSpear   That was running through my mind, but I rationaliz...   May 24 2006, 04:51 PM
- - Bezalel   I have a set of files that worked on a Dell, HP, a...   May 29 2006, 04:09 AM
- - ZaForD   Hi Bezalel, Sorry for the newbie question, but i ...   May 30 2006, 11:44 AM
|- - Bezalel   QUOTE (ZaForD @ May 30 2006, 01:44 PM) So...   May 30 2006, 01:12 PM
- - ZaForD   Thanx for the reply Bezalel, I spent most of yeste...   May 31 2006, 08:50 AM
|- - Bezalel   QUOTE (ZaForD @ May 31 2006, 09:50 AM) Th...   May 31 2006, 09:18 PM
- - Bezalel   Although my method is currently working SFC is awa...   May 31 2006, 09:04 PM
|- - Bilou_Gateux   QUOTE (Bezalel @ Jun 1 2006, 04:04 AM) Al...   Jun 9 2006, 08:33 AM
- - RogueSpear   I'm not sure about cscript.exe from DetachedPr...   May 31 2006, 09:07 PM
|- - Bezalel   QUOTE (RogueSpear @ May 31 2006, 10:07 PM...   May 31 2006, 09:52 PM
- - discountpc   I have OEMBIOS for: Compaq - Home & Pro Dell -...   May 31 2006, 10:54 PM
- - ZaForD   @ Bezalel, I was thinking of doing the same thing...   Jun 1 2006, 04:20 AM
- - vpn-user   On my IBM ThinkPad T41p with preactivated Windows ...   Jun 1 2006, 01:32 PM
|- - Bezalel   QUOTE (vpn-user @ Jun 1 2006, 03:32 ...   Jun 1 2006, 02:07 PM
|- - vpn-user   QUOTE (Bezalel @ Jun 1 2006, 09:07 PM) QU...   Jun 5 2006, 02:15 PM
|- - Bezalel   QUOTE (vpn-user @ Jun 5 2006, 04:15 ...   Jun 5 2006, 02:58 PM
|- - vpn-user   QUOTE (Bezalel @ Jun 5 2006, 09:58 PM) QU...   Jun 5 2006, 03:03 PM
||- - Bezalel   QUOTE (vpn-user @ Jun 5 2006, 05:03 ...   Jun 5 2006, 05:30 PM
||- - vpn-user   QUOTE (Bezalel @ Jun 6 2006, 12:30 AM) Re...   Jun 5 2006, 05:40 PM
|- - RogueSpear   QUOTE (Bezalel @ Jun 5 2006, 03:58 PM) My...   Jun 5 2006, 05:54 PM
- - Sonic   Posting oembios file are okay, isn't it ? A sm...   Jun 1 2006, 02:59 PM
|- - Bezalel   QUOTE (Sonic @ Jun 1 2006, 04:59 PM) Post...   Jun 5 2006, 10:22 PM
- - discountpc   PM me   Jun 1 2006, 10:44 PM
- - ZaForD   @Bezalel, The numbers that make up the ID for the...   Jun 3 2006, 01:00 PM
|- - Bezalel   QUOTE (ZaForD @ Jun 3 2006, 03:00 PM) @Be...   Jun 3 2006, 08:09 PM
- - ZaForD   @Bezalel, ooop's.. I thought the script on t...   Jun 5 2006, 01:49 PM
- - ZaForD   Anybody else like the idea of collecting Oemlogo.b...   Jun 6 2006, 06:58 AM
|- - Bezalel   QUOTE (ZaForD @ Jun 6 2006, 07:58 AM) Any...   Jun 6 2006, 07:19 AM
- - ZaForD   QUOTE I plan to add oemlogo.bmp support in later v...   Jun 6 2006, 07:52 AM
- - SecretNinja   Manufacturer: Acer Model: TravelMate...   Jun 6 2006, 08:21 AM
- - bober   i have tested HP pro and home on a HP Pavillon. bo...   Jun 6 2006, 10:19 PM
- - FreeStyler   CODEManufacturer: MEDIONPC Model: MS-7012 ...   Jun 7 2006, 01:03 PM
- - ZaForD   @Bezalel I was talking an Admin at work about this...   Jun 7 2006, 06:03 PM
|- - Bezalel   QUOTE (ZaForD @ Jun 7 2006, 07:03 PM) Cou...   Jun 7 2006, 06:31 PM
|- - FreeStyler   QUOTE (ZaForD @ Jun 8 2006, 01:03 AM) @Be...   Jun 8 2006, 04:37 AM
- - ZaForD   Thanks Bezalel, i'll pass on the info.   Jun 7 2006, 07:40 PM
- - druiddk   Packard Bell are AFAIK manufactured by NEC. The Pa...   Jun 8 2006, 02:31 AM
- - ZaForD   FreeStyler, I have both Toshiba and IBM pro filese...   Jun 8 2006, 12:35 PM
- - vpn-user   This just came into my mind: What about product ke...   Jun 8 2006, 06:06 PM
|- - Bezalel   QUOTE (vpn-user @ Jun 8 2006, 08:06 ...   Jun 8 2006, 08:59 PM
- - FreeStyler   QUOTE (ZaForD @ Jun 8 2006, 08:35 PM) Fre...   Jun 8 2006, 11:52 PM
|- - jrf2027   QUOTE (FreeStyler @ Jun 9 2006, 12:52 AM)...   Jun 10 2006, 09:43 PM
- - FreeStyler   jrf2027, sure i would love to get the "gold...   Jun 11 2006, 01:45 AM
|- - vpn-user   QUOTE (FreeStyler @ Jun 11 2006, 09:45 AM...   Jun 11 2006, 03:37 AM
- - tkmadison   CODEManufacturer: LENOVO Model: 8258J4U...   Jun 11 2006, 06:39 AM
- - druiddk   How do I figure out what to rename the OEMBIOS fil...   Jun 11 2006, 02:59 PM
|- - Bezalel   QUOTE (druiddk @ Jun 11 2006, 04:59 PM) H...   Jun 11 2006, 06:32 PM
- - bober   don't rename them. the names are the same for ...   Jun 11 2006, 03:20 PM
- - FreeStyler   @Bezalel What if a developer string has additiona...   Jun 12 2006, 01:41 AM
|- - Bezalel   QUOTE (FreeStyler @ Jun 12 2006, 02:41 AM...   Jun 12 2006, 10:12 AM
|- - FreeStyler   QUOTE (Bezalel @ Jun 12 2006, 06:12 PM) Q...   Jun 12 2006, 03:18 PM
|- - Bezalel   QUOTE (FreeStyler @ Jun 12 2006, 05:18 PM...   Jun 12 2006, 03:52 PM
|- - FreeStyler   QUOTE (Bezalel @ Jun 12 2006, 11:52 PM) Q...   Jun 12 2006, 04:40 PM
- - druiddk   @Bezalel: CODEManufacturer: LENOVO Model...   Jun 12 2006, 02:14 AM
|- - FreeStyler   QUOTE (druiddk @ Jun 12 2006, 09:14 AM) @...   Jun 12 2006, 02:27 AM
- - druiddk   QUOTE Manufacturer: IBM Model: 1871F1G 49424D Btw...   Jun 12 2006, 05:56 AM
|- - Djé   QUOTE (druiddk @ Jun 12 2006, 12:56 PM) W...   Jun 12 2006, 06:40 AM
|- - Bezalel   QUOTE (Djé @ Jun 12 2006, 07:40 AM) QUOTE...   Jun 12 2006, 07:10 AM
- - druiddk   Ah Djé thank you for clearing that up for me   Jun 12 2006, 06:43 AM
6 Pages V   1 2 3 > » 


Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 03:14 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy