Thanks Rene, Everything but the Call works. It doesn't wait on the click of the ok button so I could just execute it without the call I guess.
_____ From: Rene de Haas [mailto:[email protected]] Sent: Monday, May 24, 2010 6:38 AM To: NT System Admin Issues Subject: Re: limited logon script?? No it doesn't work that way. You can log on from many places and link to the same share without any problem, unless you configure the share to allow only one connection. On Fri, May 21, 2010 at 9:21 PM, David McSpadden <[email protected]> wrote: Is this all I really need to do? Create silent usershare on server. Add this to top of logon.bat? echo on net use x: \\10.0.50.205\%username%$ if errorlevel 1 goto :logoff goto :continue :logoff call MSG.exe %username% "The user %username% is already logged into the network somewhere else. Please log off that workstation before trying to log into the network again." logoff.exe :continue setx logdrive "X:" setx logpath "X:\" "Please consider the environment before printing this email." ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
<<image001.gif>>
