+ Post New Thread
Results 1 to 5 of 5
Wireless Networks Thread, Profile Corrupt: User Cannot Logon in Technical; We have a situation where users cannot logon at specific stations. The error message is the well known '..cannot find ...
  1. #1

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,987
    Thank Post
    352
    Thanked 1,300 Times in 890 Posts
    Blog Entries
    4
    Rep Power
    1131

    Profile Corrupt: User Cannot Logon

    We have a situation where users cannot logon at specific stations. The error message is the well known '..cannot find your profile..' or words to that effect. Upon investigation I have found that I can allow the affected users to logon again by logging on as administrator and deleting the users' folder created at logon in C:\Documents and Settings. That is the easy part. My questions are why is this happening:

    Only to some users.
    Only at some stations.
    Much more frequently now than before.

    Server OS: Windows 2003.
    Workstation OS: XP Professional SP2 (Including latest patches, but not IE 7)

    If anyone can point me in the direction of known causes that I could investigate I would be very grateful. Many thanks.

  2. #2

    witch's Avatar
    Join Date
    Nov 2005
    Location
    Dorset
    Posts
    10,931
    Thank Post
    1,403
    Thanked 2,422 Times in 1,699 Posts
    Rep Power
    710

    Re: Profile Corrupt: User Cannot Logon

    Is it always at the same stations? I have the same thing but the stations change. As do the users - it certainly isn't always the same ones.
    I delete the user.dat from the server and it is usually OK after that for a bit. I am redoing it about twice a month now - it has definitely reduced in frequency since I ghosted the machines with clean stuff. As the crap builds up again, I expect the problem will return. But I dont know why

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,987
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    107

    Re: Profile Corrupt: User Cannot Logon

    You need to run delprof on startup and shutdown to clear these profiles. If you do a search on delprof you will find all the instructions plus the user hive cleanup service.

  4. #4
    Kyle's Avatar
    Join Date
    Jan 2006
    Posts
    974
    Thank Post
    91
    Thanked 14 Times in 13 Posts
    Rep Power
    21

    Re: Profile Corrupt: User Cannot Login

    I have used this script on all my domain clients, I always leave the default user folder in the script but be aware that sometimes it does delete it. I do not know why this seems to be random. I always have Administrator and All user profile left. As all my pc's are domain PCs they never have a user log on locally and all the pupils/staff have either a roaming profile or a mandatory profile.

    Hope it is as successful for you. (Use at your own risk)

    Copy and paste the text below into notepad and save as vbs.





    Function Main()
    On Error Resume Next
    Dim obtain folder
    Dim Pathfinder
    Dim strPath


    Set fso = CreateObject("Scripting.FileSystemObject")

    strPath = "C:\Documents and Settings\"

    Set f = fso.GetFolder(strPath)

    ' Loop through all subfolders
    For Each fldrItem in f.SubFolders

    fldrName = fldrItem.name

    If Right(strPath,1) <> "\" Then
    Pathfinder = strPath & "\" & fldrName
    Else
    Pathfinder = strPath & fldrName
    End If

    Select Case fldrName
    Case "Administrator":
    Case "All Users":
    Case "Default User":
    Case Else:

    set obtain folder = fso.GetFolder(Pathfinder)
    obtainfolder.Delete true
    End Select

    Next

    ' Clean up objects
    Set fso = Nothing
    Set fc = Nothing

    End Function

    call Main()

  5. #5
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,987
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    107

    Re: Profile Corrupt: User Cannot Logon

    You can leave a copy of the Default user folder on your netlogon share kyle and the clients will all use that.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 11
    Last Post: 1st November 2007, 08:02 PM
  2. Mandatory profile gets deleted along with the user account
    By mark_sharman in forum Network and Classroom Management
    Replies: 2
    Last Post: 23rd February 2007, 09:38 PM
  3. Slimming Down Mandatory Profile Speeding Up Logon
    By ryan_powell in forum Wireless Networks
    Replies: 7
    Last Post: 1st September 2006, 04:08 PM
  4. logon not picking up profile... sometimes
    By indie in forum Windows
    Replies: 16
    Last Post: 6th March 2006, 09:36 PM
  5. User profile deletion, XP Pro
    By Sirbendy in forum Windows
    Replies: 7
    Last Post: 16th January 2006, 05:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •