winstalla
asked on
VBS Login Script with HTA
Sorry for asking a dumb question, but I've been trying to get this working all day and, whilst there are lots of ways that don't work the way I want it to, I know that there must be a simple way of getting it to work. Surely!
All I want (and why is it that the simplest requests cause so much trouble?) is a basic Logon script that brings up a HTA window (without a title bar, cos some moron will only close it down otherwise!) that says hello (by name and computer) lists what the script is doing, maps a handful of basic drives (one is individual to each User), and closes down.
The HTA would look like this (use your imagination! :) )
Hello, [Username]
You are connected to [Computer Name]
Mapping Network Drives. Please wait...
Mapping G: to [Shared Drive]
Mapping H: to [Individual User Folder]
Checking any additional network drives (based on AD Groups)
Logon complete.
Any help? Please?
All I want (and why is it that the simplest requests cause so much trouble?) is a basic Logon script that brings up a HTA window (without a title bar, cos some moron will only close it down otherwise!) that says hello (by name and computer) lists what the script is doing, maps a handful of basic drives (one is individual to each User), and closes down.
The HTA would look like this (use your imagination! :) )
Hello, [Username]
You are connected to [Computer Name]
Mapping Network Drives. Please wait...
Mapping G: to [Shared Drive]
Mapping H: to [Individual User Folder]
Checking any additional network drives (based on AD Groups)
Logon complete.
Any help? Please?
ASKER
Thank you, Rob,
There is only one issue that I have found so far; I cannot manage to get a drive mapping to \\server\users\{individual folder}. Is there a way around this?
I have tried: %username%, objUser and UserName, all without success.
Otherwise, this is precisely the kind of thing that I was looking for!
There is only one issue that I have found so far; I cannot manage to get a drive mapping to \\server\users\{individual
I have tried: %username%, objUser and UserName, all without success.
Otherwise, this is precisely the kind of thing that I was looking for!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's it! I obviously didn't put that in correctly! So that's more down to my poor spelling!
Thank you!
Thank you!
No problem. You may have had the quotes in the wrong spot. Quite a few people do that.
Glad to help. Thanks for the grade.
Regards,
Rob.
Glad to help. Thanks for the grade.
Regards,
Rob.
Regards,
Rob.
Open in new window