Tag Archives: Windows 8

How to fool Windows 8 into using your SD-card in the media applications

Running Windows 8? Want to use the SD-card slot with the Music or Movies-applications in Windows 8? Windows Media Player won’t include stuff in the library that’s stored on removable storage so here’s how to fool it!

Create a VHD on an SD-card (or USB, but that’ll stick out of your Slate (which I’m running)).

To create a VHD using diskpart follow these steps:

  1. Insert your SD-card or USB and note the driveletter it receives. Substitute “C:” below with that letter.
  2. Run CMD, start diskpart
  3. create vdisk file=”C:vdisksmediadisk.vhd” maximum=16000 (Creates a VHD on C: with maximum size 16000 MBs)
  4. attach vdisk (attaches it to your computer)
  5. create partition primary (creates a primary partition)
  6. assign letter=z (assigns the letter z to it)
  7. format fs=ntfs quick (quick formats the VHD with NTFS)

Start Notepad and copy and paste the script below, save this script into “mount.bat” or something similar.

setlocal
set dpscript="%TEMP%dpscript.txt"
echo select vdisk file="w:mediadisk.vhd" > %DiskPartScript%
echo attach vdisk >> %dpscript%
DiskPart /s %dpscript%
endlocal

To make sure your computer mounts your VHD automatically we’ll add the script to the startup scripts in the Local Group Policy Editor:

  1. Start it by pressing Windows+R and typing gpedit.msc into the box.
  2. Browse to Computer Configuration/Windows Settings/Scripts (Startup/Shutdown)
  3. Doubleclick Startup
  4. Browse to where you saved your script
  5. Ok all the way out to the MMC
  6. Reboot
  7. If it worked your VHD shall now be mounted with a driveletter

 

 

 

 

 

 

 

 

To get some content into your applications you’ll need to create some folders in your VHD. I’ve named mine “Movies” and “Music”. Into these I’ve copied, you guessed it, movies and music.

These folders then need to be added into the libraries in Windows 8.

  1. Do this by starting Explorer, browse to your directories, right click and choose “Include in library”.
  2. Select the appropriate library.
  3. To speed things up you can after this go into Windows Media Player to verify or rescan that your files are added.

Once they are, they’ll be included in the Movies and Music apps in Windows 8 too.

Adding your key to Windows 8 for successful activation

When you’ve installed Windows 8 it won’t let you edit certain settings until you’ve activated it. But to be able to do that you’ll need to enter your license key first. There’s no obvious way of doing that in the enterprise version, so just do it like it’s done in Server Core in three easy steps:

  1. Fire up CMD with administrative rights.
  2. Then you’ll just enter slmgr /ipk 12345-12345-12345-12345-12345<enter> Substitute 12345 with your key of course.
  3. When it’s done, just enter slmgr /ato to activate Windows.

Boom! You’re done!

If you liked this post or it helped you, please share!

Unboxing the Samsung Slate

The Samsung Slate is a fantastic device and now that I’ve finally gotten my hands on one (thank you SO very much!) I’ll share my experiences with you.

Unboxing stuff is always exciting and I’m glad to say that Samsung actually manages to give the user a great experience, it’s not a PC in a cardboard box. It’s a good looking box, the Slate is positioned on top and makes you wanna rush through it all…

But I didn’t. Click the picture to have a walkthrough of unboxing the Samsung Slate!

Once unboxed I started it, it’s blazingly fast!

It came installed with Windows 7 with the touch features enabled. Quite easy to use with the pen, but of course I still decided to go for Windows 8 Consumer Preview. That’ll be another post, quite fascinating how to install the OS on this baby!

Read more about the slate here: http://www.samsung.com/us/computer/tablet-pcs/XE700T1A-A01US
Read more about Windows 8 Consumer Preview: http://windows.microsoft.com/en-US/windows-8/consumer-preview

In the following posts we’ll take a look at OS installation, using Windows 8 and I’ll try to see if I can use the Slate instead of my laptop for a whole week at work!
















Lots of stuff happening!

At the moment there are lots of stuff happening, both in our industry and at home.

This week I’ve started programming PowerShell seriously, trying to convert an “advanced” script to PowerShell since it’s supposed to be fewer lines of code. I bet it is, once you get past the initial irritation… Like why can’t I set the error message that validateset throws? Would’ve been nice.

If you’re a programmer you might wanna check out the developer resources for Mango over at Channel 9: http://channel9.msdn.com/posts/Mango-Jump-Start-01-Building-Windows-Phone-Apps-with-Visual-Studio-2010

Speaking of Channel 9 you could also take a look at the behind-the-scenes to see what’s going on over there: http://news.cnet.com/8301-10805_3-20103036-75/behind-the-scenes-at-microsofts-channel-9/

Apart from that I’m just as curious as everyone else about Microsofts new initiative with Hyper-V in Windows 8, which most likely will take the market away from Parallells and VmWare workstation. And hopefully kill that thing called XP-mode which is totally hopeless. Read more over at Building 8: http://blogs.msdn.com/b/b8/archive/2011/09/07/bringing-hyper-v-to-windows-8.aspx

At home we’ve bought a new apartment and selling the old one. You know the drill: Take 50% of the furniture away, clean. Take pictures. Wait, wait some more and so on. So that’s where my heads been at lately. I’ll be back with a vengeance.