Avatar of mkllpit
mkllpit
Flag for United States of America asked on

VBS to do profile specific first run configs

I am looking to create a VB script to configure a few profile specific items within Windows XP, IE8 and Outlook. We have a shared computer that gets logged into by different users. The first time they log in, we set up their printer, go through the IE8 config popup and make sure that their Outlook mailbox is setup. I have already created the VBS needed to add a network printer and make it the default.

Option Explicit
Dim objNetwork, strUNCPrinter
Set objNetwork = CreateObject("WScript.Network") 
objNetwork.AddWindowsPrinterConnection "\\printserver\printer"
strUNCPrinter = "\\printserver\printer"
Set objNetwork = CreateObject("WScript.Network") 
objNetwork.AddWindowsPrinterConnection strUNCPrinter
objNetwork.SetDefaultPrinter strUNCPrinter
WScript.Quit

Open in new window


I need to add a way to disable the configuration popup that you see the first time you open IE8.

I also would like to have the software disable the pops that come when you first open Outlook 2007. The email profile gets created automatically but when it finishes, it asks about RSS feeds and the search feature along with another popup in the beginning. I would like to disable these popups also so that the user does not have to call us about the popups.

I would also like to have it change the power options to never for both being plugged in and on batteries. When I close the lid of my portable computer, i want it to "do nothing."

And last, I would like the Visual Effects to be set to "Adjust for best performance."

I wanted to put this all in a VBS that runs at startup. Can someone create this?
VB ScriptWindows XP

Avatar of undefined
Last Comment
mkllpit

8/22/2022 - Mon
ThinkPaper

Is this machine on a network that you can manage? A lot of these settings can be easily configured via group policy (disable first run pop ups and extra settings such as RSS feed, set power options, etc.).
If not, then you can look up the associated registry keys/settings and push those changes via vbs.
mkllpit

ASKER
Unfortunatly, I do not have access to group policy based on my position. I was hoping that I can run this on startup. or at least most of it.
ASKER CERTIFIED SOLUTION
ThinkPaper

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mkllpit

ASKER
Thank you. All of that information was very useful.

I got the Printer, IE8 config & visual effects down.

The Outlook link you shared shows how to automatically add user name and initials when Word or Excel is first run. I will use this info but I actually needed a way to auto-create the mail profile. I have found RichProfile to do the job that I need. It will create the exchange mail profile in cache mode.

I also realized that by creating a new profile and setting up all of these profile settings will also work. After I setup the profile with the above configurations, I logged off and back on as admin, copied my profile folder to the "Default Users" folder which sets up most of the configurations that I need. Now I just run RichProfile and I am good.

When I need to remove profiles because of too many profiles building up, I use Delprof.exe mixed with a batch script to automatically delete profiles older then 15 days.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck