Batch to fetch system model info

April 18, 2012 at 14:08:19
Specs: Windows 7 Ultimate
Looking for batch file to pull System Model information from CMD > Systeminfo

System Manufacturer: Acer
*System Model: Aspire 5253*
System Type: x64-based PC

But the "System Model: " cannot be included in the info pull, so I asking for the output to show as "Aspire 5253" or what ever the computer the batch file is being ran on's model is and then output the information to registery file and run or directly to registery.



What this is suppose to do is run during a Fresh install of Windows 7 or or Vista, capture the system model (the manufacture info is already input using another method that cannot be changed easily) and input it to the registry so that when the user opens SYSTEM in the CONTROL PANEL it will show the users model there.

See More: Batch to fetch system model info

Report •

April 19, 2012 at 07:10:47

@echo off
for /f "skip=1 tokens=*" %%i in (
'"wmic computerSystem get model"'
) do (
reg add hklm\software\microsoft\windows\currentversion\oeminformation /v Model /t REG_SZ /d %%i


Report •

April 28, 2012 at 19:09:51
Sorry brother, doesn't work. Gives error but happens so fast i am unable to tell what it says.

Report •
Related Solutions

Ask Question