Cool Solutions

Mapping Drives without having to use Active Directory or VB Script in a Clientless Environment


April 25, 2007 11:46 am





ENVIRONMENT: Windows NT/2000/XP without a client

This is pretty simple and is not ideal for all situations — for example, if the mapping is required before the user desktop has finished loading.

  1. Create a blank Application object.
  2. Go to Run Options/Launch Scripts.
  3. Enter the required mappings in the Run before Launching box. You need to use the windows format and syntax

    net use S: \\ServerName\Share\Path /persistent:no

    The /persistent:no removes the mapping on logout. This prevents problems when the command is rerun.
    You can add as many mappings as you want.

  4. In the script engine location enter %*WINSYSDIR%\CMD.EXE /C
    This runs the on NT/2000/XP. The /C on the end ensures the script completes and doesn’t hang.
  5. On the Identification/Icon tab untick the Show Progress box. This just prevents the little “application is starting” box from showing.
  6. Finally go to the Associations and add the OUs, groups and users as required and set to Force Run.

Now when NAL starts up the script will run and the Windows mappings will connect.

Remember that any Windows command line stuff can be run this way, so go ahead and get creative.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.