40 pts.
 Map Network Drive via GPO
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

or

- making the dos box visible for just this batch file

 

Have anyone an idea?

 



Software/Hardware used:
iseries + windows client
ASKED: September 2, 2011  7:52 AM
UPDATED: March 31, 2012  5:12 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I would look at setting up a trust relationship between AD and this server (or other network) so that login details can traverse the different environments.

This would allow you to use regular methods of adding network resources via GPO or GPP. Alternatively a vbs script may work better than a batch file for the operation.

 3,120 pts.