The User Profile Service service failed the logon

When you are trying to log on to Windows 7 with your account, if you receive this error message: The User Profile Service failed the logon. User profile cannot be loaded, use the solution in this post to fix the problem.

The solution is to fix the user account profile, which requires you to modify the registry. You need to follow the steps carefully, as modifying registry incorrectly might cause serious problems. It is recommended that you back up the registry before you get started, so you can restore it if a problem occurs.

Then follow these steps:

1) Press Win+R (Windows logo key and R key) at the same time. A Run dialog box will open.

2) Type regedit  and click on OK button. This is to open Registry Editor utility.


3) In Registry Editor, locate and then expand the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

4) Under this subkey, locate the folders that begin with S-1-5 followed by a long number. 

In most cases, there are two such folders: One ends with .bak and the other one ends with none.).

Double-click on the ProfileImagePath to make sure that this is the user account profile that has the error. You can tell it from the Value data which shows the user account.

After that, follow these:

1) Right-click on the folder without .bak, and then click Rename. Type .ba at the end, and then press Enter key.

2) Right-click on the folder that ends with .bak, and then click Rename. Remove “.bak” and then press Enter key.

3) Right-click on the folder that ends with .ba, and then click Rename. Change the .ba to .bak at the end of the folder name, and then press Enter key.

4) Reboot your PC and see if you can log on to the computer.

If you have only one folder starting with S-1-5, followed by long numbers and ends with .bak. Right-click on the folder and select Rename. Remove .bak and then press Enter key.

5) Click on the folder, double-click RefCount, type in the Value data box, and then click OK button.

6) Click on the folder again, double-click State, type in the Value data box, and then click OK button.

7) Reboot your PC and you should log on successfully.


Get CentOS 5.x Yum working again in 2018

Yum update and install not working on CentOS 5.x, this is because its no longer supported by CentOS, but you still want to be able to install new apps just do this:

Replace the contents of /etc/yum.repos.d/CentOS-Base.repo with this:

 

[base]
#name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

[base]
name=CentOS-$releasever - Base
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://vault.centos.org/5.11/os/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://vault.centos.org/5.11/updates/$basearch

gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://vault.centos.org/5.11/extras/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://vault.centos.org/5.11/centosplus/$basearch
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://vault.centos.org/centos/$releasever/contrib/$basearch/
baseurl=http://vault.centos.org/5.11/contrib/$basearch
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

2016 Subaru WRX STi Limited Radio Pin outs

I had a hard time finding this info, so I’m posting it here.

These are the three main connectors to the 7 inch NAV unit on a 2016 WRX STI Limited.

Here’s a doc related the the Harmon Kardon amp in the trunk AUDM Subaru WRX STI (2016) Premium with Harman Kardon package

 

XDA [How-To] Disable Forced Encryption

XDA [How-To] Disable Forced Encryption – Nexus 6

 

 

  • Extract the Android Image Kitchen zip Android_Image_Kitchen.zip
  • drag in the boot.img file you wish to modify onto the unpackimg.bat file
  • you should get a command window pop up, it should say succesfull and you will get a few folders added.
  • open the ramdisk folder and open the fstab.shamu file using notepad++
  • search for forceencrypt and replace it with encryptable. there should be only one case where this exists.
  • save the file, go back to the root of the image kitchen folder, and run the repackimg.bat file.
  • you should get a new boot.img build called image-new.img, you can use this now to flash on your device

 

 

Tell apt-get not to install “recommends” packages in Debian Linux

Tip: Tell apt-get not to install “recommends” packages in Debian Linux

Preview:

Purpose: If you are using Debian Lenny and are installing software packages using apt-get then you might have noticed the new version of apt-get in Lenny installs the “recommends” packages automatically thus increasing the number of packages installed on your computer. The “apt-get” in Debian Etch (4.0) did not use to install “recommends” packages.  In this post, we will see how we can permanently tell apt-get NOT to install “recommends” packages.  For those of you who are not sure about Debian’s “depends”, “recommends” and “suggested” packages, please refer to this doc. This is important if you have limited storage space on your system, say for example an embedded system.