Archive for the ‘Tips and Tricks’ Category

Login as Root in Ubuntu 11.04 (Natty Narwhal)

This simple tutorial shows you how to login as root (administration) in Ubuntu 11.04 Natty. Even though it’s not recommended to logon to Ubuntu as the administrator, you still have the option to do so if you wish. One big reason why most Linux distributions won’t allow the root user to login is that, root or administrator has complete control of the system. Any small mistake might have huge impact on the stability of your system. So to prevent this, the root account is disabled by default.

Getting started:

To get started,  press Ctrl – Alt – T on your keyboard to open Terminal. Next, type the command below to create a new password for the root user.

sudo passwd root

After that, type the command below to unlock the root account.

sudo passwd -u root

Next, Log Out.

Then select ‘Other’ and type the username ‘root’ and the password you created for the root user.


Its for modifying the bcdedit.exe from command line of windows 7.
I generally wrote it for multi boot option modification.
—–Note: Don’t forget to open Command prompt as “Administrator”.  Just right click the command prompt and click “Run as Administrator”.

Command-line Help

bcdedit /? Shows all commands one is able to use

bcdedit.exe /? CREATESTORE Shows detailed information for the command CREATESTORE or any other command available in bcdedit as shown when running bcdedit /? followed by the particular command more information is required for.

bcdedit or bcdedit /enum all Shows the current structure of your boot configuration data.
The GUID tags {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} of all Windows installations present on your computer will be displayed.

Create a Backup

It is strongly recommended that one creates a backup of the BCD store before making any changes to it.

bcdedit /export “D:\BCD Backup\Bcd Backup” Creates a backup to a pre-created folder, in this case “BCD Backup” on drive D:

bcdedit /import “D:\BCD Backup\Bcd Backup” Restores the backup previously created

Making Changes to the Boot Configuration Data

Before making any changes or attempting to use the commands below, run the command bcdedit or bcdedit /enum all to make sure that you use the correct GUID tag. These have been seen to change from build to build and it may be necessary to use {ntldr} instead of{legacy} for example.

bcdedit /set {legacy} Description “Windows XP Professional SP2” Changes the text description of the “Legacy” OS line in the boot menu. The quotation marks must be included in the command

bcdedit /set {current} description “Windows Vista Build 5270 x86” Changes the text of the boot menu line for the Vista or non-Vista installation one is currently booted to, from the default “Microsoft Windows” or other description to that shown in the quotation marks

bcdedit /set {current} description “any name” …. for changing to any name you want.

bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} description “Windows Vista Build 5270 x64” Changes the text of the boot menu line for any other Vista installation. One must use the GUID for that particular installation as shown when one runs thebcdedit or bcdedit /enum all command

bcdedit /default {current} Sets the current Windows installation one is booted to as the default Windows boot OS

bcdedit /default {5189b25c-5558-4bf2-bca4-289b11bd29e2} Sets the referenced Windows OS as the {default} Windows boot OS

bcdedit /default {legacy} Sets the legacy (Windows XP) OS as {default} boot item

bcdedit /displayorder Sets the display order of boot menu items for example:

bcdedit.exe /displayorder {legacy} {current}

bcdedit /timeout 15 Changes the default 30 second time-out of the boot menu to 15 seconds or any other value inserted.

Correcting changes to the Partition/Disk structure

Where a partition or a hard drive has been added or removed and has caused the partition/disk structure to change, this can be corrected by running these commands in the order shown:

X:\>X:\boot\fixntfs.exe -lh -all (Where X: is the drive/partition on which the folder “boot” is to be found)

bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} device partition=X: Changes boot partition of the OS whose GUID is indicated. (Where X: is new drive/partition required). Must be used together with the osdevice command below

bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} osdevice partition=X: Changes boot partition of the OS whose GUID is indicated. (Where X: is new drive/partition required). Must be used together with the device command above

Msconfig – System Configuration Utility

The System Configuration Utility (msconfig) is accessible from the Windows Vista start menu, Start>All Programs>Accessories>System Tools>System Configuration. It has limited funcionality as regards the BCD store however, with the only relevant functionalities being to change the default boot operating system, to delete a boot menu item and to change the timeout display period of the boot menu.

CAUTION: Making incorrect or invalid changes to one’s BCD store can result in the system no longer booting and only those comfortable with using command line entries and who understand the inherent risks of making a mistake should do so.

Advanced Options

Please do not run these commands unless you know what the outcome will be.

bcdedit /set {current} numproc 2

bcdedit /set {current} removememory 0

For information on editing the BCD (Boot Configuration Data) when installing a “legacy” Operating System AFTER Windows Vista see How To: Modify BCD using bcdedit when install XP after Vista

The welcome screen displays all of the local users on the system, except the built-in administrator account that was created during setup. If we want to hide a specific user from the list, we need to create a special value under this registry key:


Under this key you simply create a new DWORD value – the name matches the users name exactly, and the value is one of the following (Decimal format)

0 – Hides the user just from the welcome screen
1 – The user is shown

Before you start putting values in this key, I want to warn you. This tip is particularly dangerous. If you make the wrong move, you could make it nearly impossible to get back into your system. Don’t blame me if you hose your system!

To hide the users I want, I browse to the registry key on my system:

Now I want to hide all of the accounts except Jennifer, so I add each of the accounts shown on the welcome screen, and give them a value of zero.

that’s all we need to do. I log off, and now I only see Jennifer’s account:

