I think you need to take a look at this article. About half way down it talk about login scripts. The script is in Appendix A.
http://technet2.microsoft.com/WindowsVista/en/library/5ae8da2a-878e-48db -a3c1-4be6ac7cf7631033.mspx?mfr=true From: George Wasgatt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 2:46 PM To: Active Directory Admin Issues Subject: Vista login script problem We are Windows 2003 Native AD. We use login scripts in BAT text files to map network drives like this: Net use f: \\server\share <file:///\\server\share> Net use g: \\server2\share2 <file:///\\server2\share2> Etc.. We recently added a Windows 2003 R2 X-64 Enterprise server to the network. It is in the domain. I added Net use statements in the login script to map drives to shares on this server. Logins from machines running Windows 2000, Windows XP and Windows 2003 work just fine - the drives are mapped. However, when I login from a Vista workstation the drives do not map - instead you are prompted for a USERID and password. I thought it might be Vista's User Access Control (UAC) causing the problem but when I run the script as Administrator and click Continue it still doesn't work. Any thoughts on this? I disabled the firewall on the target server but it still doesn't help. ~ NEW: CounterSpy Enterprise: Centralized Antispyware - #1 in eWEEK Test! ~ ~ ~ For further information about Kennedy Covington, please visit our website at http://www.kennedycovington.com **************************************** IRS CIRCULAR 230 NOTICE: In order to comply with certain IRS regulations regarding tax advice, we inform you that, unless expressly stated otherwise, any tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for purposes of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. For more information about this Notice, please visit http://www.kennedycovington.com/disclaimer.html PRIVILEGE AND CONFIDENTIALITY NOTICE: This communication (including any attachment) is being sent by or on behalf of a lawyer or law firm and may contain confidential or legally privileged information. The sender does not intend to waive any privilege, including the attorney-client privilege, that may attach to this communication. If you are not the intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this communication. If you have received this communication in error, please notify the sender immediately by email and delete this communication and all copies. ~ NEW: CounterSpy Enterprise: Centralized Antispyware - #1 in eWEEK Test! ~ ~ <http://www.sunbelt-software.com/product.cfm?id=400> ~
