?
Solved

Script to remove multiple languages in Windows 7

Posted on 2011-04-21
2
Medium Priority
?
730 Views
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..)

Thanks.
0
Comment
Question by:shankomatic
2 Comments
 
LVL 8

Accepted Solution

by:
sjl1986 earned 2000 total points
ID: 35440414
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.
0
 

Author Closing Comment

by:shankomatic
ID: 35440727
Thanks.  I Googled for a long time and couldn't find this.  Should be easy to script with this info.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

850 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