Hi All,
a small site I support introduced login scripts about a year ago and they were tested and worked just fine. Visiting the site just now, I find that they no longer appear to run.
I can still see the netlogon share on the server and the netlogon.bat is still there. It's detailed below. The only thing I can think of that has changed is that I turned off roaming profiles a while ago.
Any help would be most appreciated...
**************
@echo off
echo Hello %USERNAME%, welcome to the company network!
echo You are accessing the network from %COMPUTERNAME%
echo And you are running the %OS% os.
echo Please wait, authenticating %USERNAME% with the %LANGROUP% domain
echo Adjusting PC time to Network time
net time /domain:coname /set /yes
rem :legal
rem regedit /s \\servername\netlogon\legal.reg
:home
ifmember home
if not errorlevel 1 goto coname
echo Mapping your home directory to drive h:
net use h: /home
:coname
ifmember coname
if not errorlevel 1 goto end
echo Mapping your group directory to drive g:
net use g: \\servername
:end