NTUSER.DAT and domain user profile problem.


  1. Posts : 4
    windows 10
       #1

    NTUSER.DAT and domain user profile problem.


    I have an issue with the profile on my PC.
    My PC is part of a domain and each time it starts it loads my profile and group policy.
    A month ago I added myself to a group in AD called 'terminal servers' as I was planning on setting up remote access.
    This group is used for our remote workers and is quite limited stopping the users from having administrator rights on the device.
    Unfortunately, instead of my PC keeping the ITadmin profile (I'm still in that group) it now starts with the TS profile.
    I have removed myself from the TS group in AD, but I cannot get my original profile back.
    This has resulted in lots of problems, I can't access my C drive, control panel, run programs etc.
    I can run the CMD prompt and access the C drive, but that isn't helping much.
    I have opened the group policy editor on the DC, but I really don't know what to do from there.

    Can someone advise me how I can force the system to reinstall my old profile.
    I have tried things like renaming the profile.v6 on the server that holds user profiles, but when I logged on it was just recreated exactly the same.

    I am IT and a domain admin, but the member of staff that used to sort out domain problems left recently and hasn't been replaced so I'm hoping someone here can help.

    The DC is win 2012 R2 and my PC is win 10.
      My Computer


  2. Posts : 5,326
    Windows 11 Pro 64-bit
       #2

    This batch script will reset Local Group Policy settings to system default settings.

    Code:
    :: This batch script created by FreeBooter
    
    :: This batch script will reset Local Group Policy settings to system default settings 
    
    @Echo Off & Cls
    
    net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit)
    
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicyUsers
    
    Rd /S /Q  %SystemRoot%\System32\GroupPolicy
    
    gpupdate /force
      My Computer


  3. Posts : 4
    windows 10
    Thread Starter
       #3

    running batch script


    Hello Freebooter

    Sorry to be dim, but where do I run this script, on my PC or further up the chain on the server ?

    If it is local then where do I run it as I don't have access to the C drive and I cannot run programs.

    Sorry, being dippy, figured it out now, having done a batch program in many years.
      My Computer


  4. Posts : 5,326
    Windows 11 Pro 64-bit
       #4

    You will execute these commands on computer you no longer have admin access to.

    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below commands into Command Prompt and press Enter key.




    Code:
    Rd /S /Q  C:\Windows\System32\GroupPolicyUsers
    
    Rd /S /Q  C:\Windows\System32\GroupPolicy


    Please replace partition letter C: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice" command can be use to find out the drive letter of the Windows installed partition the output of the Bcdedit command is similar to this osdevice partition=D:. The drive letter after partition= is the drive letter of the Windows partition.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:52.
Find Us




Windows 10 Forums