New answers tagged

0

Put your batch/script file in: C:\windows\system32\GroupPolicy\User\Scripts\Logon Note: no spaces in the filename use _ or - instead ie: map_drive.bat or map-drive.bat not: map drive.bat Once complete open gpedit.msc Select user configuration->windows settings->scripts Double click on Logon Select add and browse to your batch/script file Make sure ...


1

At a command prompt enter echo %logonserver% and see if your domain computer is returned as the server that you are connected to. In fact, here is an even better way, put this in your bat file.... @echo off IF EXIST %logonserver% ( echo 'On LAN!' )ELSE ( echo 'Not on LAN!' ) Hope that helps. if you know the authentication server name you can obviously ...


Top 50 recent answers are included