This method is for those who mostly put their PC/Laptops to hibernate or sleep and want the BitLocker volume locked when waking up the system from sleep or hibernation.
The simplest method is to create a text file (Notepad) with the following content and saving it with a .cmd extension on your desktop.
manage-bde -lock volume: -fd
-fd: ForcedDismount, use this parameter to lock the volume even if it's in use.
To lock the volume right click the .cmd file you created and run it with Administrator privilege (If UAC (User Account Control) is set to Always Notify.
This method is to avoid launching the Windows Command Processor (cmd.exe) and typing the command and hence saves time required to lock the volume.
To learn more about parameters for manage-bde command visit the following link,
http://technet.microsoft.com/en-us/library/dd875513(WS.10).aspx
Hi, this is my first blog and specifically created to share my knowledge and views on computing hardware, software, and everything related.
Wednesday, October 19, 2011
Monday, October 17, 2011
Triple Boot: Ubuntu 11.10, Windows 8 (WDP), Windows 7
First of all change your default
operating system through the OS selection screen displayed during the boot process to Windows 7,
next boot into Windows 7 and use wubi.exe to install ubuntu 11.10 ISO
image (wubi.exe and the ISO should be in the same directory) you
downloaded or if you have the Ubuntu CD launch wubi.exe from within
the media. Once its installed restart windows 7 and select Ubuntu to
complete the installation.
A issue with having windows 8 (Windows Developer Preview) is that, you could at times not find Ubuntu in the startup boot menu, loading up Windows 7 then restarting bring Ubuntu back on the list.
Ubuntu Download:
http://www.ubuntu.com/download/ubuntu/download
Windows Installer (wubi.exe):
http://www.ubuntu.com/download/ubuntu/windows-installer
Monday, October 10, 2011
VMware Workstation 8 on a Local Account (Standard User)
If you get any of these errors while using VMware Workstation from a Local Account (standard user) account on a guest (Windows 7) system,
"Could not get vmx86 driver version: The handle is invalid.
You have an incorrect version of driver "vmx86.sys". Try reinstalling VMware Player."
"Could not get vmx86 driver version: The handle is invalid.
You have an incorrect version of driver "vmx86.sys". Try reinstalling VMware Player."
"Failed to initialize monitor device."
"Error while powering on: Cannot find a valid peer process to connect to"
--------------------------------------------------------------------------------------------------------------
Adding the user you would like to be able to use the Workstation to " __vmware__ " group in windows will solve this issue.
I came upon this while reading the following blog post,
http://blogs.vmware.com/workstation/2011/09/vmware-workstation-8-running-windows-8.html
(I suggest you read the above post.)
If you are a novice user open, Control Panel-> Administrative Tools->Computer Management, in the left pane select (Left Click) look for Local Users and Groups, select (Double Click) Groups, at very bottom you will find a group named "__vmware__".
Click on the add button, type the username and do not forget to click Check Names before clicking OK.
This post is primarily for Windows 7 and Windows Developer Preview users but is applicable to Windows XP as well.
Sunday, September 4, 2011
How To Install VLC on RHEL6
This is going to be a lengthy post..
First visit http://www.videolan.org/vlc/ and see what information they have regarding RHEL ( Red Hat Enterprise Linux ) support, then if you have to, come back here and read rest of this post.
Now, as of today the package for VLC for RHEL is available on RPMforge so start by installing this repository, visit:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
The information on the above site is related to CentOS but you should know (if you already don't) it's binary compatible with RHEL, as such works for RHEL as well.
You can download the RPMforge release package from,
http://pkgs.repoforge.org/rpmforge-release/
Look for latest build for you version of Red Hat, mine is 6 and on a 32 bit system (running on VMware Player) so as of today I will download,
rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Use the rpm command to install,
eg. rpm -ivh ./rpmforge-release-0.5.2-2.el6.rf.i686.rpm
yum check-update
Use cd "path to the rpm file" without the quotes before executing the above command or simply add the path instead of ./ and don't forget "su -" to execute all the commands as root.
You will also need ( if you don't have RHN subscription) to configure a repository or manually install dependencies from the RHEL6 DVD media ( "Packages" directory).
To configure a local repository follow the instruction given below,
Start by copying the contents of the Packages directory to a directory on you Linux file system, mine is saved under, /mnt/hgfs/Packages/
As you should already know I use VMware Player and as such had the "Shared Folder" option to have the path setup by the player.
Now to create the repository as root change your pwd to /etc/yum.repos.d/ and use a text editor to create a file, I named mine server.repo as I am running the Server release. (eg. vi ./server.repo)
My server.repo file has the following content,
First visit http://www.videolan.org/vlc/ and see what information they have regarding RHEL ( Red Hat Enterprise Linux ) support, then if you have to, come back here and read rest of this post.
Now, as of today the package for VLC for RHEL is available on RPMforge so start by installing this repository, visit:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
The information on the above site is related to CentOS but you should know (if you already don't) it's binary compatible with RHEL, as such works for RHEL as well.
You can download the RPMforge release package from,
http://pkgs.repoforge.org/rpmforge-release/
Look for latest build for you version of Red Hat, mine is 6 and on a 32 bit system (running on VMware Player) so as of today I will download,
rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Use the rpm command to install,
eg. rpm -ivh ./rpmforge-release-0.5.2-2.el6.rf.i686.rpm
yum check-update
Use cd "path to the rpm file" without the quotes before executing the above command or simply add the path instead of ./ and don't forget "su -" to execute all the commands as root.
You will also need ( if you don't have RHN subscription) to configure a repository or manually install dependencies from the RHEL6 DVD media ( "Packages" directory).
To configure a local repository follow the instruction given below,
Start by copying the contents of the Packages directory to a directory on you Linux file system, mine is saved under, /mnt/hgfs/Packages/
As you should already know I use VMware Player and as such had the "Shared Folder" option to have the path setup by the player.
Now to create the repository as root change your pwd to /etc/yum.repos.d/ and use a text editor to create a file, I named mine server.repo as I am running the Server release. (eg. vi ./server.repo)
My server.repo file has the following content,
[Server]
name=DVD packages
baseurl=file:///mnt/hgfs/Packages/
enabled=1
gpgcheck=1
Don't forget to put the correct path for "baseurl=file:///", as the one shown above is the one I created on my filesystem.
You might need to install the following packages from the DVD before you can continue,
deltarpm
python-deltarpm
createrepo
python-deltarpm
createrepo
also import the GPG key from the DVD,
rpm --import RPM-GPG-KEY-redhat-release
Go ahead and execute the following command make sure you provide the path relevant to your system,
createrepo -v /mnt/hgfs/Packages/
If you did everything right execute,
yum install vlc
Mine ended by reporting missing dependencies,
1. libcppunit-1.12.so.3
2. libglut.so.3
1. libcppunit-1.12.so.3 is provided by cppunit-1.12.1-3.1.el6.i686.rpm
2. libglut.so.3 is provided by freeglut-2.4.0-9.el6.i686.rpm
both can be downloaded from,
http://mirror.centos.org/centos/6/os/i386/Packages/
http://mirror.centos.org/centos/6/os/x86_64/Packages/
Please remember the version number won't be relevent to you as newer packages keep coming, hence search by the package name, eg. cppunit, and download the most recent 32 or 64 bit version.
If you didn't break anything executing yum install vlc should end with something like shown below,
Dependencies Resolved
================================================================================
Package Arch Version
Repository Size
================================================================================
Installing:
vlc i686 1.1.11-1.el6.rf
rpmforge 14 M
Installing for dependencies:
SDL i686 1.2.14-2.el6 server
200 k
SDL_image i686 1.2.10-1.el6.rf
rpmforge 82 k
a52dec i686 0.7.4-8.el6.rf
rpmforge 82 k
aalib i686 1.4.0-5.el6.rf
rpmforge 167 k
dirac i686 1.0.2-1.el6.rf
rpmforge 2.1 M
enca i686 1.10-1.el6.rf
rpmforge 166 k
faac i686 1.26-1.el6.rf
rpmforge 137 k
faad2 i686 2.7-1.el6.rf
rpmforge 302 k
ffmpeg i686 0.6.1-1.el6.rf
rpmforge 2.6 M
ffmpeg-libpostproc i686 0.6.1-1.el6.rf
rpmforge 22 k
fribidi i686 0.10.9-1.el6.rf
rpmforge 67 k
lame i686 3.98.4-1.el6.rf
rpmforge 513 k
libXpm i686 3.5.8-2.el6 server
58 k
libass i686 0.9.11-1.el6.rf
rpmforge 142 k
libcaca i686 0.99-0.1.beta17.el6.rf
rpmforge 327 k
libcddb i686 1.3.1-1.el6.rf
rpmforge 97 k
libdc1394 i686 2.1.2-3.4.el6 server
118 k
libdca i686 0.0.5-1.el6.rf
rpmforge 127 k
libdvbpsi i686 0.1.7-1.el6.rf
rpmforge 76 k
libdvdnav i686 0.1.10-3.el6.rf
rpmforge 200 k
libdvdread i686 4.1.4-0.2.svn1183.el6 server
63 k
libebml i686 1.0.0-1.el6.rf
rpmforge 242 k
libkate i686 0.3.7-1.el6.rf
rpmforge 99 k
libmad i686 0.15.1b-4.el6.rf
rpmforge 72 k
libmatroska i686 1.0.0-1.el6.rf
rpmforge 590 k
libmng i686 1.0.10-4.1.el6 server
171 k
libmodplug i686 0.8.7-1.el6.rf
rpmforge 376 k
libmpeg2 i686 0.5.1-2.el6.rf
rpmforge 140 k
librtmp i686 2.3-1.el6.rf
rpmforge 103 k
libupnp i686 1.6.6-1.el6.rf
rpmforge 246 k
libva i686 1.0.6-1.el6.rf
rpmforge 155 k
live555 i686 0-0.27.2010.04.09.el6.rf
rpmforge 696 k
opencore-amr i686 0.1.2-1.el6.rf
rpmforge 359 k
opencv i686 2.0.0-9.el6 server
4.4 M
orc i686 0.4.11-1.el6.rf
rpmforge 297 k
phonon-backend-gstreamer i686 1:4.6.2-16.el6 server
124 k
portaudio i686 19-1.20071207.el6.rf
rpmforge 258 k
qt i686 1:4.6.2-16.el6 server
4.1 M
qt-sqlite i686 1:4.6.2-16.el6 server
50 k
qt-x11 i686 1:4.6.2-16.el6 server
12 M
schroedinger i686 1.0.10-1.el6.rf
rpmforge 555 k
svgalib i686 1.9.25-1.el6.rf
rpmforge 718 k
twolame i686 0.3.13-1.el6.rf
rpmforge 117 k
unicap i686 0.9.5-4.el6 server
157 k
x264 i686 0.0.0-0.4.20101111.el6.rf
rpmforge 1.0 M
zvbi i686 0.2.33-2.el6.rf
rpmforge 837 k
Transaction Summary
================================================================================
Install 47 Package(s)
Upgrade 0 Package(s)
Total download size: 50 M
Installed size: 165 M
Is this ok [y/N]:
In case you want to download the vlc package and it's dependencies on another system and then transfer it to your system running Red Hat get the packages listed above from,
http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/
In case you find any error(s) in this post, technical or otherwise do inform me.
The author is not liable for any loss or damage you might incur by following the instructions provided here, try at your own risk.
Wednesday, August 31, 2011
VMware Tools: Manual Download and Installation
If you prefer to use your favourite download manager to do the job rather than the VMware Player's built-in update feature you are at the right place.
First get 7-Zip (www.7-zip.org) or any other utility that can extract *.tar files.
Open your web browser and head to,
http://softwareupdate.vmware.com/cds/vmw-desktop/
You will see a list of directories and files, do not click on them rather append player/ or ws/ to the address field of your web browser and hit Enter key, now enter the "latest version number"/ you find on this page (currently 3.1.4), then the "build number"/ next add windows/, and at last packages/, hit the Enter key after keying in each choice. If you wish you can take the path to the packages available for VMware Workstation (tools are the same for both products).
Path to packages as on 31Aug2011:
http://softwareupdate.vmware.com/cds/vmw-desktop/player/3.1.4/385536/windows/packages/
http://softwareupdate.vmware.com/cds/vmw-desktop/ws/7.1.4/385536/windows/packages/
Once you have the downloaded the tar package right click on it and extract the contents using 7-Zip, now run the .exe executable file you just extracted and it will install the tools ISO (windows.iso if windows package) and it will be available for installation via Easy Install or for manual installation.
The executable does not show any install completion message so launch Task Manager and make sure the .exe file has exited.
Look inside Program Files directory (Mine C:\Program Files (x86)\VMware\VMware Player\linux.iso) for the ISO's if you need them.
Look inside Program Files directory (Mine C:\Program Files (x86)\VMware\VMware Player\linux.iso) for the ISO's if you need them.
Saturday, May 14, 2011
Code 19 on Windows 7 SP1 ( CD/DVD Drives)
"Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19) "
If you are looking for a solution for the above issue, head straight to:
http://support.microsoft.com/ mats/cd_dvd_drive_problems/en- us
If you have multiple disc authoring apps installed (not good), one of them might be responsible for this issue.
Also visit the following link for hardware issues in general:
http://support.microsoft.com/ mats/hardware_device_problems/
If you are looking for a solution for the above issue, head straight to:
http://support.microsoft.com/
If you have multiple disc authoring apps installed (not good), one of them might be responsible for this issue.
Also visit the following link for hardware issues in general:
http://support.microsoft.com/
Tuesday, April 26, 2011
VirtualBox Guest Additions For Linux In RHEL 6.0 Server
To install VirtualBox Guest Additions on Red Hat Enterprise Linux Server 6 you will need to install the following packages from the DVD media,
1. kernel-devel-2.6.32-71.el6.i686.rpm
2. kernel-headers-2.6.32-71.el6.i686.rpm
3. glibc-headers-2.12-1.7.el6.i686.rpm
4. glibc-devel-2.12-1.7.el6.i686.rpm
5. mpfr-2.4.1-6.el6.i686.rpm
6. ppl-0.10.2-11.el6.i686.rpm
7. cpp-4.4.4-13.el6.i686.rpm
8. cloog-ppl-0.15.7-1.2.el6.i686.rpm
9. gcc-4.4.4-13.el6.i686.rpm
Use the following command to install the guest additions ,
[root@localhost ~]#./VBoxLinuxAdditions.run
Default Installation of RHEL: Desktop
Read instructions for RHEL 5 here: http://linopsys.blogspot.com/2008/11/installing-virtualbox-guest-additions.html
1. kernel-devel-2.6.32-71.el6.i686.rpm
2. kernel-headers-2.6.32-71.el6.i686.rpm
3. glibc-headers-2.12-1.7.el6.i686.rpm
4. glibc-devel-2.12-1.7.el6.i686.rpm
5. mpfr-2.4.1-6.el6.i686.rpm
6. ppl-0.10.2-11.el6.i686.rpm
7. cpp-4.4.4-13.el6.i686.rpm
8. cloog-ppl-0.15.7-1.2.el6.i686.rpm
9. gcc-4.4.4-13.el6.i686.rpm
Use the following command to install the guest additions ,
[root@localhost ~]#./VBoxLinuxAdditions.run
Default Installation of RHEL: Desktop
Read instructions for RHEL 5 here: http://linopsys.blogspot.com/2008/11/installing-virtualbox-guest-additions.html
Monday, January 17, 2011
Learn Java : Official Tutorials
If you want to learn Java programming language the official tutorial available for download at the following link is a good starting point.
http://download.oracle.com/javase/tutorial/
Look for the “Tutorial Resources” box to download the tutorials bundle(101 MB download).
Subscribe to:
Posts (Atom)