ActiveX Control / Modify file, or execute .batch file

Here is the thing.
Yes I know it sounds reallllllly nasty, however bare with me here.
I am a Systems Administrator for a company that has its finance Department, use IE 7 so that they can access bank institutions websites.
We have stressed how much we would prefer them to use Firefox, however in this case, I think IE might be good for us.

I need to set some envirement variables onto the finance groups machines, and each person is going to have to pick which settings they need.
However, there are to many of them to do this manually.
I have set up a page, that gives them the ability to select the setting right for them, and this determins which batch file they download and place in
C:\Documents and Settings\All Users\Start Menu\Programs\Startup.

Now, alot of them have been complaining they cant find this folder, etc..

Is there a way, that an ActiveX control can be used to run the appropriate file via the browser after they accept the control?
Maybe3 even a step more and have it place the file where it needs to be?
If not a correctly written .bat file can be used to copy the appropriate file to that directory.

If you catch my drift, that woudl be great, I am after ease for the employees.
Yes, I hate that we have to use .bat files, but if you can think of another easy non user needed way to set them, without GP, that woudl be just as neat.

PS: No, we don't use logon scripts, each user has local accounts on each machine.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Irwin SantosComputer Integration SpecialistCommented:
did this work before?
if so, apply this

Recent windows update

Copy the following to the clipboard (it's all one line even if wrapped in your browser - paste into notepad and remove line breaks if necessary, and copy again)
click START, type RUN <enter>

=copy below here=
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached" /v "{A4DF5659-0801-4A60-9607-1C48695EFDA9} {000214E6-0000-0000-C000-000000000046} 0x401" /t REG_DWORD /d 1
=copy above here=
KellyCraigAuthor Commented:
did what work before?
I think your nto quite understanding me.
Please re-read the question.
I want to be able to modify/replace/or execute a file located on a server, on an employee's computer via a web page.
Using ActiveX Xontrols.

Fo instance.
There are 4 .bat files on the web server.


I want the users to be able to pick thier division and then have Active X controls run the commands in the batch file on their computer via the browser.
Am I making sense?
Irwin SantosComputer Integration SpecialistCommented:
what is contained the batch file?
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

KellyCraigAuthor Commented:
We have a program that they use for accounting that gets secure files off of different servers, which for security purposes, has their name and IP changed weekly.
The servers contain the files needed to run the program.
These batch files would simply contain 1 line, a SET command to set the path of the server.

So fo instance the Bf.bat would say
SET CITRIXPATH = "\\server1\secure\HXBG1KY\citrix"

Now, as it is, they must download the file and place it in the folder I told you about.
But many cant seem to find the folder.

so this would allow us to tie the execution of this web page into the program, so before they ran it each time, it would run the set sommand.
Irwin SantosComputer Integration SpecialistCommented:
Rather than go the complex route

Just type in the URL of IE

C:\Documents and Settings\Defaultuser\Desktop\bf.bat

You will be prompted to RUN, the batch on it, it will run and you wil have your environment variable set.  Make this a Favorite and/or add this as a link to the the IE Toolbar.
KellyCraigAuthor Commented:
We thought of that route, however we got employees saving and not running, running as other people, half could do it, others couldnt.
Some would save and run then next week bitch that it didnt work.

We need it to be done without anything from them other than to log in and accept the active x control.
Irwin SantosComputer Integration SpecialistCommented:
"Some would save and run then next week bitch that it didnt work."
Ha!  I feel your frustration... about this...

same method..but we create a batch file for interactive response.
Press 1 for var/www/html/files/sag/Bf.bat
Press 2 for /var/www/html/files/sag/travel.bat
Press 3 for /var/www/html/files/sag/claims.bat
Press 4 for /var/www/html/files/sag/records.bat

We'll place that .bat file in the STARTUP folder  forcing it in their face..

Sound like a plan?

If so, I'm going to sleep for a bit and will return about 8hours from now and figure out a .bat file for you.  I've done this years ago...but that is way back when we had DOS6.22.  and I'm rusty.

Please advise.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Irwin SantosComputer Integration SpecialistCommented:
cool. thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.