Hi Sankar,
Thank you for choosing Windows 8 and posting your query on Microsoft Community Forums. We are here to assist you.
You have mentioned that you have received the error: “No Mapping between account names and Security Id was done” after you tried changing the administrative username and you would like to know why this has happened.
The reason you are getting the "No mapping between account names and security IDs was done" is either because you now have an orphaned user account. This occurred when you deleted or renamed your old user name which was still in use by the system as each user name has a unique SID or it may be due to a corrupted user profile.
To resolve this you may need to fix the corrupted user profile. For this, you need to create a new admin account and copy all the data from the corrupted user account. You can follow these instructions and check if that helps.
Step 1: Creating a new user account in Windows 8.
a) Press “Windows Logo” + “X” keys on the keyboard and select “Command Prompt (Admin)” from the menu.
b) Type “net user username password /add” and press “Enter” on the keyboard.
Note: Replace 'username' and 'password' with your desired username and password
Now a new user account is create with your desired username and password. Now we need to copy the old files to newly created user account. Follow the Step 2 for this.
Step 2: Copying old files to newly created User Profile
a) Press “Windows Logo” + “X” keys on the keyboard and select “Windows Explorer” from the menu.
b) Click on “View” tab and Click on “Options” at the top right corner.
c) Click the “View” tab, and then select “Show hidden files, folders, and drives”.
d) Uncheck the box which states “Hide protected operating system files”.
e) Click “Yes” to confirm, and then click on “OK”.
f) Now, locate “C:\Users\Old_Username” folder, where C is the drive that Windows is installed on, and “Old_Username” is the name of the corrupted user profile you want to copy files from.
g) Select all of the files and folders in this folder, except the following files:
•Ntuser.dat **** •Ntuser.dat.log **** •Ntuser.ini
h) Right click and Select “Copy”.
i) Locate the “**C:\Users\New_Username”**folder, where C is the drive that Windows is installed on, and “New_Username” is the name of the new user profile you have created.
j) Right click inside the folder and select “Paste”.
k) Restart your PC and check if you are able to log into the default profile.
Hope this resolves the issue. Please feel free to get back to us for any queries or issues related to Windows.