Wednesday, February 10, 2016

Quick and Dirty Reinstall of Windows 10 on XPS 13

I just wanted to share this super easy and dirty way to do a clean reinstall on an OEM-installed XPS 13 (in this case it was the XPS but can be any OEM Windows 10).

  1. Use Johan's instructions on creating a fresh ISO of newest Windows 10: http://deploymentresearch.com/Research/Post/399/How-to-REALLY-create-a-Windows-10-ISO-no-3rd-party-tools-needed
  2. Create a bootable USB key
    1. Diskpart
      1. list disk
      2. select disk 1
      3. clean
      4. cre part pri
      5. format fs=fat32 quick
      6. assign
      7. active
    2. Mount the ISO (in this case shows up as e:\)
    3. xcopy e:\*.* f:\ /cherkyi
  3. On the OEM-installed XPS 13Run in PowerShell "Export-WindowsDriver -Online -Destination d:\drivers" while you have the USB key as D:\ on it
    1. This exports all 3rd party drivers to the USB
  4. Mount the install.wim with dism to add the drivers to the Windows image itself
    1. copy d:\install.wim c:\temp
    2. dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
    3. Dism /Image:C:\temp\mount /Add-Driver /Driver:d:\drivers /Recurse
    4. dism /unmount-wim /mountdir:mount /commit
    5. copy /y install.wim d:\sources\ (or replace with other means)
  5. (You can repeat the previous for the D:\Sources\Boot.wim if you want to skip steps 7 & 8) 
  6. Boot the new machine with the USB
  7. If you can't find the disk so do the following
    1. Hit Shift+F10 to get to the command prompt
    2. Change to your drivers folder like c:\Drivers
    3. Run "for /r %i in (*.inf) do drvload "%i"
  8. Refresh the disk view
  9. Clean the disks and install Windows 10
So what this does is takes all needed drivers from the preinstalled OS and makes sure your new OS (and WinPE if you did the step 5) has the same drivers :) Your Device Manager should look quite nice without any additional steps!

Cheers,

Sami

Judgement day: SurfaceBook vs Dell XPS 13

Now it's time for the verdict :) Remember this is purely from my point of view as someone who travels 200 days a year and does presentations for living. This is just my opinion.

I'm trying to review features that really matter to me. It's easy to say that both are superb devices compared to many others as the 3000$ price tag would suggest.

For more specific figures and values read this: http://www.notebookcheck.net/Dell-XPS-13-9350-InfinityEdge-Ultrabook-Review.153376.0.html

I totally agree with it and it gives the common performance numbers that I've verified with the great (Finnish) PCMark tests.

Size with Accessories = What I need to carry

The Dell XPS is way more beautiful and compact. Seeing them next to each other I would easily choose Dell. That's not the whole story anyway when it comes to what I need to carry with me. I sit in the airplane and I'm usually first in the plane because I'm a priority passenger and I want get a place for my trolley. This means I sit in the airplane more than others and have more time to watch series before the seat belt light goes off. This time I need a tablet and Dell XPS won't do. This means it doesn't work by itself but I need to carry my Surface 3 etc. with me to be able to use it while the flight ascends or descends. With the SurfaceBook I'm good. I'll turn the keyboard under the screen and if someone still complains I just put the keyboard away. It's a very big screen so I am missing my kickstand to be honest. That's something I'll live with or buy a kickstand.

That's for the device itself but that's not all. I need a USB hub and wired network. That goes for both and the external devices for this are the same sized. I need DisplayPort adapter for the SurfaceBook. The one I have is from StarTech with VGA,DVI and HDMI. With Dell I need the USB 3.1 extender but it has VGA, HDMI and Ethernet. It only has one USB port so I need the Hub anyway. So both require two devices which are of equal size and weight in total.

I need Biometric readers to authenticate. With the Dell XPS this only means a thumb size USB fingerprint reader for my personal use. It doesn't take space but looks ugly. And it only allows me to authenticate but not to demo Windows Hello's Facial Detection. For this I need an external camera. With the SurfaceBook I'm good to go as it has the needed camera for both my personal use and demos. SurfaceBooks battery lasts twice as long for me as the XPS does. With the XPS I can get through flights but only with the Power Companion from Dell. So SurfaceBook is bigger but with Dell I need these extra things to carry with me: Powerbank, RealSense Camera, Fingerprint reader. The ones that I need to carry for both or are of equal size are not listed, like external SSD, power supply, mouse and a wireless presenter.

Working with the computer = What can I do with it and how well

Keyboard and touchpad on both are good. The only problem I have is the US keyboard on the Surface which really does heavily bug me. Performance is good enough on both though SurfaceBook beats basically every aspect and the SSD and GPU performance is WAY better on the Book. Now when it comes to presenting there are a few things that differ. SurfaceBook with the DisplayPort adapter has never failed me - it just works. Only thing I need to do sometimes is to change resolutions. XPS on the other hand only fails me :( The HDMI-adapter hasn't worked on any of my external screens without using Intel's application to set frequencies etc... The VGA I haven't tried on either one. For me the quick and easy use of external monitors and projectors is of huge importance. The next thing I need to do is draw on the screen while presenting. I bought this to work with the touch screen of the XPS at all: http://www.adonit.net/jot/pro/ I highly recommend it if you don't have an active digitizer - it's very good compared to any other I've tried. Now I can't rest my hand on the screen, I can't erase, I can't select and I don't get pressure sensitivity. All of these I get with the SurfaceBook. This is honestly one of the biggest differences for me between these two. To do my work I like to do it I need the Surface 3 as a companion for my Dell. Well I need it for the travelling time as well on the other hand. But getting that picture to show from two devices during a presentation - that's not always that easy. Next I need to run VMs. If you've read my previous blog you know how it works on SurfaceBook as well and I can say both run just as fine with nice SSDs and 16GB of RAM.

Fun and spare time = Which one I like if I don't need to worry about work

The Dell is awesome on the lap! Both have equally good speakers and screens. I'd rather have the XPS on my lap but honestly the battery runs out too soon for my liking... I like to sketch and draw sometimes so Dell won't do it for that either. And OH BOY do I hate the webcam placement on the XPS!! I knew I wasn't in perfect shape and have gained a few pounds but the XPS really makes sure I understand the seriousness of the situation... The webcam is situated in the lower left corner of the screen so it looks up to you below your chin and you have no contact what so ever with your family while on Skype...

The verdict

I know SurfaceBook has it's faults and I do hate the wrong keyboard layout but for my work the choice is actually quite easy at the end of the day: The XPS has to go! SurfaceBook is a keeper :)

Cheers,

Sami

Wednesday, January 27, 2016

Review #2 of the SurfaceBook - The Honeymoon is Over

It's now been about two months of full workdays with my SurfaceBook. It's taken me this long to write this blog post as I strongly believe in this product and I want to keep using it so much that I wanted to give Microsoft some heads up and time to figure out if they can fix the biggest problems I've faced. Trust me, I'll tell you the whole story and everything there is to it. Sometimes it's just more important for the big picture to help rather than creating headlines. We all know this from the security vulnerabilities point of view.

The first month with my SurfaceBook I call the "Honeymoon". I was so happy and amazed about the product that I could spend my nights at the hotel just Attaching and Detaching the screen from the base and marveling the engineering behind that mechanism.

Now the Honeymoon is over and it's time to give an update how we're doing together today. Yesterday was a breaking point in some way. Next week I need to have a working demo machine to present at NIC in Oslo so I decided to call a friend of mine to fix me a Dell XPS 13 for Friday - Just in case. So as one can imagine the SurfaceBook hobby of mine and its cost to me is starting to make me a bit sad. I wish we were back at the Honeymoon paradise. By Murphy's law last night, after making the plan B, I finally fixed the biggest issue.

There are two major issues for me that are deal breakers. I speak at Big events and I need to have Hyper-V machines running on my local box as I can't put my machines on Azure. I need to be able to boot my demo machines with ISO-images and I can't trust the Internet. In TechEd EU 2012 the Internet connection was down for 36 hours and even at Ignite the connections were down all the time. If you want to be in the top positions as a speaker YOU DO NOT HAVE YOUR VMs BEHIND THE INTERNET CONNECTION without a backup at least - My rule for success #1. I don't want to show screenshots like the Azure demoing speakers need to or be left without working demos at all. So now back to the SurfaceBook.

ISSUE 1: Wireless presenters don't work

There's some sort of a shielding issue with the Books USB 3. This only happens on the Book and not on any other laptops I have. None of my 2.4GHz presenters work properly when there is a USB 3 device plugged in next to the receiver. I thought it was because of the magnesium shell but it's not. USB 3 uses frequencies that collide with the 2.4GHz range. People are experiencing bad Wireless performance because of this as well. Intel actually has a document on this that everyone should take a look at: http://www.intel.it/content/dam/www/public/us/en/documents/white-papers/usb3-frequency-interference-paper.pdf The reason why your home wireless is bad might be because you plugged a USB 3 disk or printer to your access point. I've uploaded a video showing this: https://youtu.be/lHA-QAjNZfs

I've fixed this in two ways. I have a BlueTooth device that works quite well - Again 100$ more spent on this project. And I have a fix which is cheaper but looks unprofessional as you can see below:



Microsoft is aware and I hope there is something they can do about it. It might a physical issue so if not fixed for my Surface I hope it will be for future patches.

ISSUE 2: USB 3 external disks work only for a few minutes

This is biggest one and the one I fixed yesterday. When ever my USB 3 devices are under load they get to 100% usage level and then they just disappear! I can't run Hyper-V and I can't for example create Windows To Go -sticks. I've tried this with many external enclosures, USB keys and now latest with Samsungs AWESOME 1TB External SSD (size of a credit card!!). 500$ more on the project as I thought I had a broken disk :( I struggled with this and spend time almost every day trying to troubleshoot this for two months. I can't use the book if I can't run Hyper-V with an external SSD - That's just it! I tried different cables, different powered USB hubs, USB2, all the possible power management settings... No success. Yesterday I finally went to measures I don't recommend anyone. I figured out the Intel devices that are used, tweaked the INF-files to cheat Windows it's OK to use them, digitally signed the drivers myself and cheated the Book to trust my signatures. To get this working I needed help from another famous Finn called Kim Dot Com. He runs the Mega download site in New Zealand where I found the first hacked Intel drivers for experimenting with before creating my own. Last night I finally got the tweaked USB drivers installed for the USB 3 controller and the internal hub. And to my amaze.. IT WORKS!! Now Hyper-V is running with multiple VMs and has been stable for hours and hours! Not only does it run but it's actually lightning fast :)

So I'm going to NIC with my SurfaceBook that finally does what I need! :) I couldn't be happier! The ISSUE 1 still exists and ISSUE 2 is only a temporary fix by me so I hope Microsoft reacts fast and gets me permanent solutions :)

I have some issues with the tablet disconnecting from time to time from the base and from the docking station but even these seem to fixed now. That kind of adds up as the "Power/Dock connector" of the Book is just a weird shaped USB3-connection. 

I love the design, keyboard, performance, battery life, screen, airplane usability and the Pen - So don't get me wrong, this product is awesome in so many ways and with these "minor" issues fixed it will hopefully become the Best.

And... I guess in a few weeks you'll get to read an "XPS 13 vs SurfaceBook" blog post ;)

Cheers,

Sami and the Book 

Monday, January 25, 2016

My new Applixure Blog Post

I'm more than proud about the Startup company that I work as a mentor for: Applixure!

I've written a blog post for them that I would like to share with you as Applixure is getting features I'm super excited about: http://www.applixure.com/blog/security-starts-with-choosing-the-correct-devices/

The Applixure can now collect security information that I have requested and they also announced a really cool new tool to collect user satisfaction data so read the newest additions to their blog as well at: http://www.applixure.com/blog/

Cheers,

Sami

Monday, January 11, 2016

MCT Regional Lead for Finland - CHANGE OF POST!

Hello everyone!

I've been a Regional Lead for Microsoft Learning for three years and I have enjoyed every minute. Now my career has taken such leaps recently that I can't fulfill the goals of this position anymore. I'm not going anywhere - well it might be more accurate saying that I'm going everywhere all the time ;) I travel more than 200 days a year and I have a wife and two small kids so my time is just not enough to give the community the attention it deserves.

