A
A
Anton2017-07-05 12:50:08
Windows
Anton, 2017-07-05 12:50:08

How to restore a profile in the registry without restarting the server?

Hey!
A new account got bugged on the terminal server. Each time a user logs in, a temporary duplicate is created in the registry and TEMP becomes his home folder, and the required account is marked with the .bak extension
. There are 2 accounts for this user in profiles - "temporary" and "data archiving".
If you delete .bak and set the state-key to 0 and reboot the server, it should help with a probability of 99% =)
But the planned reboot will not be soon, and the user needs to work under a domain account (a bunch of 1C databases).
Is it possible to "reload" a registry branch on the fly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2017-07-05
@hunk3r

Delete the profile folder of the desired user on the server from C:\users, delete the profile from the add. computer settings, delete the desired profile from HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList, delete HKLM\Software\Microsoft\MSLicensing from the user, run mstsc from his computer as administrator, but set the login and password to be custom - as a result, the profile is created normally on the server and in the registry and in the properties and in the users directory. win.

R
res2001, 2017-07-05
@res2001

Perhaps the directory with the profile specified in the registry is not physically present.
User profile descriptions are located here:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
The profile description section is a subsection of the above. The name of the profile description section is the user's SID. You can also find out which subsection describes the profile of the desired user by the ProfileImagePath parameter, which is located in each subsection.
Log in as an administrator, delete or rename the directory with the user profile on disk, delete (or rename) the above subsection with the description of the user profile, relogin as a user.
Windows should create a new profile along the path specified in:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory
If this path does not exist or lacks permissions, a temporary profile will be created in the temporary directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question