Re: PLEASE EVALUATE THIS SCRIPT INSTEAD Re: Please evaluate logon script



I figured out how to do what you suggest using the Sysinternals forum. I
think that with using this, I'll practically have no use for a logon script.
"Graham Walters" <graham@**aceglow**.demon.co.uk> wrote in message
news:eajgbt$poe$1$8302bc10@xxxxxxxxxxxxxxxxxxx
Hi

The scripts are at work, I'll copy and send them tomorrow

Graham

"ComputerTeacher" <computerteacher-nospame@xxxxxxxxxxxx> wrote in message
news:fX6zg.281456$IK3.193516@xxxxxxxxxxx
Thanks for the candid respone Graham. That's what I appreciate and need!

To tell the truth, I haven't tested it yet, just authored it. But you're
absolutely right, about leaving at the mapping success or not statements.
First of all, our network is up 99%. And if it's down, they'll figure it
out anyway and we make announcements that the network is down.

I hadn't considered using bginfo at the end. Excellent idea. Then I
don't have to include any success/failure statements abour mappings for
drives and printers. I'd appreciate it if you could forward the scripts
I need to make that work to jscc@xxxxxxxxxxxx

Thanks again,
Jeremy



"Graham Walters" <graham@**aceglow**.demon.co.uk> wrote in message
news:eai33h$fhv$1$830fa7a5@xxxxxxxxxxxxxxxxxxx
Don't get me wrong, but I think your login script is the most
complicated I've ever seen....

How long does it take to execute? I know my users wouldn't be prepared
to wait for it to load.

Is there really any need to inform users EVERY time they log in that a
particular drive or printer is available.

Case "GG047-BUSINESS"

Set objNetwork= CreateObject("Wscript.Network")
MapIt "S:","\\s047-a0371-01\BUSINESS$"
On Error
document.write("<h2>Sorry, it appears that your Departmental Drive is
offline at the moment.</h2>")
Else
document.write("<h2>S: has been mapped as your Departmental Drive
(Business). This is where you'll find documents common to your
department.</h2>")

A network resource should be available all the time, if it is
continually unavailable, then you have serious networking issues. It
isn't such a good idea to publicise that there are issues. People
(especially teachers) would wonder why you are unable to ensure a
resource is available.

We use Bginfo, a great little program, but I call it up at the end of
the script, so I can display the default and all printers available to
the user. I know a couple of little vbs scripts have to be written, (I
can sent you copies of mine if you wish) but it's a useful tool to show
the user what printers are available, especially if they move around a
school from lesson to lesson.

I wish you well, but if it was me, I'd spend a bit of time simplifying
it....

Graham




.


Quantcast