First I would like to thank Microsoft and all the rest of the Regional Leads around the world. I miss working and networking with you. I will the yearly RL Summit even more - An absolute gem of a Summit! I hope I can present there sometime maybe :)

The good news is that my position will be taken over by Jussi Roine. Jussi is a long time MCT and MVP and one of the only Finns that have global experience in speaking and teaching.

You should follow Jussi on Twitter: @JussiRoine

Again thanks for the good times and an invaluable experience!

Cheers,

Sami

Thursday, December 17, 2015

Another TechMentor done! (Orlando 2015)

TechMentor Orlando 2015 just sent me the feedback!

I think you should really consider putting Techmentor on your schedule if it's not there already! This time the event had double the amount of people compared to last year. Sessions were a bit more traditional 75 minute each. 

I presented four sessions so I kept my self busy :) Sessions were:

- Windows Internals Black Belt: Memory Management Thursday, November
- Windows Internals Black Belt: Security
- Windows 10 - The Important New Features
- Windows Internals Black Belt: Become a Troubleshooting Ninja

Some stats: (Average score by speakers at the conference in RED / My score in order listed above GREEN
1. Speaker Effectiveness: (1-5, 5=Excellent; 1=Poor)
a. Style and delivery 4.52  5.00, 4.97, 4.76, 4.94
b. Knowledge of subject 4.73 / 5.00, 4.97, 4.87, 4.94
c. Speaker open to my specific problems/questions 4.58 / 4.94, 4.93, 4.68, 4.85
2. Content Effectiveness: (1-5, 5=Excellent; 1=Poor)
a. Consistency with agenda description 4.60 / 5.00, 4.97, 4.79, 4.79
b. New information/update/clarification 4.52 / 5.00, 4.97, 4.79, 4.85
c. Met my expectations 4.43 / 5.00, 5.00, 4.74, 4.79
3. Your overall rating of this session: (1-5, 5=Excellent; 1=Poor) 4.49 / 5.00, 5.00, 4.79, 4.85
4. The level of the session was appropriate: (1. Yes 2. No) 1.05 / 1.00, 1.00, 1.00, 1.00
5. Would you recommend the session to others? (1. Yes 2. No) 1.08 / 1.00, 1.00, 1.03, 1.03
6. Did you feel this session was a product or corporate sales pitch? (1. Yes 2. No) 1.94 / 2.00, 2.00, 1.97, 1.91

 Sami is the best speaker. I have heard at TechMentor this year. He leaves me wanting more. You need to increase his track.
 Excellent session a lot of useful information covered.
 Great session. Should be longer sessions since there was a lot of information to cover.
 This presenter is awesome. Best presenter of the show easily !!!

 Sami is very good. He always has so much information, but needs more time.
 learned a lot! Extremely knowledgeable speaker. Very impressed with presentation!
 Absolutely great speaker! I learned so much very informative and entertaining.
 Very informative and well delivered presentation.
 Sami is the best speaker that I heard while here.
 Sami is top notch! The best information every time!
 very informative.
 Great presentation.
 Sami was awesome as expected.

 Great session, but needed a bigger room
 Presentation style is very appreciative. Kept me informed and wanting to know more. Applied real like
examples that I can relate to.
 Fantastic delivery.
 Most I have ever laughed while actually learning something.
 Great session very informative.
 Pragmatic big picture approach is a nice change.
 Good presentation on windows 10.
 Wonderful presentation style.
 "Best session so far
 Please Keep getting big names in the industry at this show"
 great presentation and engaging
 Learned about things that actually matter
 Great session.
 Sami is one of the greatest technical presenters I've ever seen. His presentations are always engaging and extremely informative.
 Hilarious!
 awesome presenter, kept the room going and interested from start to end.

 Damien was hilarious his delivery of Win10 new items made you laugh and curious at the same time. Great job Sami!
 Excellent content and presentation.
 Awesome content in this session.
 Sami is a great speaker. The topics discussed were very informative learned a lot and thoroughly enjoyed.
 Great speaker!
 Best speaker I ever heard.
 Sami has a fun and relaxed approach to highly technical material which makes the point very effectively.
 Very entertaining and full of information.
 Excellent class!
 One of the best so far.
 Fantastic session. Great speaker! I wish everybody I work with could experience this guy.
 Very funny speaker, relates well to his audience, humor and meaty system hacking stuff.
 wish we had more time.
 Well informed and leaving with knowledge I know I can used right away. Entertaining speaker. Always looking forward to attending his sessions.
 wish I had better screenshots or capture of demos. Sami is always a favorite. he needs a longer session.
 Great session!
 very engaging presentation. would definitely recommend the speaker and will look for his presentations in the future.
 Very good information.
 great session
 Wonderful session with great material.
 Not terrible. There have been worse and less useful sessions.
 There was not as much practical troubleshooting as I expected. The long segment about drivers seemed like a diversion.

 At this point Sami is hands down the best speaker here. Highly recommend you continue to bring him back

Wednesday, December 16, 2015

The Explainables - Case #1

I've heard about so many cases that are left Unexplained that I decided to publish a series called "The Explainables". If I get a chance I try to get a session like this to Ignite as well.

In this series I'll post cases that my students send me that they have solved by using the skills they learned on my classes.

The first one is from Robert Danielsson. Thank you so much for sending this. I hope you feel good being able to solve a case like this especially seeing the forums and how many haven't been able to troubleshoot it - that is until you came along :)

Cheers,

Sami


The Case

OS Windows Server 2012 / 2012 R2
We had a customer that had Backups that failed all the time on a Webserver
The Error message was these:

Event Source : MSMQ
Event ID: 2227
Failed backups,Backup failed during event OnPrepareSnapshot. Error 0x80070003
Also in vssadmin list writers the MSMQ writer is in failing state with time-out error.

I have tried it all,
* Add new disk for VSS Storage
* Reregistred VSS dll's
* Sfc /scannow
* Checkdisk
* Took recording with procmon on a system that worked with similar configuration and compared it with the system that had problem with no luck.
* Vacuum cleaning the internet on solutions but still no luck.

Going through the procmon recording now that I know what caused the problem I see that I have 1 entry that is causing the problem, 1 entry out of 100 000 :(

So if you have the time, do this on a Windows Server 2012 / 2012 R2
1. Install IIS
2. Move Default Website to another disk
3. Install WindowsBackup
4. Install MSMQ with all options
5. Backup Server
6. Examine the Application Log, you will now have the MSMQ 2227 event.

If you don’t have the time read the solution here :)

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/7f780daa-503e-47e0-96d2-946154455929/error-0x80070003-the-system-cannot-find-the-path-specified?forum=windowsbackup

(My post is at the bottom ; Rodani)

Wish you a merry Christmas and hopefully I will attend on your course (Step 2 troubleshooting) in Stockholm next year.