Monday, August 11, 2014

Windows Drive Not Ready Exception Error

It is usually seen on Windows XP, Vista and 7 machines
















Solution:

1. Click Start, and type “regedit” to open registry editor.Press Enter.

2. In the Registry Editor, on the left pane, navigate to the following key by expanding the plus sign (+):

HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\Control\Windows  

3. Double-click on the key ErrorMode and set the data value to 2.

4.Restart the computer.


Notes: 
Always create a backup of the registry before editing. In case we need to undo the modification, we can double click it to restore the registry key
Right click on "Windows" (step 2) , click "Export", and then save it to the any drive.

Saturday, April 19, 2014

Windows 7 User Profile Issues




"The User Profile Service failed the logon” error message




In Windows 7 it is common to get this error. The simplest method is the following.

1. Log on with another administrative account.
2. Delete C:\Users\%username%
3. Delete C:\Users\TEMP
4. Delete the registry key matching your SID from
    "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList".
5. Check the value "ProfileImagePath" to make sure you pick your own profile.Restart once again and then you're done!

Here is the step by step procedure

If there is another administrator account that you can log into, then jump to step 7 after logging into that account.
However, if you can't get to any accounts at all, then start at step 1.

  1. Restart your computer and hit F8 multiples times until you see a menu-like screen, if you see the Windows splash screen then repeat this step
  2. Highlight and hit enter on Safe Mode with Command Prompt. Try logging in there. If it still doesn't work, then go to step 17
  3. If you are able to login, once a command prompt pops up, type: net user administrator password /active:yes (you can specify whatever password you want for the administrator account.)
  4. If you get a message saying "The command completed successfully", then restart your computer by typing: shutdown -r
  5. Boot up again pressing F8, but this time choose just Safe Mode.
  6. You will be able to login as Administrator with the password you set in Step 3
  7. Hit (windows logo)+R 
  8. Type regedit
  9. Once the registry editor opens up, look for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  10. In the left pane, find the one that starts with S-1-5..... and ends with .BAK; if you don't find one, skip to step 15
  11. Right click it and click Rename, then change the .BAK to .BK
  12. Rename the one with the same numbering but without the .BAK and add .BAK at the end
  13. Right click the one that you renamed to .BK and click. Rename, delete the .BK
  14. Eventually, you have switched the .BAK from the end of the second entry to the first. That should probably fix your problem.
  15. If you didn't find a .BAK then try this: Open Windows Explorer to C:\Users\Default\AppData\Local\Application Data
  16. If you find another Application Data below the one you're on, then delete it. That should probably also fix your problem.
  17. If you can't login in Safe Mode, then reboot and hit F8 until you see the menu again, then hit enter highlighting Repair Your Computer
  18. Wait until all Windows Files finish loading, then hit Next when it asks keyboard language.
  19. Try logging in here also, choose your user from the dropdown menu, and type the password, then jump to step 23
  20. If that still doesn't work, then if you have your Windows Installation CD still, put it in and restart your computer.
  21. Hit F12 until you see a menu of boot options, choose Boot from CD
  22. Choose keyboard language then hit next. Find Repair Your Computer from a little below the center left.
  23. Choose Open Command Prompt and type: net user administrator password /active:yes (here again you can specify a password)
  24. Close the command prompt and click Restart and jump to step 5

To disable the administrator account, type this in an elevated command prompt: 
net user administrator /active:no

Sunday, November 18, 2012

Disable administrative shares in Win 7

Administrative shares are default shares of drives which can be accessed from network by adding $ sign.

To disable administrative share open computer management console
Run compmgmt.msc

Go to shared folders\shares
OR you can directly access Shared folders by running fsmgmt.msc


Right click on $ shares and select Stop sharing





This settings will be lost once the system restarts. To disable permanently 
Run\Registry Editor  (Regedit)



Go to
HKEY_LOCAL_MACHINE\SYSTE\CurrentControlSet\Service\LanmanServe\Parameters 





On right pane right click then New, DWORD (32-bit) Value



Add  new dword AutoShareWks
and set value to 0 (Default value)

 
 Restart to confirm (Optional)


Wednesday, August 22, 2012

Disable Hibernation in Win 7

run command prompt as administrator

type in command

powercfg –h off

Sunday, March 18, 2012

Disable Auto Login While Accessing Network Folder

It is common in windows network that when you access a network folder it won't prompt for username and password. If we are accessing files from a normal user account but we need admin rights to open folders then we have to log out and then log in as administrator. It will be easy if it asked for user credentials while accessing network folders. This could be done by registering these files.
keymgr.dll
KRShowKeyMgr
To register run the following command in Run

rundll32.exe keymgr.dll, KRShowKeyMgr


OR try this

To disable auto login run the following command in Run

control userpasswords2
Go to Advanced tab
Click Manage Passwords
Select and Remove passwords
Click OK
Now try to access the network folder it should ask for username and password. This time do not check Remember password option.

Wednesday, March 14, 2012

Run as from command prompt

runas /u:administrator cmd

Unlock Nokia Phone Security Code

  • First of all download the security code hack patch . Once you have downloaded it, extract it.
  • Now Ceate a new folder ‘Recogs‘ in your desktop.
  • Now take out the memory card from your Nokia phone and plug it in to you card reader and open it.
  • Copy the THC-NOKIA-UNLOCK.MDL file from the extracted file to Recogs folder.
  • Go to System folder in memory card
  • Copy and paste the Recogs folder into System folder.
  • Eject memory card and insert it to phone which you want to unlock.
  • Once you insert the memory card, it will automatically start the unclocker file and resets the Locking code.Once it successfully resets your Locking code, it will prompt a message on white screen with, ‘Press a Key’.
  • Press any key and code is rested to 12345. Now you can change it any time.
  • Done