RSS

Category Archives: Windows 8

OneDrive / SkyDrive – fix for onedrive sync engine host stopped working

As an IT professional I tend to work on multiple systems (tablets, laptops, desktops) and I use OneDrive (SkyDrive) extensively to always have access to the latest versions of my documents.

I love OneDrive, but today when I wanted to continue working on my desktop I got an error : “onedrive sync engine host stopped working”. So first thing I tried was just restarting OneDrive, which didn’t work. Then I figured … ah well let’s just reboot and see what happens.

When this also didn’t work I looked online and saw I wasn’t the only one experiencing this. I also came across the OneDrive Troubleshooter tool. After I ran this, followed the instructions and waited about 5-10 minutes, it worked properly again.

I hope this helps you to resolve similar issues.

Notes:

  • In processes the process shows as OneDrive Sync Engine Host , but the process is still SkyDrive.exe
  • In the application log, an event 1000 was generated with the following information:Faulting application name: skydrive.exe, version: 6.3.9600.17055, time stamp: 0x53291a62
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0x00000000
    Fault offset: 0x0000000000000000
    Faulting process id: 0x1050
    Faulting application start time: 0x01cf78c9a55d1428
    Faulting application path: C:\Windows\System32\skydrive.exe
    Faulting module path: unknown
    Report Id: 43b283ee-e4bd-11e3-826f-bc5ff4e873f4
    Faulting package full name:
    Faulting package-relative application ID:

 

 
 

Tags: , , , , , ,

Microsoft – Troubleshooting Key Management Service (KMS) activation

Today I helped a colleague troubleshoot a couple of systems were unable to activate using Key Management Service (KMS). Basically for this situation it boiled down to this:

Determine for the KMS service

  1. Which server is hosting the KMS service.If an SRV record has been added for KMS DNS auto discovery, run from CMD: nslookup -type=srv _vlmcs._tcp
  2. If the server hosting the KMS is functioning correctly:
  • Check if the server is up and running.
  • Check if the “Software Protection” service (sppsvc) is running.
  • Verify if the KMS service is listening on port 1688: telnet localhost 1688
  • Verify the KMS status. Run from CMD: slmgr.vbs /dli
  • Verify if a KMS key is installed and activated.
  • Verify if the minimum threshold for activation is being met.
  • Verify if other clients are able to activate using KMS. Even though the output of “slmgr.vbs /dli” gives you an indication, you can use the “Volume Activation Management Tool” (VAMT) for more insight and functionality.
  • Verify that a VLK key is being used.

For clients that are not able to activate

  • Verify if the correct KMS server can be resolved correctly:
    nslookup -type=srv _vlmcs._tcp
  • Verify if the KMS can be contacted:
    telnet <KMS FQDN or IP> 1688

    •  If this is not the case, perform a traceroute to determine potential causes. Reasons could include:
      • No default gateway configured on the client to reach the KMS.
      • No route configured on the client to reach the KMS.
      • Firewall on the client is blocking the traffic.
      • Firewall on the server is blocking the traffic.
      • If it is a VM, the virtual network might be misconfigured.
      • Routing on the network is not correct.
      • Firewall on the network is blocking traffic.
  • Clear any previous (mis)configuration: slmgr.vbs /ckms
  • Attempt activation: slmgr.vbs /ckms

NOTE: If you have lots of systems where you need to clear configuration and then attempt activation, you can also perform slmgr.vbs on remote computers using:
slmgr.vbs TargetComputerName [username] [password] /parameter [options]

Additional information

If you haven’t been able to resolve the issue, you might want to take a look here:

 

Tags: , , , , , , , , , , , , , , , , , , ,

PowerShell – Cleaning folders containing temporary files

At the companies I’ve worked for , disk space on the system disk ran out on a regular basis for some systems and caused a lot of monitor calls. These kind of boring repetitive tasks are always the ones you want to automate.

So when I came across the great blog post “Weekend Scripter: Use PowerShell to Clean Out Temp Folders” on the “Hey, Scripting Guy! Blog”, I wanted to post it on my own blog as well. The blog post also describes the process of creating the script very well, which is very convenient for those who are relatively new to PowerShell to scripting and want to learn how to do it better.

If you want to take it even a step further, you could automate it even more. By example by automatically running the clean script when an event is generated that the disk is running out of space. You can configure this using by example:

Or you could use PowerShell remoting to do it on many systems at the same time. This could come in handy by example when after WSUS patching the content in “C:\Windows\SoftwareDistribution\Download” is not deleted automatically.

 

Tags: , , , , , , , , , , , , ,

PowerShell – Manage printers

At work a colleague of mine was looking to modify printer permissions on a Server 2008 R2 terminal server using PowerShell. And to be honest, it was more difficult to do than I had expected.

So naturally, I started looking if someone had already created a script for this same purpose and eventually I found this great script created by Vadims Podans:
PrinterUtils.ps1 / Functions for advanced printer management

By leveraging this script, permissions were easily modified by adding the following lines:
$name = “Printername”
Get-Printer “localhost” $name | Add-PrinterPermission “corp\Domain Users” 0 “print”
Get-Printer “localhost” $name | Remove-PrinterPermission “everyone”
Get-Printer “localhost” $name

My modified script can be found here: http://bjornhouben-web.sharepoint.com/Lists/Scripts/DispForm.aspx?ID=22

Be sure to check Vadims Podans website for other great resources: http://en-us.sysadmins.lv/

 

Tags: , , ,

Windows 8.1 – Use windows store apps when behind an authenticated proxy

With Windows 8 one of the major issues especially when used in an enterprise was that the Windows Store and Windows Store apps wouldn’t work when you were behind an authenticated proxy unless you specifically allowed URLs to pass through the proxy unauthenticated.

