Getting .vbs script to run at logon.. 
Author Message
 Getting .vbs script to run at logon..

I am testing using wsh/vbs as a login script but am having trouble getting
it to run.  I have entered the script (test.vbs) in my logon script portion
of my profile and the script is on all of my netlogon shares but it does not
run.  Do I need to run it from a batch file or is there a better way to call
the .vbs directly?

All help appreciated!
-Chad



Fri, 22 Jun 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..

You cannot run it directly if you are using NT or Win95. You either have to wrap it in a dos batch file or you can use an external app (Like the one found on my site) that allows you to run it without invoking the console window.

Clarence
Check it out..

Http://cwashington.netreach.net

On this site you will find resources for all of your scripting needs.
Everything you need to get up and running. Over 100 Sample
Scripts, reference materials, and technical support via an
online discussion lounge.

[ Win32Scripting... automate!! ]

I am testing using wsh/vbs as a login script but am having trouble getting
it to run.  I have entered the script (test.vbs) in my logon script portion
of my profile and the script is on all of my netlogon shares but it does not
run.  Do I need to run it from a batch file or is there a better way to call
the .vbs directly?

All help appreciated!
-Chad



Fri, 22 Jun 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..

Thanks for the tip... Got it working fine for NT clients.  Is there anything special to do to get the logon.exe to run on 95 clients?  Can't seem to get it to work.  Just skips right over like nothing were specified in logon script.

-Chad

    You cannot run it directly if you are using NT or Win95. You either have to wrap it in a dos batch file or you can use an external app (Like the one found on my site) that allows you to run it without invoking the console window.

    Clarence
    Check it out..

    Http://cwashington.netreach.net

    On this site you will find resources for all of your scripting needs.
    Everything you need to get up and running. Over 100 Sample
    Scripts, reference materials, and technical support via an
    online discussion lounge.

    [ Win32Scripting... automate!! ]


    I am testing using wsh/vbs as a login script but am having trouble getting
    it to run.  I have entered the script (test.vbs) in my logon script portion
    of my profile and the script is on all of my netlogon shares but it does not
    run.  Do I need to run it from a batch file or is there a better way to call
    the .vbs directly?

    All help appreciated!
    -Chad



Fri, 22 Jun 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..
Perhaps you should enter "wscript test.vbs" or even "c:\winnt\wscript
test.vbs", Chad.

                                        Charles Tower

Quote:

>I am testing using wsh/vbs as a login script but am having trouble getting
>it to run.  I have entered the script (test.vbs) in my logon script portion



Sat, 23 Jun 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..
Windows 95 and I believe Windows 98 execute login scripts asynchronously. In
a nutshell, if you are doing anything that requires a validated user, GOOD
LUCK.

I have not been successful.

Rick Kitzman
K4 technologies, Inc.


Quote:
> I am testing using wsh/vbs as a login script but am having trouble getting
> it to run.  I have entered the script (test.vbs) in my logon script
portion
> of my profile and the script is on all of my netlogon shares but it does
not
> run.  Do I need to run it from a batch file or is there a better way to
call
> the .vbs directly?

> All help appreciated!
> -Chad



Sat, 30 Jun 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..

Quote:
>Windows 95 and I believe Windows 98 execute login scripts asynchronously.
In
>a nutshell, if you are doing anything that requires a validated user, GOOD
>LUCK.

>I have not been successful.

>Rick Kitzman
>K4 technologies, Inc.

If you use a simple while loop, you can give your script enough time to get
the validated user ID when it is available.


Mon, 02 Jul 2001 03:00:00 GMT  
 Getting .vbs script to run at logon..
I have the loop in and it works fine with 95 when run manually.  My problem
is that I can't get the script to run a login on a 95 machine.  I've tried
calling it in a batch with the logon.exe program, but no luck....

-Chad

Quote:



>>Windows 95 and I believe Windows 98 execute login scripts asynchronously.
>In
>>a nutshell, if you are doing anything that requires a validated user, GOOD
>>LUCK.

>>I have not been successful.

>>Rick Kitzman
>>K4 technologies, Inc.

>If you use a simple while loop, you can give your script enough time to get
>the validated user ID when it is available.



Tue, 03 Jul 2001 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. logon.exe script.vbs in profile (logon script)

2. How do I run a .vbs file a NT logon script

3. Running VBS Script Via Logon Batch File

4. Logon Script (.vbs) will not run on 98.

5. Getting Local IP address running a VBS script locally

6. Running a .vbs script from within a .vbs script

7. Running Scripting Host Files as Logon Script

8. Error on getting username in a logon script.

9. vbs Timer script to run other script

10. VBS as logon script

11. .vbs as a logon script?

12. Using VBS in Users Logon Script

 

 
Powered by phpBB® Forum Software