What is the proper way of executing a vbs file from a network path upon
start up of a machine in a workgroup not an ADSI? I have tried a
variety of different netlogon paths and setting the home local to the
network path, but I have not had any luck. I am sure I am missing
something very simple, Thank you in advance.

Re: Running a vbs file from a network path at logon by Dave

Dave
Sat Jul 08 22:49:15 CDT 2006

I'd use something like;

cscript \\machine\share\somescript.vbs


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"snivitzo" wrote:
| What is the proper way of executing a vbs file from a network path upon
| start up of a machine in a workgroup not an ADSI? I have tried a
| variety of different netlogon paths and setting the home local to the
| network path, but I have not had any luck. I am sure I am missing
| something very simple, Thank you in advance.
|



Re: Running a vbs file from a network path at logon by Richard

Richard
Sat Jul 08 22:55:23 CDT 2006


"snivitzo" <snivitzo@gmail.com> wrote in message
news:1152414428.079775.272540@35g2000cwc.googlegroups.com...
> What is the proper way of executing a vbs file from a network path upon
> start up of a machine in a workgroup not an ADSI? I have tried a
> variety of different netlogon paths and setting the home local to the
> network path, but I have not had any luck. I am sure I am missing
> something very simple, Thank you in advance.

If the computer is joined to an Active Directory domain, then there is a
NetLogon share available at logon, from which logon scripts can be run. Or,
Group Policy allows you to run scripts from a network path. If you have
workgroup (no Active Directory) you cannot depend on any share being mapped
during startup or logon. The best I can think of is to have a local script
map a share (with net use perhaps), then launch a script from the share.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net



Re: Running a vbs file from a network path at logon by snivitzo

snivitzo
Sat Jul 08 23:18:01 CDT 2006

I will try this when I'm back on the network Monday. Thank you.

Dave Patrick wrote:
> I'd use something like;
>
> cscript \\machine\share\somescript.vbs
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "snivitzo" wrote:
> | What is the proper way of executing a vbs file from a network path upon
> | start up of a machine in a workgroup not an ADSI? I have tried a
> | variety of different netlogon paths and setting the home local to the
> | network path, but I have not had any luck. I am sure I am missing
> | something very simple, Thank you in advance.
> |


Re: Running a vbs file from a network path at logon by snivitzo

snivitzo
Sat Jul 08 23:24:18 CDT 2006

The network in question has a set up (currently) of local machines with
xp pro that have network paths mapped (that are up 99.9% of the time).
A net share called netlogon (but not on an adsi) exists but this is
used as a My Docs replacement.

If I can, upon logon have the file execute from one of the network
shares it should work fine. I did try setting under computer management
> local users > users > user > profile tab local path (define as the network drive the vbs file exists on and the logon script defined as the file name.

Richard Mueller wrote:
> "snivitzo" <snivitzo@gmail.com> wrote in message
> news:1152414428.079775.272540@35g2000cwc.googlegroups.com...
> > What is the proper way of executing a vbs file from a network path upon
> > start up of a machine in a workgroup not an ADSI? I have tried a
> > variety of different netlogon paths and setting the home local to the
> > network path, but I have not had any luck. I am sure I am missing
> > something very simple, Thank you in advance.
>
> If the computer is joined to an Active Directory domain, then there is a
> NetLogon share available at logon, from which logon scripts can be run. Or,
> Group Policy allows you to run scripts from a network path. If you have
> workgroup (no Active Directory) you cannot depend on any share being mapped
> during startup or logon. The best I can think of is to have a local script
> map a share (with net use perhaps), then launch a script from the share.
>
> --
> Richard
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net


Re: Running a vbs file from a network path at logon by Dave

Dave
Sat Jul 08 23:31:44 CDT 2006

You're welcome. You could set it up within Group policy editor.

Start|Run|gpedit.msc

User Config\Windows Settings\Scripts\Logon/Logoff
Computer Config\Windows Settings\Scripts\Startup/Shutdown

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"snivitzo" wrote:
|I will try this when I'm back on the network Monday. Thank you.



Re: Running a vbs file from a network path at logon by snivitzo

snivitzo
Mon Jul 10 11:11:50 CDT 2006

Worked perfectly. I set it up as a user logon script from a network
share. Thank you Dave.

MJH


Dave Patrick wrote:
> You're welcome. You could set it up within Group policy editor.
>
> Start|Run|gpedit.msc
>
> User Config\Windows Settings\Scripts\Logon/Logoff
> Computer Config\Windows Settings\Scripts\Startup/Shutdown
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "snivitzo" wrote:
> |I will try this when I'm back on the network Monday. Thank you.


Re: Running a vbs file from a network path at logon by Dave

Dave
Mon Jul 10 14:51:00 CDT 2006

Glad to hear it. You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"snivitzo" wrote:
| Worked perfectly. I set it up as a user logon script from a network
| share. Thank you Dave.
|
| MJH