Results 1 to 3 of 3

Thread: Delete user profile when logging off

  1. #1
    mok
    mok is offline 10+ Helpful Posts Happy to be helping others
    Join Date
    Dec 1969
    Posts
    10

    Default

    I created an OU and I placed my users and computers in it, and I managed the GPO, I enabled "Delete cached copies of roaming profiles" however when I try to log in to a certain computer with a certain user and log off the user keep the profile saved on the local client, it does not delete it. As if the policy is not working.

  2. #2
    JerryC is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    231

    Default

    For all the simplicity on the surface, Roaming Profiles can be quite complex to debug (trust me, I've got 50,000+ of them). :roll:

    Here are some areas of investigation to consider...

    Are things working correctly without the setting?
    ===================================
    (1) I assume that you are using a different account to verify whether the "test" account's profile is being deleted. I know this is really a basic thing, but you never know...

    (2) Is the "user" account, the one you are testing with, assigned a Roaming User Profile location on their domain account? If so, is that RUP assignment working correctly :?:

    (3) What does the RSoP report indicate? Is the setting reaching the device :?:

    If so, then perhaps the account is not really logging off and perhaps that is preventing the system from deleting the profile... :idea:
    ===================================
    (4) Look for an Application Event Log entry that indicated that the "Test" account is not trully logging off. If not really logging off, then perhaps you should take a look at installing the Microsoft utility named "UPHClean".

    (5) An alternate lookup location for this kind of information is the UserEnv log (%SystemRoot%\Debug\Usermode\UserEnv.log) running in verbose mode. Look for evidence that the user profile is not unloading. You can also look to see if the RefCount (this would be noted in that userenv.log file) is going to zero when the account logs off.

    Verbose Mode On
    [code:1]Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ows NT\CurrentVersion\Winlogon]
    "UserenvDebugLevel"=dword:0003000 2[/code]
    Verbose Mode Off
    [code:1]Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ows NT\CurrentVersion\Winlogon]
    "UserEnvDebugLevel"=dword:0000000 0[/code]

  3. #3
    mok
    mok is offline 10+ Helpful Posts Happy to be helping others
    Join Date
    Dec 1969
    Posts
    10

    Default

    Thank you, I found the problem, it turned out this policy is applied to the computer and not to the user, and so after setting it, I should have rebooted the computer under test. It worked fine, thank you anyway.

Posting Permissions

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

Search Engine Friendly URLs by vBSEO