Script to remove multiple languages in Windows 7

Posted on 2011-04-21
Last Modified: 2012-05-11
We have a large number of machines that have Windows 7 Enterprise installed.  When attempting to push Service Pack 1, they all fail with a 0x8007000E error.  Microsoft indicated that this error can happen if a large number of language packs are installed on this machine.  (There are about 40 on this build).  

After removing some of the languages the service pack installs.  I am looking for an automated way to remove some of the language packs without going through the control panel.  (i.e. VBS scripts, command line, etc..)

Question by:shankomatic
    LVL 8

    Accepted Solution

    Go to your command prompt and type "lpksetup /?" without the quotes. This will open a menu of switches which can be used with the command.

    If you use lpksetup /u LANGUAGE then it should uninstall whatever language you put in there. Read the information for the Uninstall (/u) switch in the pop up window. It will tell you how to format the languages and it says they need to be space-delimited to uninstall multiple ones at a time. Then you could create a batch file and run it as administrator on each computer and it should do everything for you.

    Author Closing Comment

    Thanks.  I Googled for a long time and couldn't find this.  Should be easy to script with this info.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now