Fix Windows 10 Lock Screen Not Changing

WindowsI have my PCs all set to share settings via OneDrive; I like this as it means I have a unifed theme everywhere, but when a problem occurs, it occurs everywhere.

his particular issue, is that I use Windows Spotlight for images on the lock screen and it became stuck on one image a while ago. After recently installing a new PC and having them same problem there as on other machines, I finally decided to fix the issue.

This was a fairly straightforward fix for me, but others report various fixes not working.

I found the fix which worked for me on Driver Easy and am reposting here, so I can easily find it again in future if necessary.

To fix the issue by re-registering Windows Spotlight, perform the following steps:

Use Run As Administrator to launch Command Prompt, click Yes when prompted by UAC (User Account Control) and type the following command:

dism /online /cleanup-image /restorehealth

Press Enter and wait for the command to run; this might take a few minutes to complete:

Command Prompt: dism /online /cleanup-image /restorehealthdism /online /cleanup-image /restorehealth

In the Command Prompt window type the following:

sfc /scannow

Hit enter and wait for the command to complete:

Command Prompt: sfc /scannowsfc /scannow

Either type powershell or launch a PowerShell window and type the following:

Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like “*SystemApps*”} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Hit enter and wait for the PowerShell command to finish (this may take a while) and generate several errors which can be ignored:

PowerShellGet-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like “*SystemApps*”} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

I’ve found I need to wait a few minutes for the fix to take effect, but I don;t need to do anything else before the Windows Spotlight image starts to change.

Hands On With MDGP 2018 RTM: Get Available GP PowerShell Commands

Microsoft Dynamics GPMicrosoft Dynamics GP 2018 RTM has now been released. In this series of posts, I will be stepping through the installation of Microsoft Dynamics GP and additional products and then will move on to taking a look at the new functionality which has been introduced.

The series index for this series of posts is here and will automatically update as posts go live.

With GP PowerShell now installed, it is available for us to use.

There are a number of commands available which can be retrieved using the Get-Command -module GP2018 command:

GP PowerShell

Back when Microsoft Dynamics GP 2016 RTM was released, I posted about using GP PowerShell to deploy a company; this is probably the main use I make of GP PowerShell as, especially when implementing a system with a number of companies, it is easier to deploy the commands via a PowerShell script than clicking through the application manually for each one.

Click to show/hide the Hands On With MDGP 2018 RTM Series Index

Hands On With MDGP 2018 RTM: Install GP PowerShell

Microsoft Dynamics GPMicrosoft Dynamics GP 2018 RTM has now been released. In this series of posts, I will be stepping through the installation of Microsoft Dynamics GP and additional products and then will move on to taking a look at the new functionality which has been introduced.

The series index for this series of posts is here and will automatically update as posts go live.

The next of the additional products, I am going to install, is the GP PowerShell; this allows you to use PowerShell cmdlets to, for example, deploy companies additional tenants if using a multi-tentnqat implementation.

