Thursday, 5 June 2014

How to change windows 7 login background

Follow These steps
Step 1: Hit  regedit command on cmd.

Step 2: Nevigate to
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Authentication/LogonUI/Background. 

Step 3: Select OEMBackground
            If the key does not exist, add a new DWORD value with the name OEMBackground.

Step 4: Double click on the entry OEMBackground, and change the value from 0 to 1.
Note : on selecting a new theme in the Appearance and Personalization window will “reset” this registry value. to avoid this please do following
 Launch gpedit.msc.
Navigate to the following section in the Group Policy Editor window:

Computer Configuration\Administrative Templates\System\Logon

You’ll see a setting named “Always use custom login background.” Double-click it and set it to Enabled.

Now its time to set image

Note: Image must be less than 256 KB in size.
Windows looks the custom login screen background image in the following directory

C:\Windows\System32\oobe\info\backgrounds

If info and backgrounds folders don’t exist, create it. and copy your image in it  with the name backgroundDefault.jpg.

Wednesday, 14 May 2014

Activate windows after the activation period has expires

Several We forget to activate or windows. And when the user submits a help desk ticket telling you their windows is not "Genuine".
Not to worry, here is what you can do to correct the situation.
1.

Open regedit in administrator mode

In the start menu, go to accessories, and then right click on the command prompt. select "Run as Administrator" accept the user access control warning and then type regedit into the command line and press the enter key.
2.

Reset the mediabootinstall key

Navigate to HKLM/Software/Microsoft/Windows/CurrentVersion/setup/OOBE/mediabootinstall and Change it's value to 0 (zero)
3.

Reset the activation grace period

In the command prompt that you still have open,
type "slmgr -rearm" and press the enter key. (you can reset the activation period up to 4 times.)
After slmgr has shown you the dialog stating that the rearm was successful, reboot the computer.
4.

Activate windows

Right click on computer and select properties, In the computer properties scroll to the bottom and click on "Change product key". Enter the activation key that is on your certificate of authenticity and click next. If activation accepts the key, you are done.
5.

If activation was not successful,

Continue on with the activation dialog and complete the activation over the phone. You can also double check your activation key as many of the digits are difficult to tell apart. I take a picture of the key with my phone and zoom it in to tell a B from an 8 and a G from a 6.

Conclusion

Software piracy is a crime that we have the ability to stop within our own span of control. but sometimes I forget to activate a license, enter the wrong key or make some other mistake that results in the OS going into hamstrung mode. With the instructions above, you can resolve most of the issues surrounding licensing and activation of Windows 7.

Monday, 19 November 2012


How to install U-Tube Downloaded on Ubuntu 

ClipGrab is a free software for downloading and converting online videos from many sites like YouTube or Vimeo.
ClipGrab can download from the following sites: YouTube, Clipfish, Collegehumor, Dailymotion, MyVideo, MySpass, Sevenload, Tudou, Vimeo.
Downloaded videos can be converted to the following file formats: WMV, MPEG4, OGG Theora, MP3 (audio only), OGG Vorbis (audio only).

ClipGrab isn’t limited to the sites listed above, because many more sites are supported "unofficially" through the automatic site-recognition of ClipGrab -- just try it!
By the way, ClipGrab can also download HD videos from sites that have support for high definition (e.g. YouTube or Vimeo).
Install clipgrab on ubuntu 11.10
Open the terminal and run the following commands
sudo add-apt-repository ppa:clipgrab-team/ppa
sudo apt-get update
sudo apt-get install clipgrab
Screenshots

Monday, 30 January 2012

Wifi state change


Create your own class that extends BroadcastReceiver...
public class MyNetworkMonitor extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {

        // Process the Intent here

    }
}
In AndroidManifest.xml
<receiver
    android:name=".MyNetworkMonitor" >
        <intent-filter>
            <action android:name="android.net.wifi.STATE_CHANGE" />
            <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />"
        </intent-filter>
</receiver>
See WIFI_STATE_CHANGED_ACTION  and CONNECTIVITY_ACTION  for an explanation of using the Intent.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////*********************************************

Check out these two pages of javadoc: ConnectivityManager  WiFiManager 
Notice that each one defines broadcast actions. If you need to learn more about registering broadcast receivers, check this out: Programmatically register a broadcast receiver
BroadcastReciever receiver = new BroadcastReceiver() {
  @Override
  public void onReceive(Context context, Intent intent) {
    WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    if (wifi.isWifiEnabled()==true) {
      tv.setText("You are connected");
    } else {
      tv.setText("You are NOT connected");
    }
  }
}
And in your manifest you could do something like this (if you would prefer to NOT register the receiver in code):
<application android:icon="@drawable/icon" android:label="@string/app_name">
    <receiver android:name=".WiFiReceiver" android:enabled="true">
        <intent-filter>
            <action android:name="android.net.ConnectivityManager.CONNECTIVITY_ACTION" />
        </intent-filter>
    </receiver>
</application>
+++++++++*****************+++++++++++++++++++++++++++++++++++++++++++************

Which listener does my class have to implement inorder to automatically check code if the wifi connects/disconnects ?
I'm able to manually check for wifi connection/disconnection but each time i need to connect/disconnect WIFI from android settings and then run my program for the result.
Please help. Thanx in advance.
My current code is as simple as :
WifiManager wifi = (WifiManager)getSystemService(Context.WIFI_SERVICE);
if (wifi.isWifiEnabled()==true)
{
    tv.setText("You are connected");
}
else
{
    tv.setText("You are NOT connected");
}