dino Posted April 12, 2005 Posted April 12, 2005 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
x243 Posted April 14, 2005 Posted April 14, 2005 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now