English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

About Me
Member since: December 08, 2006
Total points: 101 (Level 1)
Points earned this week:
Total answers:
Best answers:

Got a scripting question??

I need to make a script where when executed it does a few things
1. Remove 4 programs from add/remove programs
2. changes users permissions
3. installs office(all have same key)

I have 500 to do is why I was wondering if there is a way to write or do something that will automatically do this for me? If you could help I would appreciate it
The operating systems that the users use is XP and I have server 2003 these will all be new computers I am doing this to and they are very fast

2006-12-17 18:51:54 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

Hi,
Hi you can write VB script to achive this.
for each program goto HKEY_LOCAL_MACHINE\software\Microsoft\windows\CurrentVersion\Uninstall\
Get Uninstall string and use commandline to uninstall, there are API avaibale to read from registry and to launch the setup with uninstallation commandline.

there are aPI available to change user permission you can use ActiveDS.tlb file located at your system 32 folder to get the API details.

Installation of office is straight forward you can launch the setup.exe in your VB script.

2006-12-17 19:00:15 · answer #1 · answered by abhay t 1 · 0 0

This sounds like a task for Group Policy. Create a policy and apply it to the appropriate OU. You will also have to package Microsoft Office into an MSI that can be deployed using Group Policy; search on the Microsoft site for a utility to assist you with this.

2006-12-18 03:00:21 · answer #2 · answered by cs_gmlynarczyk 5 · 0 0

sometimes you just need to find a website that has scripts and copy paste the scripts

2006-12-18 02:54:58 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers