How to install Windows 10 in a virtual machine ?

After last week’s Windows 10 briefing, a brand new build of the Windows 10 Technical Preview was released publicly. Anyone can sign-up for the Windows Insider program and get a taste of Windows 10. Of course, pre-release builds should never be used as a primary OS, so today I’ll walk you through how to run the Windows 10 Technical Preview in a virtual machine.

Under normal circumstances I would do this walkthrough with Oracle’s VirtualBox. It’s free, open source, and works on just about any operating system. Sadly, the drivers appear to be broken for the time being. I couldn’t get sound or networking to work at all, and the screen resolution is severely limited. A quick peek at the community forums shows that other people are having the exact same problems, so hold off using VirtualBox for Windows 10 until these major kinks get worked out.

Instead, I’ll be using the free VMware Player application. It works like a charm, but it’s only available for Windows and Linux. VMware does offer premium virtualization solutions for OS X, but that’s a large investment just to test a preview build of Windows. I can’t recommend dropping $70 if this is all you’ll be using it for. With all that in mind, let’s jump in.

11

1. Download the Windows 10 ISO

First off, head over to the Windows Insider site, and sign up. Once you’ve agree to the terms of service, proceed to the download page, and pick which disc image you want to download. For the purposes of this walkthrough, I’m using the 32-bit English ISO, but go with whatever works for your set-up.

22

2. Create a new virtual machine

Now, you need to install VMware Player. Head to the download page, pick which platform you want, and complete the installation.

Once the application is installed, launch it, and navigate to Player > File > New Virtual Machine to get this party started.
33

3. Find your Windows 10 ISO

Next, you need to tell VMware Player where to find the Windows 10 ISO. Select the second option labeled “Installer disc image file (ISO),” and then navigate to the Windows 10 ISO you downloaded earlier.
44

4. Choose your save location

Pick out a name for this virtual machine, and then select where you’d like it to be saved.

55

5. Configure your virtual hard disk

On this screen, you need to choose how big you want your virtual disk to be. 60GB is the default, but you can increase it as needed. Just make sure you have enough free space on your actual hard disk.

By default, VMware Player will split your virtual disk over multiple files, and I recommend leaving it that way. Unless you have a specific reason to change it, keep it as is.
66

6. Customize your hardware configuration

Next, click the “Customize Hardware” button before we finish the initial set-up.

77

7. Allocate RAM

The default here is 1GB, but more would be better. I have 16GB of RAM in my machine, so I decided 4GB was an appropriate allocation for this virtual machine. Follow the guide on the right of the screen, and don’t go above the maximum recommended memory. If you outstrip what’s available, you’ll end up paging to the hard disk, and making everything slow to a crawl.

88

8. Configure the CPU

Switch over to the CPU tab, and choose how many cores you want to dedicate to this machine. One is the default, and that’s probably a safe starting point. My machine has four cores, so I usually end up bumping it to two cores for virtual machines, but your milage may vary.

Now, take a look at the button labeled “Virtualize Intel VT-x/EPT or AMD-V/RVI.” If you’re using the 64-bit version of Windows 10, this is mandatory. Of course, your CPU needs to support this functionality, so use this tool from Microsoft to verify that it will work with your processor.

99

9. Begin the installation

Close out of the hardware configuration, and “Finish” the initial set-up. Now, boot up your virtual machine, and install Windows 10 just like you would normally.
1010

10. Install the VMware tools

Once Windows 10 has finally booted up, navigate to Player > Manage > Install VMware Tools. It will mount a virtual DVD, and pop up a notification in the bottom right. Navigate to the disc in Windows Explorer, launch the appropriate executable, and follow the on-screen instructions.

Note: If you don’t already have the VMware tools on your PC, follow this process to download them.
1111

11. Reboot your virtual machine

When it’s finished installing, reboot your virtual machine.

1212

And you’ve virtualized Windows 10!

Finally, your Windows 10 installation is ready to use — even in fullscreen mode. Poke around, download the OS updates, and enjoy the cutting edge of Windows. And when something inevitably breaks, it won’t matter. This is just a virtual machine, so toss it, and start over.

Courtesy – Extreme Tech

Code to Display on Console in Windows Phone

The following codes will help you to display various contents in the console.

Display a simple text in the console :

Console.WriteLine("Simple Text"); // This is to display a simple text in the console.

Output :  Simple Text        // This will be the output

 

Display an integer in the console :

int myNumber = 5; // Consider an integer object

Console.WriteLine(myNumber);  // This is to display an integer in the console.

Output : 5        // This will be the output

 

Display a combination of string and integer in the console :

int myNumber = 5; // Consider an integer object

Console.WriteLine("My Number is "+myNumber+".");  // This is to display a combination of string and integer in the console.

Output : My Number is 5.        // This will be the output

Turn OFF Windows Update through REGISTRY edit

If you want to disable your Windows Update service and you cannot do it through the Windows Update options then you need to move through the System Registry to disable it. Follow the steps listed below.
  1. Start regedit.exe on the machine where you want to disable Windows Update.
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.
  3. From the Edit menu, select New, DWORD value.
  4. Enter a name of NoWindowsUpdate, and press Enter.
  5. Double-click NoWindowsUpdate, and set it to 1.
  6. Close regedit.

How to gain access to your system through safe mode in the most safest and powerful way?

At times you can’t delete some files from your system or you may be under virus attack, or can’t access your files after booting. Here you need to boot up in the Safe Mode.

You have three  options,

1. Safe Mode

2. Safe Mode with Networking

3. Safe Mode with Command Prompt

The safe Mode with Command Prompt is the most powerful Safe Mode since it loads only the very basic drivers and system files for the working of your system. You will have full access to your files in the system.

If you select this option then you will end up booting DOS. Now you need to type “explorer” in the DOS command Line. Now the Windows Explorer will load and you may do the Rescue or backup actions….

How to Re-enable Taskbar if you can’t open it in your Windows OS?

If you are a victim of some virus attack and you lost your task bar, the there is a method to re-enable your task bar. You need to open the Group Policy edit.

Type GPEDIT (or GPEDIT.MSC) in RUN and press enter.

You can see “Computer Configuration” and “User Configuration”.

Expand User Configuration, then Administrative Templates and then the System.

Click on the “Ctrl+Alt+Del” Options.

On  the right panel click on the “Remove Task Manager”. Open it and Set it to “Disabled”.

Removing startup programs in Windows OS through Registry?

If you’re trying to remove a program and can not find it in the StartUp folder (usually C:\WINDOWS\Start Menu\Programs\StartUp), then you need to remove it through System Registry.

Open the Registry by typing “regedit” in the RUN (from START or window key + R).

you will see

1. HKEY_CLASSES_ROOT

2. HKEY_CURRENT_USER

3. HKEY_LOCAL_MACHINE

4. HKEY USERS

5. HKEY CURRENT_CONFIG

Move to [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run].

You can find all the KEYS of all startup programs there. Delete the unwanted keys. And now you can start your Windows OS without loading the undesired applications and services.

 

NOTE: instead of permanently removing the startup keys, you can disable its startup by taking the MSCONFIG (type MSCONGIF in RUN) and unchecking the unwanted  apps checkbox.

32 core CPUs

Intel has been very good about sticking to its road map. A six-core CPU based on the Itanium design should be out imminently, when Intel then shifts focus to a brand-new architecture called Nehalem, to be marketed as Core i7. Core i7 will feature up to eight cores, with eight-core systems available in 2009 or 2010. An eight-core AMD project called Montreal is reportedly on tap for 2009.Intel will roll out 32-nanometer processors (down from today’s 45nm chips) in 2009.

After that, the timeline gets fuzzy. Intel reportedly canceled a 32-core project called Keifer, slated for 2010, possibly because of its complexity . That many cores requires a new way of dealing with memory; apparently you can’t have 32 brains pulling out of one central pool of RAM. But we still expect cores to proliferate when the kinks are ironed out: 16 cores by 2011 or 2012 is plausible (when transistors are predicted to drop again in size to 22nm), with 32 cores by 2013 or 2014 easily within reach. Intel says “hundreds” of cores may come even farther down the line.

Formating a GPT Protective Partition (Mac OSx Journeled)

In Windows OS, if you cannot access or modify GPT disk, you can convert a GPT disk to MBR by DiskPart. But doing so will remove all data and partition structures in the disk.

First Confirm that the Drive is detected and visible in Device Manger and Disk Management.

1. Open Command Prompt as an Administrator (click Start–> Run, type in “cmd” in textbox, and hit “OK”)

2. Enter “DiskPart” and hit enter.
Now the Dos prompt will change to “DISKPART>”

3. Enter “list disk” and hit enter.
This will list all disks attached to the machine. Cross check with the size and name of the disk.

4. Select the desired disk using the “select” command. This will fix the focus to the specified disk.
For example “select disk 0″.

5. Now erase the entire drive using the “clean” command.
Warning: This command will erase all data on the selected disk, backup your data first.

6. Enter Exit and close command-prompt.

7. Open Disk management. (click Start–> Control Panel–> Administrative Tools –>Computer Management–>Disk Management)

8. Right-Click on the drive and click Initialise Drive.

9. Now you can format the drive as you desrve. Right-Click and select format.

Inserting formatted code into Word & OpenOffice

To add code inside word 2003 or older:

  1. Click insert–> object
  2. choose “Microsoft word Document” from the list: it will open a new embedded word document
  3. copy past your code from Visual Studio / Eclipse / editor inside this embedded word page
  4. save and close

 

To add code inside word 2007:

  1. go to “insert” tab, click “object” button (it’s on the right)
  2. choose “openDocument Text”: it will open a new embedded word document
  3. copy past your code from Visual Studio / Eclipse inside this embedded word page
  4. save and close

Here are the advantages of this method:

  • the code keeps its original layout and colors
  • the code is separated from the rest of the document, as if it was a picture or a chart
  • spelling errors won’t be highlighted in the code
  • The result looks very nice.

And it takes only few seconds.

 

For OpenOffice there is a more simple way using an addon..
Code Formatter
Colorize C++, C#, Perl, Python, Java, StarBasic, and XML can be color coded for a better appearance.

StarBasic is formatted like the OOo IDE. Java colors mimic those in Eclipse.

Download it from here…
http://extensions.services.openoffice.org/project/CodeFormatter

Serious flaw in Internet Explorer browser

Microsoft has warned about a flaw on the Internet Explorer browser that could allow hackers to take control of unprotected computers.

The bug allows hackers to inject malware onto any system if they manage to trick users into visiting booby-trapped websites. Anyone with Internet Explorer (IE) 6 to 8 is potentially affected.

The code to exploit the bug has already been published. The computer giant said there was no evidence it was being used yet by criminals but they were “investigating” and working on a permanent fix, reports the Daily Mail.

The bug targets how the browser manages a computer’s memory when it is processing Cascade Style Sheets — which are design instructions that determine how most web pages look.

Hackers can inject their own code into the stream of instructions and in this way hijack the PC.

Although Microsoft has improved how memory management is protected, it does not work when some older parts of Windows are called on.

The bug first came to light on the seclists.org full disclosure mailing list earlier this month.