If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Logon Credentials set via logon script?
Question pertains to setting logon credentials in a logon script. We are
setting up a remote client with access to a mapped network drive. The problem is everytime the pc is rebooted the settings for the drive are not saved. Drive is there @ every reboot, but credientials are not saved. Is there a way to write a logon script that maps the drive as well as sets the logon credentials! All help is appreciated! Thank you |
Ads |
#2
|
|||
|
|||
Logon Credentials set via logon script?
Use the following logon script:
net use d: /d net use d: \\servername\sharename password /user:username Of course, change the d: drive letter to the correct drive letter and make the obvious substitutions above. By disconnecting the drive first, then reconnecting with the correct username and password you can avoid the problem of non-cached credentials. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Question pertains to setting logon credentials in a logon script. We are setting up a remote client with access to a mapped network drive. The problem is everytime the pc is rebooted the settings for the drive are not saved. Drive is there @ every reboot, but credientials are not saved. Is there a way to write a logon script that maps the drive as well as sets the logon credentials! All help is appreciated! Thank you |
#3
|
|||
|
|||
Logon Credentials set via logon script?
Where in XP would I be able to put this script. For some reason I am not
finding the Script folder where this would go.? "Richard G. Harper" wrote: Use the following logon script: net use d: /d net use d: \\servername\sharename password /user:username Of course, change the d: drive letter to the correct drive letter and make the obvious substitutions above. By disconnecting the drive first, then reconnecting with the correct username and password you can avoid the problem of non-cached credentials. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Question pertains to setting logon credentials in a logon script. We are setting up a remote client with access to a mapped network drive. The problem is everytime the pc is rebooted the settings for the drive are not saved. Drive is there @ every reboot, but credientials are not saved. Is there a way to write a logon script that maps the drive as well as sets the logon credentials! All help is appreciated! Thank you |
#4
|
|||
|
|||
Logon Credentials set via logon script?
You can put it in the domain script folder on the AD domain controller
(C:\WINNT\SYSVOL\sysvol) and assign it to users via AD, or you could copy it to each PC in the C:\Documents and Settings\All Users\Start Menu\Startup folder. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Where in XP would I be able to put this script. For some reason I am not finding the Script folder where this would go.? "Richard G. Harper" wrote: Use the following logon script: net use d: /d net use d: \\servername\sharename password /user:username Of course, change the d: drive letter to the correct drive letter and make the obvious substitutions above. By disconnecting the drive first, then reconnecting with the correct username and password you can avoid the problem of non-cached credentials. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Question pertains to setting logon credentials in a logon script. We are setting up a remote client with access to a mapped network drive. The problem is everytime the pc is rebooted the settings for the drive are not saved. Drive is there @ every reboot, but credientials are not saved. Is there a way to write a logon script that maps the drive as well as sets the logon credentials! All help is appreciated! Thank you |
#5
|
|||
|
|||
Logon Credentials set via logon script?
That much is done. One issue pertains to that script not working when placed
in the startup. Is there a setting that needs to be changed so that it will work. Another issue is if we store this in a script folder, then call this when initializing an application (in the target section of properties for a certain application) so that whenever the application is started the drive is mapped, how can we set it so that it is mapped once when the app is started, and you close out and go back in, that it won't try to map it again and give you error msg sayin name already exists. "Richard G. Harper" wrote: You can put it in the domain script folder on the AD domain controller (C:\WINNT\SYSVOL\sysvol) and assign it to users via AD, or you could copy it to each PC in the C:\Documents and Settings\All Users\Start Menu\Startup folder. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Where in XP would I be able to put this script. For some reason I am not finding the Script folder where this would go.? "Richard G. Harper" wrote: Use the following logon script: net use d: /d net use d: \\servername\sharename password /user:username Of course, change the d: drive letter to the correct drive letter and make the obvious substitutions above. By disconnecting the drive first, then reconnecting with the correct username and password you can avoid the problem of non-cached credentials. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... Question pertains to setting logon credentials in a logon script. We are setting up a remote client with access to a mapped network drive. The problem is everytime the pc is rebooted the settings for the drive are not saved. Drive is there @ every reboot, but credientials are not saved. Is there a way to write a logon script that maps the drive as well as sets the logon credentials! All help is appreciated! Thank you |
#6
|
|||
|
|||
Logon Credentials set via logon script?
If a script file is placed in the All Users' Startup folder it should always
execute when a user logs on. As for re-running the script there should be no problem if you design it as I suggested since the network drive will be disconnected before it's re-connected. -- Richard G. Harper [MVP Shell/User] * PLEASE post all messages and replies in the newsgroups * for the benefit of all. Private mail is usually not replied to. * My website, such as it is ... http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "iQtony" wrote in message ... That much is done. One issue pertains to that script not working when placed in the startup. Is there a setting that needs to be changed so that it will work. Another issue is if we store this in a script folder, then call this when initializing an application (in the target section of properties for a certain application) so that whenever the application is started the drive is mapped, how can we set it so that it is mapped once when the app is started, and you close out and go back in, that it won't try to map it again and give you error msg sayin name already exists. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cashed domain credentials, vpn, authentication failed | Dirk | Security and Administration with Windows XP | 3 | January 27th 05 07:15 PM |
Local user logon script does not run. | sms | New Users to Windows XP | 1 | July 29th 04 08:48 PM |
Local user logon script does not run. | sms | New Users to Windows XP | 3 | July 29th 04 06:53 PM |
Local user logon script does not run. | sms | New Users to Windows XP | 0 | July 29th 04 06:48 PM |
Local user logon script does not run. | sms | New Users to Windows XP | 0 | July 29th 04 06:48 PM |