Microsoft Laptop

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 15 December 2010

Script to Install Driver Packages

Posted on 01:44 by Unknown
This bat script is written by me to mass install drivers, activate OEM Windows as well as perform Disk Optimization to alleviate some of the repetitive actions.
You are free to use as you wish but no warranty is provided.
You just need to put the bat script in the same folder as the drivers and OEM Certificate and launch it with Administrative Permission as shown in the example below.


You will most likely need to make some minor changes to suit the script to your purpose.
REM indicates comments.
Start Copy below after this line:
__________________________________________________________________________________

    @echo off

    REM Script Originally Written by the Author of aspiregemstone.blogspot.com

    REM You are free to modify, share & use, completely Free of Charge.

    REM But kindly please acknowledge the source in the Spirit Of Sharing. Thanks =)

    FOR /D %%I IN (%0) DO CD /d %%~dpI

    cls

    echo Creating OEM Certificate Directory...

    mkdir "C:\Windows\system32\OEM"

    echo Copying OEM Certificate...

    copy "OEM.XRM-MS" "C:\Windows\system32\OEM"

    echo Activating Windows 7...

    echo Please wait...This might take a while...

    REM Rename the OEM Certificate to OEM.XRM-MS

    slmgr.vbs -ilc C:\Windows\System32\OEM\OEM.XRM-MS

    REM Replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with the OEM Key

    slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    echo Done!

    echo Installing Drivers...

    echo DO NOT RESTART THE COMPUTER!

    REM Rename the Driver Packages

    Chipset_Driver.exe

    Graphics_Driver.exe

    Ethernet_Driver.exe

    Wireless_Driver.exe

    Printer_Driver.exe

    WinTV_Driver.exe

    REM Below is how the script access extracted Drivers

    Audio_Driver\Setup.exe

    Web_Camera\Setup.exe

    Storage_Driver\Setup.exe

    echo All DRIVERS INSTALLED!

    echo Cleaning up TEMP Folders

    C:

    REM Remove Temp Folders created by HP and Intel Driver Packages

    del /S /Q /F C:\SWsetup

    del /S /Q /F C:\swsetup

    del /S /Q /F C:\Intel

    REM Manually invoke optimization

    Rundll32.exe advapi32.dll,ProcessIdleTasks

    echo You may restart the Computer now!

    pause
__________________________________________________________________________________

Save the script as Setup.bat and Right Click to launch it with Admin Rights.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in driver, windows 7, windows vista | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Configuring Pure-FTPd with TLS on OpenWRT
    This is a simple guide to configuring Pure-FTPd on OpenWRT which is available on the TP-Link WR1043ND OpenWRT Image I compiled. Pure-FTPd i...
  • How to Mod your Laptop VGA BIOS
    Basically there are 2 locations where the VGA BIOS in laptops. Some OEMS embed the VGA BIOS in the EFI/BIOS in your laptops, other OEMs have...
  • List Of Modified BIOS Collection
    Here are the list of Modified BIOS Collection (mainly SLIC Mods), no warranty provided use at your own discretion! Acer Aspire 4520G BIOS Ac...
  • Delete Windows System Files
    If you play around with Windows System Files sometimes it is not possible to delte them off after you had your fun. The following commands w...
  • Free Windows Themes and TuneXP
    Besides LINUX and UNIX system i also happen to know some good Windows Tools that everyone should have in their PCs Note the following tools ...
  • Acer Phoenix BIOS Emergency Recovery
    This is for people who don't listen and interrupt the flashing BIOS for unknown reasons. This will work provided the BIOS BootBlock isn...
  • Internet Explorer Tweak
    Here is a registry tweak for Internet Explorer Similar to the Mozilla Firefox tweak this enable you to increase the number simultaneous ser...
  • How to obtain the DSDT from your laptop
    There are many ways to rip the DSDT out of the laptop BIOS. If there is a BIOS editor it is possible to rip out the .AML file. However below...
  • Fixed My Left Speaker
    Ok, I had issues with my left speaker on my laptop. It was dead. So if I were to order the exact replacement it would cost more than $100 fo...
  • Changing the Acer Arcade Shortcut
    While surfing the Windows Registry (You must be thinking that I am weird =P) yesterday I found something interesting It is actually possible...

Categories

  • 32bit
  • 64bit
  • acer
  • ahci
  • amd
  • apple
  • aspire 4530
  • aspire 4535G
  • aspire 4740
  • atheros
  • atom
  • BIOS
  • boot
  • cleanup
  • configure
  • device
  • disk
  • dismantle
  • download
  • driver
  • fan control
  • firefox
  • firewall
  • firmware
  • fix
  • flash
  • graphics
  • hwmonitor
  • internet
  • linux
  • macs
  • microsoft
  • modified
  • nvidia
  • optimize
  • overclock
  • performance
  • power savings
  • powermizer
  • proxy
  • ram
  • Realtek
  • review
  • secure
  • shortcut
  • speaker
  • synaptics
  • temperature
  • theme
  • timeline
  • tweak
  • undervolt
  • update
  • wallpaper
  • windows 7
  • windows vista
  • Windows Xp
  • winsat
  • wlan

Blog Archive

  • ►  2013 (10)
    • ►  November (2)
    • ►  October (3)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2012 (4)
    • ►  September (1)
    • ►  June (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2011 (21)
    • ►  September (1)
    • ►  July (4)
    • ►  June (3)
    • ►  May (3)
    • ►  April (3)
    • ►  March (4)
    • ►  February (2)
    • ►  January (1)
  • ▼  2010 (36)
    • ▼  December (3)
      • Google Secure Socket Layer For Internet Explorer
      • Script to Install Driver Packages
      • Windows Essentials 2011 breaks SAMBA Shares
    • ►  November (2)
    • ►  October (4)
    • ►  September (1)
    • ►  August (5)
    • ►  July (1)
    • ►  June (5)
    • ►  May (3)
    • ►  April (3)
    • ►  March (6)
    • ►  February (1)
    • ►  January (2)
  • ►  2009 (81)
    • ►  December (3)
    • ►  November (3)
    • ►  October (9)
    • ►  September (5)
    • ►  August (1)
    • ►  July (5)
    • ►  June (8)
    • ►  May (15)
    • ►  April (10)
    • ►  March (13)
    • ►  February (8)
    • ►  January (1)
  • ►  2008 (8)
    • ►  November (5)
    • ►  July (3)
Powered by Blogger.

About Me

Unknown
View my complete profile