I have the detection routine, for version(ultimate, pro, etc) and RSDT OEM/TableID both.. I assume you have it also, as it is not difficult. If you want it, let me know. I seriously doubt any difference. I currently use it separately for AIO version DVD and autoactivation for W7/Vista. The key input works every time, but the OEM/TableIDs can be in the RSDT reg, such as GATEWASYSTEM or _ASUS_Notebook, And not have a valid slic. There is no way I know to remedy this...
yeah i was just adding some code to autodetect 7/vista and it seemed to have only support for ultimate vista?? Nvm I won't rewrite it then, I was bored is all lol. To autodetect 7/Vista I would do something like this: VER | FINDSTR 6.1 IF NOT ERRORLEVEL 1 GOTO 7 VER| 6.0 IF NOT ERRORLEVEL 1 GOTO Vista GOTO UNSUPPORTED
That is very close to it..I have stuff scattered over the place. I found the OEM/Table ID detection to be faulty with CMD. Maybe better with another programming method. The version detect works everytime with CMD.. I do not use Errorlevel, but the rest may be similar.. I would suggest the VB6 or other for the SLIC detection...Maybe with a powershell app. these seem to be intriguing.. I only put support for vista ultimate in the script I uploaded, because I had it for my circle of friends, and they only wanted this. The W7 is too easy with only a few things available now. Easier to build up than dump it all at once..
I would just do it like this Code: SET QUERY=REQ QUERY KHLM\HARDWARE\ACPI\RSDT\ %QUERY% | FINDSTR ASUS IF NOT ERRORLEVEL 1 SET SLIC=ASUS & GOTO INSTALLCERT SET QUERY=REQ QUERY KHLM\HARDWARE\ACPI\RSDT\ %QUERY% | FINDSTR ACER and so on... Code: :INSTALLCERT VER | FINDSTR 6.1 IF NOT ERRORLEVEL 1 (cscript %windir%\System32\slmgr.vbs -ilc %~dp02.1%SLIC% .xrm-ms) VER | FINDSTR 6.0 IF NOT ERRORLEVEL 1 (cscript %windir%\System32\slmgr.vbs -ilc %~dp02.0%SLIC% .xrm-ms) Or something like that Incredibly inneficeient I know but it works
this is how I do it with vbs Code: 'begin logos.vbs '================================================================================== '================================================================================== strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objFileSystem = CreateObject("Scripting.FileSystemObject") Set colBIOSs = objWMIService.ExecQuery("SELECT * FROM Win32_BIOS") Set Shell = WScript.CreateObject("WScript.Shell") Set WinDir = objFileSystem.GetSpecialFolder(WindowsFolder) currentDIR = Shell.CurrentDirectory For Each objBIOS in colBIOSs strBIOS = objBIOS.Version Next strBIOS = left(strBIOS,6) strBIOS = trim(strBIOS) If strBIOS = "ACRSYS" Then logo_folder = "Acer" ElseIf strBIOS = "_ASUS_" Then logo_folder = "ASUS" ElseIf strBIOS = "ALWARE" Then logo_folder = "Alienware" ElseIf strBIOS = "BenQ" Then logo_folder = "BenQ" ElseIf strBIOS = "DELL" Then logo_folder = "Dell" ElseIf strBIOS = "FOUNDR" Then logo_folder = "Founder" ElseIf strBIOS = "FUJ" Then logo_folder = "Fujitsu" ElseIf strBIOS = "MSI_NB" Then logo_folder = "MSI" ElseIf strBIOS = "LENOVO" Then logo_folder = "Lenovo" ElseIf strBIOS = "SECCSD" Then logo_folder = "Samsung" ElseIf strBIOS = "Sony -" Then logo_folder = "Sony" ElseIf strBIOS = "TOSCPL" Then logo_folder = "Toshiba" ElseIf strBIOS = "TOSINV" Then logo_folder = "Toshiba" ElseIf strBIOS = "TOSAUS" Then logo_folder = "Toshiba" ElseIf strBIOS = "TOSQCI" Then logo_folder = "Toshiba" ElseIf strBIOS = "HPQOEM" Then logo_folder = "HP" Else logo_folder = "none" End If if not logo_folder = "none" then if not objFileSystem.FolderExists(WinDIR & "\System32\oobe\info") then objFileSystem.CreateFolder(WinDIR & "\System32\oobe\info") end if objFileSystem.CopyFile currentDIR & "\logos\" & logo_folder & "\*", WinDIR & "\System32\oobe\info\",1 objFileSystem.CopyFolder currentDIR & "\logos\" & logo_folder & "\*", WinDIR & "\System32\oobe\info\",1 Shell.Run "regedit /S " & WinDIR & "\system32\oobe\info\reg.reg",2,1 end if '================================================================================== '================================================================================== 'end logos.vbs
Working One I have one that 100% works on Vista and Win7 took me a year to perfect it. I use it everyday from the first logon command returns system id then loads proper cert and the returns system type for the key loading which does from a ini file the I compiled this into an exe. This way is totally legal no loaders you must have a true OEM machine or a modded bios. Never once had a false positive. I call them Vista_OEM_Activator and Win7_OEM_Activator.
mine is usable and i think nononsence's version is usable also. mine has a bug when you try and close it it wont close so you have to go to custom key and click apply key wait for the key install to fail then close its fixed in the version i have i just havent had time to work on it lately
hope that all the tools related to this small and nice project can be finished soon and properly, i like the things good finished thanks to alls involved to
is this going to be based off of nononsence's open source one? because i saw your loader was based off of his loader and im wondering if your going to do the same with this tool. when i get on my machine with vs ill work on mine and it should be finished by tomorrow. then ill ask for bug reports and ill answer most questions