WSS 3.0 - Button to run VBScript and Map Network Drives

Posted on 2012-08-31
Medium Priority
Last Modified: 2014-05-25
Hi all,

Having some issues with a setting up a button to run a client side VBScript in WSS 3.0.
We have a rather large Windows network, when a user logs in, a script runs which is pushed through group policy and maps all of the network drives for each user.

Sometimes the aforementioned script fails to run, leaving the user without any network drives or resources.
I am trying to setup a button on our WSS 3.0 intranet, that when pressed will either run the login script, or run a script that will map all of the network drives.

I have tried numerous things, but could only manage to get one drive to map, when in fact there are 8 that need mapping.

I have added a 'Content Editor Web Part' added a button and edited the source code in an attempt to get this working, but to no avail.

I have now hit a dead end, starting from scratch and needing your help.

Does anyone know how this can be achieved?

We are running both Windows XP and Windows 7 machines if that makes a difference.


Question by:Nemins
1 Comment
LVL 65

Accepted Solution

RobSampson earned 2000 total points
ID: 38359654
Hi, I'm not an expert in web development or web security, but I have tried in the past to get links from my Intranet to run things under the user context of the desktop session, but it doesn't appear to work.  I believe this is just part of the security model built in to Internet Explorer.

You can try adding your site as a Trusted Site, disabling IE Protected Mode, and using Windows Authentication on your web page, but I still don't think it will work.

I had to settle for creating a hyperlink to a network folder, and having users double click the required file.



Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
Each password manager has its own problems in dealing with certain websites and their login methods. In Part 1, I review the Top 5 Password Managers that I've found to be the best. In Part 2 we'll look at which ones co-exist together and why it'…
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

615 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