Windows 2008 R2 Parallels Virtuozzo Containers
While logging into Administrator account through RDP on a VPS after a reboot, a blank screen or recycled svchost.exe property page is shown. Rebooting the VPS does not resolve the issue.
This problem is caused by corruption of the Administrator account profile.
On the hardware node run the following command from command prompt, in order to enter the container.
vzctl enter <Container_ID>
(Conatiner_ID can be obtained by running the vzlist –a command.)
Now you will get the C:\Windows\system32> prompt in the terminal, indicating that you have entered the container. In the C:\Windows\system32> prompt run the following commands, in order to create another account and make it a member of Administrators group on the container.
net user <username> <password> /add net localgroup administrators <username> /add
Now RDP into the affected container, using this new username and password.
After you successfully login into the container, make sure from task manager that Administrator account is not logged into the container. If Administrator account is still logged into the container, then log off Administrator from Task Manager, running with elevated privilege.
Then copy all important files from C:\Users\Administrator folder to another folder for safekeeping and delete the C:\Users\Administrator folder.
Next login into the Administrator account. This account will use a temporary profile path due to absence of C:\Users\Administrator folder. Now create the C:\Users\Administrator folder again.
Then go to the windows Control Panel. Inside control panel select Small Icon view and click the User Accounts icon or link.
Inside User Accounts click on the Configure advanced user profile properties link on the left panel. It will popup User Profiles dialog.
Inside User Profiles dialog, select the Default Profile and then click Copy To button. It will pop up the Copy To dialog.
In Copy profile to section, browse and select the path C:\Users\Administrator and in Permitted to use section click change and select the Administrator user. Then click Ok.
Now the Confirm Copy message box will pop up with the message – “C:\Users\Administrator already exists. The current contents of this directory or this file will be deleted during this operation. Are you sure you want to continue?”. Click Ok to confirm.
Now logoff from Administrator account and login again. Now the account will use the permanent profile path C:\Users\Administrator and everything should be fine.