There is a problem with the GP PowerShell on the installation media. Instead of using this, you need to download a new installer for it, which is available from CustomerSource (login required.

Once you have downloaded the file, and unzipped it, launch the Microsoft_DynamicsGP18_PowerShell.exe:

Windows Explorer

Continue reading “Hands On With MDGP 2018 RTM: Install GP PowerShell”

Hands On With Microsoft Dynamics GP 2016 R2: Use GP PowerShell To Create a Company

Microsoft Dynamics GPWith the release of Microsoft Dynamics GP 2016 R2 it’s time for a series of “hands on” posts where I go through the installation of all of it’s components; the index for this series can be found here.

In the last post, I covered the installation of GP PowerShell; in this I’m going to refer back to a Hands On With Microsoft Dynamics GP 2016 R1 post I did back in May 2016 on how to use GP PowerShell to create a company.

Everything in that post is still relevant and unchanged in Dynamics GP 2016 R2.

Click to show/hide the Hands On With Microsoft Dynamics GP 2016 R2 Series Index

Hands On With Microsoft Dynamics GP 2015 R2: Create Company Using GP PowerShell

Microsoft Dynamics GPMicrosoft Dynamics GP 2015 R2 was released at the end of May. As I mentioned at the time, I was away from home for work and rather busy otherwise so this series of posts has been somewhat delayed.

However, I am now getting my hands on GP 2015 R2 and thought I would do my usual set of posts on the installation of the various components and also the usage of the new functionality. This is going to be quite a long series of posts, so keep checking back regularly.

Microsoft Dynamics GP 2015 R2 saw the introduction of some additional PowerShell cmdlets. I thought it might be useful to select one of the new cmdlets and give a run through of using it.

One of the tasks I often do a lot of is creating new companies so I have selected the Add-CompanyDatabase cmdlet.

To run any of the cmdlets, launch GP PowerShell from the Start screen.

The easiest way of finding out the parameters to use is to enter the following command:

Get-Help Add-CompanyDatabase

Get-Help Add-CompanyDatabase

This will display the details of the cmdlet including the Synopsis, Syntax, Description, Related Links and Remarks.

Continue reading “Hands On With Microsoft Dynamics GP 2015 R2: Create Company Using GP PowerShell”

Hands On With Microsoft Dynamics GP 2015 R2: Install GP PowerShell

Microsoft Dynamics GPMicrosoft Dynamics GP 2015 R2 was released at the end of May. As I mentioned at the time, I was away from home for work and rather busy otherwise so this series of posts has been somewhat delayed.

However, I am now getting my hands on GP 2015 R2 and thought I would do my usual set of posts on the installation of the various components and also the usage of the new functionality. This is going to be quite a long series of posts, so keep checking back regularly.

Microsoft Dynamics GP 2015 RTM saw the introduction of GP PowerShell which allows PowerShell to be used to automate certain tasks. Microsoft Dynamics GP 2015 R2 saw the introduction of additional GP PowerShell cmdlets.

To install GP PowerShell, open the setup utility and, under Additional Products, click GP PowerShell:

Microsoft Dynamics GP 2015 setup utility

Continue reading “Hands On With Microsoft Dynamics GP 2015 R2: Install GP PowerShell”

MDGP 2015 R2 Feature of the Day: Scriptable Provisioning & Management

Microsoft Dynamics GPMicrosoft Dynamics GP 2015 R2 will soon be released (due late May/early June and, as with previous releases, Microsoft have started a Feature of the Day series on the Inside Microsoft Dynamics GP Team blog. As I have done with the last three series, I’ll be reposting these blog posts here with a little commentary.

The third Feature of the Day is Scriptable Provisioning & Management.

A critical element in successfully delivering Microsoft Dynamics GP as a cloud offering is the ability to centralize and automate the provisioning and management of the application.

Automation speeds up delivery, minimizes human involvement which reduces costs and the possibility of human errors, and can provide self-service functionality to the end user.

This feature addS APIs and PowerShell cmdlets that will enable automated/scriptable GP provisioning and management.

The screen shot shows a list of the PowerShell cmdlets available:


Microsoft Dynamics GP 2015 PowerShell

Microsoft Dynamics GP 2013 R2 saw the introduction of some PowerShell cmdlets, to which this new set adds. At Perfect Image we have been doing an increasing amount of work with the web client and have also had a number of projects recently whereby new companies are being created on existing systems.

The cmdlets have the potential to speed up both the deployment of the web client and new companies.

It has been on my To Do list for a while to learn PowerShell, but I think I may have to move it up the list fairly quickly.

Click to show/hide the MDGP 2015 R2 Feature of the Day Series Index

Hands On With Microsoft Dynamics GP 2015 RTM: Installing GP PowerShell

Microsoft Dynamics GPNow that Microsoft Dynamics GP 2015 RTM is available, I thought I could follow my usual pattern of posting a series of posts on how to install and configure both Dynamics GP, but also the additional products which ship with it. You can find the series index for these posts here.

Microsoft Dynamics GP 2015 has seen the introduction of some PowerShell cmdlets. This is something new in the Dynamics GP arena which I am going to need to investigate. The first step in this, is to install GP PowerShell. This is done by starting the setup.exe on the GP 2015 installation media and, under Additional Products, select GP PowerShell:

Microsoft Dynamics GP 2015

Continue reading “Hands On With Microsoft Dynamics GP 2015 RTM: Installing GP PowerShell”