Thursday, October 15, 2015

How do I create a local user in Windows 8.1?


I'm trying to create a new local user in Windows 8.1 x64. This user will be used to host an IIS app pool and connect to a SQL Server instance. However, when I try to start the app pool or login with the user, the user profile service gives me an error saying the profile cannot be loaded.


There's no directory/folder created in C:\Users for that local user. And Windows Event viewer shows these errors:


Entry 1:



Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.



Entry 2:



Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.


DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.



I know this is a problem specific to Windows 8 and higher. But no one can seem to find a solution this problem.


I see the same set of problems here:


User profile service service failed the login. User Profile can not be loaded


Answer



Alright, I've found the problem and the solution. The problem is that the


C:\Users\Default folder wasn't inheriting permissions from the parent. The fix is quite simple and outlined on this technet question


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...