| Author |
Message |
John Brahy
Guest
|
Posted:
Tue Jan 11, 2005 7:00 am Post subject:
can't get my login script to execute |
|
|
I'm really not doing anything complicated, I just can't get my login
script to execute. It's a WSH script I wrote in visual basic.
Option Explicit
Dim oNet, sUser, cInitial, startTime
Set oNet = CreateObject("WScript.Network")
oNet.MapNetworkDrive "l:", "\\Server\data\Production Admin"
oNet.MapNetworkDrive "m:", "\\Server\data\Public Relations"
oNet.MapNetworkDrive "n:", "\\Server\data\Administration"
oNet.MapNetworkDrive "o:", "\\Server\data\Fonts"
oNet.MapNetworkDrive "p:", "\\Server\data\Projects"
oNet.MapNetworkDrive "q:", "\\Server\data\Software Installs_Updates"
oNet.MapNetworkDrive "r:", "\\Server\data\FILES TO BACK UP"
oNet.MapNetworkDrive "s:", "\\Server\data\Sales And Marketing"
oNet.MapNetworkDrive "t:", "\\Server\data\Temporary Items"
When I go to a user's detail page and assign this as their login script
nothing happens. Do I have to have the login script execute from a
specific location? Does it need a specific file extension? Owned by a
certain user? anything special?
Thanks,
John |
|
| Back to top |
|
 |
John Brahy
Guest
|
Posted:
Tue Jan 11, 2005 7:32 am Post subject:
Re: can't get my login script to execute |
|
|
ok, turns out it needs to be in a special folder, \\domain
controller\netlogon and the profile does not need a full path, only the
filename.
hope it helps someone
John Brahy wrote:
| Quote: | I'm really not doing anything complicated, I just can't get my login
script to execute. It's a WSH script I wrote in visual basic.
Option Explicit
Dim oNet, sUser, cInitial, startTime
Set oNet = CreateObject("WScript.Network")
oNet.MapNetworkDrive "l:", "\\Server\data\Production Admin"
oNet.MapNetworkDrive "m:", "\\Server\data\Public Relations"
oNet.MapNetworkDrive "n:", "\\Server\data\Administration"
oNet.MapNetworkDrive "o:", "\\Server\data\Fonts"
oNet.MapNetworkDrive "p:", "\\Server\data\Projects"
oNet.MapNetworkDrive "q:", "\\Server\data\Software Installs_Updates"
oNet.MapNetworkDrive "r:", "\\Server\data\FILES TO BACK UP"
oNet.MapNetworkDrive "s:", "\\Server\data\Sales And Marketing"
oNet.MapNetworkDrive "t:", "\\Server\data\Temporary Items"
When I go to a user's detail page and assign this as their login script
nothing happens. Do I have to have the login script execute from a
specific location? Does it need a specific file extension? Owned by a
certain user? anything special?
Thanks,
John
|
|
|
| Back to top |
|
 |
Resonate
Guest
|
Posted:
Tue Jan 11, 2005 11:17 pm Post subject:
Re: can't get my login script to execute |
|
|
Yes your best assigning this to the organisational unit where the users live
rather than mess about adding that line to each user account.
Res
"John Brahy" <jbrahy@community.nospam> wrote in message
news:O0ulG239EHA.2608@TK2MSFTNGP10.phx.gbl...
| Quote: | ok, turns out it needs to be in a special folder, \\domain
controller\netlogon and the profile does not need a full path, only the
filename.
hope it helps someone
John Brahy wrote:
I'm really not doing anything complicated, I just can't get my login
script to execute. It's a WSH script I wrote in visual basic.
Option Explicit
Dim oNet, sUser, cInitial, startTime
Set oNet = CreateObject("WScript.Network")
oNet.MapNetworkDrive "l:", "\\Server\data\Production Admin"
oNet.MapNetworkDrive "m:", "\\Server\data\Public Relations"
oNet.MapNetworkDrive "n:", "\\Server\data\Administration"
oNet.MapNetworkDrive "o:", "\\Server\data\Fonts"
oNet.MapNetworkDrive "p:", "\\Server\data\Projects"
oNet.MapNetworkDrive "q:", "\\Server\data\Software Installs_Updates"
oNet.MapNetworkDrive "r:", "\\Server\data\FILES TO BACK UP"
oNet.MapNetworkDrive "s:", "\\Server\data\Sales And Marketing"
oNet.MapNetworkDrive "t:", "\\Server\data\Temporary Items"
When I go to a user's detail page and assign this as their login script
nothing happens. Do I have to have the login script execute from a
specific location? Does it need a specific file extension? Owned by a
certain user? anything special?
Thanks,
John
|
|
|
| Back to top |
|
 |
John Brahy
Guest
|
Posted:
Fri Jan 21, 2005 1:35 am Post subject:
Re: can't get my login script to execute |
|
|
| how do I do that? |
|
| Back to top |
|
 |
|
|
|
|