Script will not run despite gpresult indicating its been received

I

Ian Cope

I have recently posted the following question on the
win2000\networking newsgroup, but it probably has more relevance here
now!

I'm pretty sure now that my scripts are being applied, but for some
reason are not running.

As mentioned below, if I rename one of the gif files, then I get a
vbscript runtime error saying in a nutshell that it could not find one
of the gifs!

I then changed my group policy and excluded the vbscript file, and
instead placed a small exe file there. When I next logged in, this
ran correctly, both on the LAN and over the VPN.

So...no problem there then...scripts are being applied, but a simple
vbscript will not run, or appears not to be running. I'm not sure
where to look now, as I cannot understand why the script is not
displaying correctly.

Any pointers greatly appreciated.

Regards

Ian
 
I

Ian Cope

I put a Wscript.Sleep 180000 (3 minutes) into my script to see if this
made a difference....on the LAN, when in Task Manager and Processes,
the WScript was indeed active....however, on the VPN connection it was
not.

So although the script was being received, for some reason it is not
being run! Any clues?

Ian
 
M

MadDHatteR

Does the script run if you call it using cscript or wscript? You said an
..exe ran, so calling your script via the script host may be a work-around.

Also, you aren't using any c/w-script specific syntaxes when the default
host is "other" version that doesn't work?

\\ MadDHatteR
 
I

Ian Cope

I haven't specifically tried that, but yesterday evening I installed a
spare PC and connected it externally to the firewall and used the vpn
to gain access. This was essentially to save time in my rebooting my
laptop via a different hardware profile and network cable when
testing.....yes you've guessed it, the logon script ran fine on this
newly installed PC. So, there is a problem with my laptop
somewhere....I therefore need to do some further testing and maybe
re-install my laptop to see if it specific to my laptop or laptops in
general. I use mine as my main admin tool for the network, and have
installed numerous add-ins, bits and bats etc, so there is quite a lot
of clutter there.

Regards

Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top