Friday, June 1, 2012

Reset Your forgotten windows password in easy steps


If you forget windows password, its not easy to reset it. if you dont know the propper tool which can do this. Most of the peoples are using ERD Disk for this. Its working fine upto windows xp, But when they came across windows vista/7 it wont work. So here most of the blogs will suggest to work with sam file (SAM is the file that contains your Windows registry). Its present in directory "WINDOWS/system32/config/". Using linux command chntpw on an Linux live disk we can change the settings. like this,

sudo chntpw –u <username> SAM

Some other similar kind of bootable stuff's are also available for the same.  But in-case if you don't have any one of these stuff or you are not getting it working for you, Now if you can access the windows file system. Then you can still change it. Just applying a simple trick and its all done.

What we have to do is we have to found the window functions which can execute on login screen. lucklly we have a sticky key function, i.e. hitting shift key for 5 times and a popup will come. We know password for any user can be change from command line also.So I think you got me. Exactly we are going to interchange these functions. All these functions are controlled from some files. So if we will interchange the name of files it will work for us. here

Command line the file is: cmd.exe
Sticky key file is: sethc.exe

Both are present in "\windows\system32" directory. so we just need to take the backup of sethc.exe file. this thing can be done from Windows installation disk as well as Linux live disk.

So first go with Windows installation disk:

1. Boot off the Windows disk and select the "Repair your computer" option.
2. Find the option to open the Command Prompt and select it.
3. take the back of stiky file as
copy c:\windows\system32\sethc.exe c:\

4. Replace the stiky file with command prompt file as
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

5. Reboot your system and on login screen hit shift key 5 times, a command prompt will open in administrator mode.
6. using "net user" command you will get user list present in your system.
7. Now time to change the password as:
net user <username> <password>
Once it says command completed successfully its done.

Now you can log in to your windows System. using your password.
Here you probably want to put back the original sethe.exe file. So you can reboot your system from Windows installation disk and go through step 1 & 2 to get command prompt. and execute the commend
copy c:\sethc.exe c:\windows\system32\sethc.exe
Same thing can be done from linux environment also, Only you need to get this windows directory. 

Saturday, March 31, 2012

Delete option is missing on right click


When we use Right-click on any file or folder in windows OS then Delete/Cut option is suppose to be there. it can be Disabled by doing some registry settings or from group policy Editor.But in some cases when we are using external Storage devices if not unplugged properly, Causes some times Side-effect to the filesystem settings then it's Delete/Cut option got disabled. so when ever we Right-click on some file or folder we wont get Delete or Cut option, Not even Delete button will work on that partition to delete the file.

                                                  

It happens with me. i am using 1TB External HDD, Using Windows7 i created 4 partition Each of 250GB,Filesystem: exFAT, Sometimes when i was in hurry i have ejected that hard-drive without proper Ejection. That has created some effect on filesystem & was not able to delete any file or folder from that hard-disk but was able to Copy/Paste files from there, cut Option! also was missing.
i was having lots of data on that hard-disk which i dont want to loose by  formatting the hard-disk.
Solution: Which ever partition is having this problem Right-click on Partition and Select Property. Select Tools Tab And in Error-Checking Section Click on Check now button. Now one popup will come Check Automatically fix file system errors.

After Completion of this Process the Delete & cut Option will be there on right click.

Monday, March 19, 2012

Fix for error "Network Device not managed" in ubuntu


I was configuring DHCP Server, after configuration successful i restarted my server then All Ethernet ports went down, i check Network Manager graphically it shows "Device not managed" then i checked it from terminal using
sudo /etc/init.d/networking restart
It gives me this message

* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...                                        
/bin/sh: cannot open /etc/iptables_rules: No such file
Failed to bring up eth0.

This was the issue i got.
Now Solution!!!

Edit the file "/etc/NetworkManager/NetworkManager.conf"
 Change managed=false to managed=true

And ececute this in terminal.
sudo killall NetworkManger
Now we can configure our ethernet/wify interface.

Friday, March 16, 2012

Installation of Android SDK on eclipse


When the matter comes to work on android environment then everyone just think off Eclipse IDE, offcourse it provide lots of feature for android people as well as java developer i think which is no where else. if using eclipse we dont have to download any thing from internet except Eclipse classic.

Note:
While working on Eclipse IDE it is pre assumed that JDK is installed on your system and properly configured.

Now once we downloaded eclipse from here. Now after download complets extract it, and run Eclipse exetutable file. it will ask for workspace location go with default or you can configure it.Now we are ready with eclipse.

Android SDK Manager:
Go to menu tab,Click on help & go for Install New Software as shown in figgure.


 now click on Add button a popup will come put some name and location as https://dl-ssl.google.com/android/eclipse/ and press OK button.


 then it will search online and get a list of developer tools like this


 just select all and click on next then it will calculate the depency & and and show a list of packages it is going to install click on next and accept the terms of license agreements and press finish.

now it will take some time to download & install packages from the location. after finishing the installation it will ask to restart Eclipse IDE. Do the same. on restart it will install ask where is android sdk? if you have downloaded it then just show the path or let it download from the internet. wait for finish it.

Again if it ask to restart Eclipse IDE then restart it.

SDK platform:

Now open Android SDK Manager from window tab in menu bar and install all Android SDK tools & Android SDK platform-tools and which ever SDK platform you want you can choose & install.

AVD Installation:

After installation of SDK platform just go to AVD Manager click on new and create an AVD of your requirement. on successful creation of AVD its all done.

Test:
Create a dummy android project & run it as android application it will take some time to start AVD for the first time & then it will take normal time.