Link to home
Start Free TrialLog in
Avatar of sglee
sglee

asked on

Windows cannot find the local profile and is logging you on with a temporary profile

Hi,
 
 I just created a new SBS2011 installation and applied windows updates.
 When I checked Event Viewer, I see this error.  I thought I logged in using domain admin name "MTADMIN", but I see these in  C:\Users.  

C:\Users\MTAdmin 12/13/2015  11:13AM
C:\Users\TEMP        12/21/2015  11:25AM   (today)

I found some articles on google and they all seem to suggest that I make changes in Registry in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

But I don't want to do it because I am sure. Can you help?

 UserID                                                                                   ProfileImagePath
********************************************  ****************
S-1-5-21-2450739672-124276001-2845873236-1162    C:\Users\TEMP
S-1-5-21-2450739672-124276001-2845873236-1156    C:\Users\MTAdmin

Event Viewer
********************************************
Log Name:      Application
Source:        Microsoft-Windows-User Profiles Service
Date:          12/21/2015 11:25:36 AM
Event ID:      1511
Task Category: None
Level:         Error
Keywords:      
User:          DomainName\spwebapp
Computer:      DC.DomainName.local
Description:
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.

    <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
    <EventID>1511</EventID>
 
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-12-21T16:25:36.457555500Z" />
    <EventRecordID>11430</EventRecordID>
    <Correlation />
    <Execution ProcessID="936" ThreadID="952" />
    <Channel>Application</Channel>
    <Computer>DC.DomainName.local</Computer>
    <Security UserID="S-1-5-21-2450739672-124276001-2845873236-1162" />
ASKER CERTIFIED SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sglee
sglee

ASKER

User generated imageUser generated imageThe method 1 is based on the existence of .BAK, but as you  see in the screenshots, I can't find any S-15 entries with .BAK.
What should I do?
If you don't see a .bak in the registry you have a different issue.  Reboot in to safe mode with networking, then reboot back in to normal mode.
Avatar of sglee

ASKER

@Foxluv
Fyi This is SBS2011which is a domain controller and MTAdmin is the domain admin account.
Avatar of sglee

ASKER

First, I tried to restart it in safe mode by pressing F8, but I failed to do that because I missed timing between CD/DVD boot option and loading of OS.
So I ran MSCONFIG and chose Safe boot option.
I restarted SBS2011 in safe mode. When I tried to log in, it said "no logon service available"
I restarted in Safe mode with Networking. When I tried to log in, it said "An attempt was made to logon, but the network logon service was not started".
I restarted it in Normal mode, but I can't log in "There are currently no logon servers available to service the logon request".
At this point, I can't issue RESTART option in VM/Action  because it shows an error "The application encountered an error while attempting to change the state of "Domain Controller".
Failed to shut down the virtual machine. This occurs if the current state of the virtual machine does not support shut down.  For example, integration services might not be installed. If the virtual machine is running an operating system that supports shut down, ensure that integration services are installed and enabled in the virtual machine settings".
I can turn VM off. But when I turn it on, it always gives me that Safe mode option screen, but no matter what I choose, I can't log in anymore.
I have seemed to found an EE article that had the same issue.  They used a tool named reprofiler
ref link:
https://www.experts-exchange.com/questions/27659711/sbs-2011-The-User-Profile-Service-service-failed-the-logon.html
This may be able to help your situation
http://sourceforge.net/projects/reprofiler/
Avatar of sglee

ASKER

I can't log on to the VM no matter what mode I start the SBS in; therefore I can't do anything anymore.
it seems to be that the only option is to delete SBS VM and re-create SBS from the scratch. All those hours that I have spent to set this up .... I don't even want to think about it now.
Try booting off of the iso again to try a repair
Avatar of sglee

ASKER

Once I regain access to Hyper-V server, I will try a repair.
Avatar of sglee

ASKER

I am connected to Hyper-V finally and tried Repair option from Windows Setup screen, but it was asking for previous saved image which I did not create and I have not performed any  backup on this VM.
Unless there is a strong reason why I need to spend any more time on this, I like to erase this VM and start spending time in recreating it from the scratch  since I started in SAFE mode, SAFE mode with Networking and Normal mode.
But what is in common is that I can't log in with an error "There are currently no logon servers to service the logon request".
Avatar of sglee

ASKER

User generated imageGood news!
I was able to login with .\mtadmin
I unchecked Safe Boot option from MSCONFIG and SBS2011 restarted in normal mode.
I am  back to where I started before posting this question.
Again when I logged in as MTAdmin (domain administrative account), I believe that I logged in under TEMP account (c:\Users\TEMP).
Can someone shed some light on the subject?
Question, in normal mode with you logged in as who you are supposed to be, is it working right now?
Avatar of sglee

ASKER

MTadmin is the domain admin account that I created during SBS2011 setup process.
As of now I can log in as MTadmin,  but I am afraid that it is using TEMP profile. Please see my original posting.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sglee

ASKER

@Viral
If I may  ask, have you managed SBS2011?
The reason for asking is that I can't afford to try this and try that on this server. I don't mind trying multiple things on a simple Windows Server that only takes a couple of hours to set up.
It took many hours set up this server as it is Small Business Server 2011.
Avatar of sglee

ASKER

User generated imageI tried the suggestion as below:
S-1-5-21-2450739672-124276001-2845873236-1162.old
S-1-5-21-2450739672-124276001-2845873236-1156.old
C:\Temp.old
C:\MTAdmin.old

and I logged in again with MTAdmin account. I noticed two things:
(1) It created a new folder "mtadmin"(notice that the login name is in  small letter instead of MTAdmin")
(2) It created c:\Temp again.

Apparently it is not working. Thanks for your help, but let me close this case and open another case.