April 12, 200521 yr Hi,i ran into problem: i want to completly disable user login if no roaming profile found.Searched net but couldn't found any relative topics Can anybody help?Dino
April 14, 200521 yr Here's a start:CMDOW @ /HIDIF NOT EXIST "%LOGONSERVER%\User_Profile_Dir\%USERNAME%\NTUSER.DAT" LOGOFFexitMake sure you change User_Profile_dir to the actual directory on the server. This batch file will have to reside on the local machine, since it won't run if the user isn't connected to the server/network. But it shouldn't be hard to distribute this file initially through another logon script from the server. The downside to this method is that it isn't fool proof and can be circumvented. But like I said, it's a start.
Create an account or sign in to comment