Pages

Sunday, July 20, 2014

Disable USB flash drives in Windows PC



Block the usage of USB flash drives but not affecting USB mouse or other peripherals that using USB port.
In that case follow the steps.
Start ->Run ->Regedit
In Regedit fint he key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
"Type"=dword:00000001
"Start"=dword:00000003

change the value of "Start" from : dword:00000003 to : dword:00000004 to deactivate,


Meaning of "dword"
3 for enable and 4 for disable.
This will affect even without restart the PC

After this, you can't see USB even in Disk management

Laptop Power adapter plugged in but its not showing not charging



In Laptop, if you play with power management options without knowing what your doing and your laptop notification area battery icon shows the message "plugged in, not charging" while charging. To solve this issue Uninstalling and re installing power management software in Windows

In order to correct problems with the battery's power management software, follow the steps below.

1. Click Start and type device in the search field, then select Device Manager .
2. Expand the Batteries category.
3. Under the Batteries category, right-click the Microsoft ACPI Compliant Control Method Battery listing, and select Uninstall .
WARNING: Do not remove the Microsoft AC Adapter driver or any other ACPI compliant driver.
4. On the Device Manager task bar, click Scan for hardware changes .
Alternately, select Action > Scan for hardware changes .
Windows will scan your computer for hardware that doesn't have drivers installed, and will install the drivers needed to manage your battery's power. The laptop should now indicate that the battery is charging.

How to Remove Old Entries from Windows 7 Boot Menu ?


First open up a command prompt in administrator mode by click the Start button , type cmd in the Search box, and press CTRL+SHIFT+ENTER. Click Continue in the User Account Control box . Then just run the bcdedit command to see a list of all the entries, copy the unique identifier to the clipboard, and then paste it into the command like so, replacing IDENTIFIER with the actual code from the clipboard.

bcdedit /delete IDENTIFIER 

It's an easy process once you go through it, but keep in mind missing with the boot loader can be dangerous, so proceed with caution.

Reset forgotten Windows administrator password without any third party tools

Without any 3rd party tools we can reset forgotten windows administrator account by using windows boot media. you can’t use the Windows XP boot CD for this purpose because its Recovery Console will ask for a password for the offline installation. However, you can use a Vista or Windows 7 DVD to reset a forgotten Windows administrator password on Windows XP .Windows 7 and vista use the same DVD.
1.    Boot from Windows PE or Windows RE and access the command prompt.
2.    Find the drive letter of the partition where Windows is installed. In most cases because the first partition contains Start up Repair. To find the drive letter, type C: (or D:, respectively) and search for the Windows folder. Note that Windows usually resides on X:.
3.    Type the following command (replace “c:” with the correct drive letter if Windows is not located on C:):
copy c:\windows\system32\sethc.exe c:\
This creates a copy of sethc.exe to restore later.
4.    Type this command to replace sethc.exe with cmd.exe:
copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exeReboot your computer and start the Windows installation where you forgot the administrator password.
5.    After you see the logon screen, press the SHIFT key five times.
6.    You should see a command prompt where you can enter the following command to reset the Windows password (see screenshot above):
net user your_user_name new_password
If you don’t know your user name, just type net user to list the available user names.
7.    You can now log on with the new password.
Recommend that you replace sethc.exe with the copy you stored in the root folder of your system drive in step 3. For this, you have to boot up again with Windows PE or RE because you can’t replace system files while the Windows installation is online. Then you have to enter this command:
copy /y c:\sethc.exe c:\windows\system32\sethc.exe


Saturday, July 19, 2014

Windows XP Activation screen instead of Windows Login Screen

You've just turned back on your Windows XP computer and suddenly you can't get into the desktop. It gets stuck in the Windows log-on screen. And what's pretty surprising about it, the activation screen comes up and would ask you to activate again your Windows XP. What you would normally do is to activate the product hoping you could log-on back to the desktop. Unfortunately in most cases, the activation will not work. And in some other cases, when you activate the product, it would tell you that it is already activated but does the same annoying thing after a restart. This works on either Windows XP Home or Professional.


Just follow the steps in order:

1. Start your computer in safe mode.
2. Login using an administrator user account.
3. Go to Windows Start menu and open RUN or press Windows + R. Type CMD in the run text box and       click on OK. This will open the command prompt window.
4. Type these commands and press enter. Then click OK on each prompts:

regsvr32 regwizc.dll
regsvr32 licdll.dll


5. Type this last command (type exactly as what you see here)
rundll32.exe syssetup,SetupOobeBnk

Wait for a couple of minutes because the last command will not show anything on the screen. However, it will reset the licensing components in the background.
You may now restart your computer and you can log-on back to your normal Windows desktop screen.