I even created a blog post about this before and since it gets many views I believe it is an issue a lot of people are having.

As such I’m happy to inform you that with Windows 8.1 Preview you can configure your authenticated proxy to be used for Windows Store apps. Press Windows key + W and type “Change proxy settings”.

Win8.1_proxy

The settings from Internet Explorer are also automatically used, so existing configurations set using a GPO work as well.

 
7 Comments

Posted by on July 4, 2013 in ICT, Microsoft, Windows, Windows 8

 

Tags: , , , , , , , , , , , , , , , , , , , ,

Windows 8 – My view on the re-added start button in Win 8.1 and 2012 R2

As you may have read already, with Windows 8.1 Preview (and Windows Server 2012 R2 Preview) the start button has been re-added:

win8.1_start

Basically by left clicking you will switch between the modern/metro interface and the desktop (similar to pressing the windows key). By right clicking you will get the menu shown in the image above (similar to pressing windows key + X). For more information and tweaks take a look at:
http://www.thewindowsclub.com/shutdown-restart-sleep-hibernate-windows-8-1

Another often requested feature was to be able to bypass the metro/modern interface start screen. This boot to desktop is now also possible: http://www.thewindowsclub.com/boot-to-desktop-windows-8-1

A lot of people have been complaining and discussing the absence of the start button and the start menu and that the shutdown/restart options where too hard to access.

Personally I simply press CTRL+ ALT + DELETE, click the power icon and choose the action to perform. Or I press the physical power button on my laptop, pc or tablet.

I also don’t really need the start button/start menu. I added my most used apps on the modern/metro start screen and/or added them to my desktop and taskbar. Other apps  I simply search for by starting to type on the modern/metro start screen.

The lack of a start button does irritate a lot when you’re accessing Windows 8/2012 through RDP or any other remote method. Trying to access the hot corners to switch between the metro/modern start screen and the desktop can sometimes be hard, especially on laggy connections (ILO/RSA/DRAC). The same is true for accessing the charms bar (which you use to restart/shutdown).

The re-added start button does solve the switching between the metro/metro start screen and the desktop I described above,but the charms bar is still an issue. You can use the start button for restart/shutdown though.

What I hate most though, is that the start button is simply a button. It doesn’t include the start menu people want to access their programs and settings in a way to are accustomed to. To make it even worse the re-added official start button makes it harder to use some 3rd party start button/menu replacements that were working well (but this will probably be sorted out soon since 8.1 has only been released a couple of days). Classic shell still works well though: http://www.classicshell.net/

Even though I think Microsoft has been doing a lot of great things lately, the way they’re handling the start button/start menu isn’t one of them in my opinion. People want the start button and the start menu they’ve grown used to and that has been available for many Windows versions. This start button without the start menu will probably lead to more disappointed users because they expect the start menu to be included with the start button. I think this will also hurt adoption in the enterprise. All in all I think it’s a missed oportunity

The preview version with this start button is not the final version. While I don’t expect Microsoft to re-add the start menu before the finl release, I sure hope they prove me wrong. If you want to have the start menu back, be sure to voice your opinion. This did work for the Xbox one, where Microsoft changed course with regards to Digital Rights Management (DRM).

Even though the start button isn’t what many people have hoped for, there are a lot of other great improvements to Windows 8.1 and Server 2012 R2 though. I’ll try to post more about it in the next couple of weeks.

 
1 Comment

Posted by on July 1, 2013 in ICT, Microsoft, Windows, Windows 2012, Windows 8

 

Tags: , , , , , , , , , , ,

Windows 8 – performance issues possibly caused by KB2821895 or SuperFetch

Last week I visited my dad. He is not very familiar with computers and mainly uses it for mail, internet and viewing and editing photos. Despite my expectations, it really surprised me how fast he got used to Windows 8 (with a custom start menu).

This time though, he had some questions with regards to mail. While I was showing him how to do it, I noticed that his pc was relatively slow. Even though he doesn’t have a super fast laptop, it wasn’t this slow before.

When I took a closer look I saw that the issue was caused by high disk usage / load (I/O). At first it seemed like this was caused by TiWorker.exe which is part of Windows Modules Installer Worker and is used for installing updates. Since there were updates pending I decided to install these first just in case a fix might have been released. While these were downloading and installing I googled and found that more people were having similar sounding issues but with also high cpu usage/load. One of the the advises was to install KB2771431. This update was already installed, so it didn’t solve my issues either. I then turned off other programs that were disk I/O intensive like the backup tool Crashplan that was performing a scan and the virus scanner. Unfortunately the issue remained.

I gave the system some time just in case this was some sort of maintenance job. As the issue remainedI tried checking the system files with SFC /scannow and some files were fixed, but the disk usage was still very high.

Eventually the workaround was stopping and disabling the SuperFetch service. This is very strange since SuperFetch should make Windows faster, not slower. Since it was already late I decided not to look into it  any more at that time.

I see however that there are also issues being reported with KB2821895 that was released this month and replaces the previously mentioned KB2771431. In the known issues for KB2821895 there is mention of errors stating corruption and that you should use SFC /scannow and use the DISM tools to check and repair Windows. These symptoms do not completely match my issue, but if this doesn’t work there are also options to tune SuperFetch and Prefetch instead of turning it off completely, which is worth a shot.

So if you haven’t installed KB2771431 yet, you might want to consider postponing deployment or at least testing it very thoroughly.

To be continued …..

 
Leave a comment

Posted by on June 26, 2013 in ICT, Microsoft, Windows, Windows 8

 

Tags: , , , , , , , , , , , , ,

 
Follow

Get every new post delivered to your Inbox.

Join 866 other followers

%d bloggers like this: