login script wont run 
Author Message
 login script wont run

Please be patient with me as I'm new to scripting.  I have created a simple
login script in vbs.  If  I double click it, it works fine, however if a
enter it as the login script on a 2000 server and logon with a 95
workstation it does not appear to run.  I've tried using a batch file as a
login script and that works fine.  I also tried it a  wsh and this did not
work either, is there something special I have to put in the code to make it
run a login file for a 95 workstation ?


Mon, 28 Apr 2003 03:00:00 GMT  
 login script wont run

Quote:

> Please be patient with me as I'm new to scripting.  I have created a
> simple login script in vbs.  If  I double click it, it works fine,
> however if a enter it as the login script on a 2000 server and logon
> with a 95 workstation it does not appear to run.  I've tried using a
> batch file as a login script and that works fine.  I also tried it a
> wsh and this did not work either, is there something special I have
> to put in the code to make it run a login file for a 95 workstation ?

You have installed WSH on the Win 95 box?  It isn't normally installed
there.

Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/



Mon, 28 Apr 2003 03:00:00 GMT  
 login script wont run
You could logon under this arrangement only from a Win2K box which supports direct execution of a
logon.vbs.  But Win9x, WinME, and WinNT do not.  The lowest common denominator across all of them
(from Win9x thru Win2K) is .bat files...

--
Michael Harris
Microsoft.MVP.Scripting
--

Quote:

> Please be patient with me as I'm new to scripting.  I have created a simple
> login script in vbs.  If  I double click it, it works fine, however if a
> enter it as the login script on a 2000 server and logon with a 95
> workstation it does not appear to run.  I've tried using a batch file as a
> login script and that works fine.  I also tried it a  wsh and this did not
> work either, is there something special I have to put in the code to make it
> run a login file for a 95 workstation ?



Mon, 28 Apr 2003 03:00:00 GMT  
 login script wont run
I have the same situation. What I did was create my vbs file and placed it
in the \Netlogon  folder on the server. Then I created a batch file with
the same filename. The batch file runs the script. It does not matter what
the clients operating system  is. In the users profile on NT/2000 I have
the xxxx.BAT file being run. Here's what the bat file contains:

Wscript \\Servername\Netlogon\xxxxxxx.Bat

That's all it does. Wscript is a file that is on the clients providing that
they have had IE5 installed. If not, download the latest version of Windows
Script Host 2.0 and install it on the clients.



Quote:
> Please be patient with me as I'm new to scripting.  I have created a
simple
> login script in vbs.  If  I double click it, it works fine, however if a
> enter it as the login script on a 2000 server and logon with a 95
> workstation it does not appear to run.  I've tried using a batch file as
a
> login script and that works fine.  I also tried it a  wsh and this did
not
> work either, is there something special I have to put in the code to make
it
> run a login file for a 95 workstation ?



Tue, 29 Apr 2003 03:00:00 GMT  
 login script wont run
I'm not much of a programmer either (I'm new to scripting as well), but the
consensus that I hear is to have a .bat file call the .vbs script.


Quote:
> Please be patient with me as I'm new to scripting.  I have created a
simple
> login script in vbs.  If  I double click it, it works fine, however if a
> enter it as the login script on a 2000 server and logon with a 95
> workstation it does not appear to run.  I've tried using a batch file as a
> login script and that works fine.  I also tried it a  wsh and this did not
> work either, is there something special I have to put in the code to make
it
> run a login file for a 95 workstation ?



Sun, 11 May 2003 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Script wont run

2. Win95 client wont run logon script..

3. Secured WSH wont run scripts

4. Login script - Script running before user logs on.

5. Login script - Script running before user logs on.

6. How to run a simple batch login script VB4

7. access denied to wscript at login but runs after login

8. Run wont..run!

9. "run as" in login script

10. Login script for running assoc command in Win98

11. vb login script not running sbsclnt.exe - MS Small Business Server

12. FYI: Win2k Login Script Not Running

 

 
Powered by phpBB® Forum Software