Windows 8 does not map network drive

All my new Windows 8 machines Pro/Ent are not running LogonScripts. All XP and 7 are OK. Im not using GP preferences, im using Logon Script in a Policies GPO.

My Batch creates a logfile and the log file shows the successfull mapping of the drive letters but.. no available drive letters.

I tried to "delay" the logon script putting a "timeout 15" command, but didnt worked too.

==============================

@echo off
cls

echo.
echo.
echo Set Env. Vars
set VERSAO=1.6
set FILESERVER=srv-013

set LOGFOLDER=c:\windows\temp
set LOGFILE=\LS_%VERSAO%.LOG

echo.
echo.
echo Create Temp Folder > %LOGFOLDER%%LOGFILE%
if not exist %LOGFOLDER% MKDIR %LOGFOLDER%  >> %LOGFOLDER%%LOGFILE%

echo.
echo.
echo Map G: - ARQUIVOS  >> %LOGFOLDER%%LOGFILE%
net use g: /d  >> %LOGFOLDER%%LOGFILE%
net use g: \\%FILESERVER%\arquivos  >> %LOGFOLDER%%LOGFILE%


echo.
echo.
echo Map J: - SETOR  >> %LOGFOLDER%%LOGFILE%
net use j: /d  >> %LOGFOLDER%%LOGFILE%
net use j: \\%FILESERVER%\setor  >> %LOGFOLDER%%LOGFILE%


echo.
echo.
echo Map P: - ARQUIVOS  >> %LOGFOLDER%%LOGFILE%
net use p: /d  >> %LOGFOLDER%%LOGFILE%
net use p: \\%FILESERVER%\arquivos  >> %LOGFOLDER%%LOGFILE%

echo.
echo.
echo Map S: - QSMS_CORP  >> %LOGFOLDER%%LOGFILE%
net use s: /d  >> %LOGFOLDER%%LOGFILE%
net use s: \\%FILESERVER%\QSMS_CORP  >> %LOGFOLDER%%LOGFILE%

==============================

 
June 27th, 2013 7:35pm


Hi,

Please try the following:

1. Please check if the script works locally.

2. Use Psexec to execute the script to see if it works:

Psexec
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Thanks.

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2013 10:50am

Yes, if i create a batch file in the desktop, it works with no problems

The odd part, is that a log is created, showing all commands complted successfully and the drive lettrs are not there.

July 5th, 2013 8:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics