Showing posts with label random. Show all posts
Showing posts with label random. Show all posts

Sunday, September 23, 2012

Home debugging, part 2: can't create a new user account on windows 7, 'the user profile service service failed the logon'.



The next home network maintenance task took a little longer to solve. My mother wanted to create her own user account on the shared PC. She knew how to do this, but the new account kept giving an error when she tried to log on with it: 'the user profile service service failed the logon'. Cryptic.

It sounded easy. I was confident that I'd solve it in minutes. I googled it, and found several recommendations to delete the corrupt user profile/reg key and boom. But why would the newly created profile be corrupt? Turns out, it's not: it's not even created until you log on with it for the first time. So there was no profile to delete.

I tried turning off UAC, and creating a new account with admin rights instead of standard, but none of this worked. Eventually, I found this Microsoft Answers thread: http://answers.microsoft.com/en-us/windows/forum/windows_7-security/i-cannot-create-a-new-user-account-windows-7-the/dee340f7-5da9-402b-9e99-293dbd249a53?page=2 which pinpointed the problem as an access failure while copying data to the new user profile. I felt a little silly for not thinking to look through the event logs earlier in the process, but here is the step by step guide to fixing this error if you're having the same problem:

- open the Event Viewer (Start->Run->type "Event Viewer") and look at the Application logs


-  Now find any Warnings (the Error messages are likely telling you that the user profile didn't work, which you already know) and click on each of them to read the details about it

 
 
 
- You should be able to find a warning message that says 'Windows cannot copy file x to location C:\Users\Temp...' 
 
- Find the file mentioned by typing in the full directory location given to the address bar of Windows Explorer. (You can't browse to it because it will be hidden). 
 
WARNING: deleting or changing some files will break your computer. If you don't know what the file mentioned is, you should find someone who knows more than you do.
 
- If you know what you are doing, now go ahead and delete or give universal write access on the file. Et voila, your new user account should log on successfully.

Home debugging, part 1: hacked wifi?

And now for something completely different!

I'm at home in Australia for a few weeks* visiting my parents, so obviously I've been doing a little home PC maintenance. Between my dad, sister and brother they are able to pretty well manage everything, so it hasn't been too bad.

My most stunning accomplishment has been setting up a Windows Homegroup so that they can all send documents to the printer from their laptops and the second desktop, instead of kicking off anyone currently using the PC with the printer for a minute.

More interestingly, a couple months ago, my sister rang me early in the morning to say that she thought the wifi had been hacked. I rolled my eyes and asked what was happening, and she said that overnight, all the phones (which get carried in and out of the house, and therefore off the wireless network) had stopped connecting to the local wifi and said the password was incorrect. The laptops which had stayed in the house were still connected, but the laptop that had left the house that day was also unable to connect. When I directed her to the router admin page, which according to Dad's notes still had the default password, she was unable to log in. It appeared that she was right, and someone had indeed managed to change the password on their wifi network. I gave her instructions for resetting the router and setting the network back up, and left her to it.

Fast forward: I've been home for about a week. I'm testing some phone stuff on two different phones. As each phone sits idle, it disconnects from the wireless network, then seamlessly reconnects when I wake it up. Until one doesn't. It says the password is wrong. Then the other phone won't reconnect either. I go find my sisters iPhone and it also won't connect - password incorrect. (I have no interest in disconnecting my laptop to test it as well.) It appears that whatever happened before, has happened again.I go find my sister's documentation from that incident: she didn't change any of the passwords involved, including the router sitting on the default password. So yea, I guess it's not inconceivable that someone got into it again? I reset the router, set back up the network and the voip line, and this time change the router password.

I still find it a little unbelievable that someone would have gotten into their wireless network twice, in this random corner of the suburbs, but I can't come up with another explanation.


*Yes, it was incredibly inconvenient for my house to flood days before I left on an international trip.