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

  • Network Adapter Properties
    802.1p QOS The "802.1p QOS" parameter is a standard that enables Quality of Service (QoS). It is responsible for the QoS provision...
  • 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...
  • A Simple How to use MiniDLNA on OpenWRT
    SSH/Telnet into the Router The configuration file is located at /etc/config/minidlna The database file is located at /var/run/minidlna/files...
  • K10STAT AMD Griffin Processor UnderVolting Guide
    FAQ Why UnderVolt? Because when a lower voltage can sustain your clockspeed, a stress tested undervolt will preserve battery life a...
  • OpenWRT Built for TP-Link WR1043ND
    PLEASE READ THIS POST COMPLETELY TO PREVENT ISSUES WITH YOUR ROUTER What this firmware does This firmware aims to be an opensource replaceme...
  • Hacking TP-Link WR1043ND Part 1
    This is a series of blog post detailing about how to hack the TP-Link WR1043ND to maximize its potential. I will try to be as noob friendly ...
  • Acer Aspire 4740G Review
    There is 1 confirmed bug on the Acer Aspire 4740/4740G Insyde EFI Firmware. Bug 1: DEP is disabled due to firmware bug . This will have po...
  • 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...
  • Celebrate IPv6 Day with OpenWRT
    As of Attitude Adjustment and Trunk this article is no longer applicable to set up 6in4 please refer to the new guide on OpenWRT WikiPages. ...
  • OpenWRT TL-WDR3600/4300/4310 Release
    Finally after some testing and being quite satisfied by the results I release the firmware for TL-WDR3600/4300/4310. Although they seemed li...

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