I'm looking to make an HTA for our users to map network drives from home. The problem I've run into is that the method I use in vbscript to map drives users wscript. Anyone have a suggestion on how I can do it another way?
HTA to map drives
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
HTA to map drives
Is there a reason you are using an HTA for the logon script? Is there more to the script than mapping drives? Is this something the user is manually initiating or is this some sort of VPN logon script that might delivered through group policy? You clearly have a business need beyond a simple network based logon script. The more we can understand, the more we can get you pointed in the right direction.
HTA to map drives
This is something I would like to distribute for my users at home. Here at work we use GPO's to run login scripts to map the drives for them. I'm trying to write an HTA that they can run which will give them options for mapping different network drives from home where their machines are not joined into our ADS domain. The users would be connecting via VPN before this would be able to work.
So far the HTA is working pretty well using
CreateObject("WScript.Shell").Run
to initiate a NET USE to map the drive. Now I want to add some error checking, which is what I'm working on now.
So far the HTA is working pretty well using
CreateObject("WScript.Shell").Run
to initiate a NET USE to map the drive. Now I want to add some error checking, which is what I'm working on now.