I am trying to map a network drive on all clients via GPO. This batch-file is used:
[strong]net use s: /delete /yes
net use s: \192.168.12.12S21 [/strong]
This network drive needs another login as windows needs. There is no possibility to connect this server to the Active Directory. Additionly, it is not possible to use same logins on both servers. The user have to type in the login into dos-box at every startup.That's not a problem for us.
The problem is that the dos box does not appear at startup because the batch-file is running via GPO. Such files are usually running in the background and the user has no chance to notice or even to type in the login details.
An easy workaround would be to distribute this batch-file to autostart menu, but that's quite uncomfortable.
I can imagine one of those soulutions
- starting the Windows GUI for Map Drive instead of DOS Box
- making the dos box visible for just this batch file
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!