Hi I am having troube getting mapped /home dir when I logon via VPN
I can see the logon script is following.
REM ** generation of the login script. Windows NT/2K **
REM ** does this automatically but we need to map the **
REM ** drive manually for the others. **
REM ******************************************************
IF "%OS%"=="Windows_NT" GOTO :SkipHomeMapping
NET USE z: /home
:SkipHomeMapping
REM Call the generated login script from the user's home folder:
CALL z:\netlogon.bat
@REM #------------------------------------------------------------
@REM # TEMPLATE END
@REM #------------------------------------------------------------
Is it possible to change following
IF "%OS%"=="Windows_NT" GOTO :SkipHomeMapping
NET USE z: /home
:SkipHomeMapping
to somthing like
NET USE z: \\%servername%\%user%
Because I found out that it is the /home reference that gives me trouble!