Here’s the big question. How do you log on as a hidden user? If you are running windows XP Professional you simply need to press CTRL-ALT-DEL twice, and the standard logon screen will be displayed. This has one pitfall – it will fail to work if a user is still currently logged in. If you are having trouble getting it to show, then reboot and press it twice before any users have logged in. Secondly, if you are running Windows XP Home, you will need to boot in safe mode to use the hidden account. The CTRL-ALT-DEL trick does not work for XP Home.

Have a laptop and want to get more battery life out of it? Windows 7 includes a hidden built-in tool that will examine your laptop’s energy use and make recommendations on how to improve it. To use it:

1. Run a command prompt as an administrator. To do this, type cmd in the search box, and when the cmd icon appears, right-click it and choose “Run as administrator.”

2. At the command line, type in the following:

powercfg -energy -output \Folder\Energy_Report.html

where \Folder represents the folder where you want the report to be placed.

3. For about a minute, Windows 7 will examine the behavior of your laptop. It will then analyze it and create a report in HTML format in the folder you specified. Double-click the file, and you’ll get a report — follow its recommendations for ways to improve power performance.

1.) Navigate to C:\Program Files\Common Files\Adobe\Adobe PCD
restart adobe cs5 trial delete PCD file

Adobe Common Files PCD Location

2.) Delete the file named “pcd”

3.) Open the “cache” folder

4.) Delete the file named “cache”

5.) Edit your “Hosts” file to prevent your Adobe CS5 programs from communicating with Adobe.

Editing your hosts file is a relatively easy task (See image below). Navigate to Computer -> Local Disk (C:) -> Windows -> System32 -> Drivers -> etc -> hosts. Or you can simply type “hosts” into the search bar when you are inside the folder “System32?.

You will need to change the security of the hosts file in order to edit it. Right click it, select properties and then select the security tab. You will need to grant regular users “Full Control” in order to edit this file.

WARNING: You should remove these full control privileges from the regular users group after editing the file for system security purposes.

Add the following lines to the bottom of the file:

This essentially tells your computer that when you attempt to navigate to either or, rather than being directed to those addresses, your computer will loop that navigation back to itself, and your Adobe programs will fail to reach the adobe activation destination. “ is your computers own loopback IP address.
edit windows hosts file for adobe activation

Click for full size

I’m actually not sure if that whole hosts file editing part is absolutely necessary, but it doesn’t seem like it could hurt. I’m not sure if Adobe attempts to keep track of trial users on their end.

Now the next time you open an Adobe CS5 program, you will be prompted to accept the license agreement and start a new trial.

1. – Open an elevated command prompt

Start > Search “cmd” > Right Click cmd.exe > Run as Administrator

2. – Leave Command prompt open; Open task manager

3. – End process “explorer.exe”

4. – Switch back to command prompt

5A. – FILE – Change to the directory of your file and delete it.

First run this line: cd “PATH OF YOUR FILE”
i.e. cd “%USERPROFILE%”\Downloads”
Now run this line: del filename.extension
i.e. del filename.mkv

5B. – FOLDER – Delete the folder.

Enter Command: RD /S /Q [DRIVE:]\PATH\TO\FOLDER
RD /S /Q C:\Users\[username]\Downloads\FOLDERNAME

6. – Switch back to task manager

7. – Start “explorer.exe” by clicking “File” menu at Taskbar and click “New Task(Run…)” and then type this “explorer” in the box….. then finished.

Or if this wouldn’t help for some files….. check this website;

Windows 7 Core file deleting Style

Making a Bootable Pen drive

Posted: August 18, 2011 in Tips and Tricks

To make a bootable pendrive ….. follow the following instruction


1)open CMD……


u will enter to the disk management in DOS mode


2)DISKPART> list disk

it will list all the disk that are available and online in ur computer


3)DISKPART> select disk 1

we have to select the disk first ie pendrive to startover… here i selected disk 1….. which is my pendrive number


4)DISKPART> clean

it will clean all the files and folders from that disk….. like doing formating with deleting partitions


5)DISKPART> create partition primary

it will create a partition primary which is type of format that boot file exist


6)DISKPART> select partition1

it will select the partition 1 ……. the partition that we just had created


7)DISKPART> active

it will make the selected partition active to perform requested tasks


8)DISKPART> format fs=ntfs

it will format the disk space to make it workable


9)DISKPART> assign

it is used for assigning a drive letter to the pendrive


10)DISKPART> exit

exit from the diskpart then now type in CMD


11)Find the folder of Windows 7 Operating System………and go inside the boot folder from CMD

Note: while running CMD, do “Run as administrator”.


12)Then type

{ Here, I: drive is the pendrive that we just formated and modified it…. }

find the windows files and inside the boot folder and  run ….. bootsect.exe file

E:\Backupsoft\Windows7\boot>bootsect.exe/nt60 I:


13)After the succesful operation of booting the pendrive, exit from the CMD.


14)Then u can just copy all the files and sub-folders inside the Windows7 folder and paste it to pendrive..



…………………..Now the Pendrive can be used for booting ur computer

Windows 7 Administrator

Posted: August 12, 2011 in Tips and Tricks

This is for Windows 7 users !!!!

In Windows 7,  we use an account that we had named as we like and so called Administrator. And when you create it, there will be all in total 3 User accounts in your computer. One is the account that you use, another is GUEST account which is disabled and last not the least is so called ADMINISTRATOR account which is a REAL administrator of your computer. This Admin.. Account has all privilege and is hidden.

So if you want to active this Account then just use some tricks to do it…..

heres one command to type in CMD in your computer to access to USER ACCOUNT Control


This command lets to the location of where the setting of hidden is done for administration …. see a little bit there…and if you cann’t figure this out, just leave a comment .

I will help you out.


Actually, this isn’t for Noob users, Cause why the hell you need  Administrator privilege if you don’t know anything.