Hands On With MDGP 2018 RTM: Installing the .NET Prerequisite

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.

Before Microsoft Dynamics GP 2018 RTM, or any of the related additional products, can be installed there is one prerequisite which cannot be handled by the installer process. This is the .NET Framework 3.5 feature which is installed using the Add Roles and Features Wizard available via Server Manager on Windows Server or using Turn Windows features on or off accessible via Program and Features on Windows.

If the PC or server you’re planning to install Microsoft Dynamics GP 2018 RTM onto has an Internet connection, then the .NET can be installed simply by using the wizard. However, if, for whatever reason, you don’t have an Internet connection available, the install process isn’t quite that smooth.

On both server and PC you can do an offline install and I have blogged about this previously:

  1. Offline install on Windows.
  2. Offline install on Windows Server.

Both of the above posts were for previous versions of Windows, but both are still relevant for the later versions.

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

Windows Suggestion: Allow choice of how many/which monitors RDP uses

Windows 10I occasionally work from home (I don’t really like doing so as I prefer to keep work and home separate). My problem is that at home I have a four monitor setup (2 x 27″ @ 2560×1440, 1 x 23″ @ 1920×1080 and 1 x 19″ @ 1280×1024) and when I am connecting to work I want to use two of the monitors for the remote system I am connecting to and two for local programs or files.

However, the Windows remote Desktop Connection only allows you to use a single monitor or to mark a checkbox to use all monitors:

Remote Desktop Connection

I added a suggestion via the Windows Feedback Hub asking for this to be amended to allow a choice over the number of monitors to use. I’d appreciate it if people would up vote so we can get RDP enhanced/

Configuring Permissions to RDP to Server

Microsoft Dynamics GPThis is only something I need to do occasionally so am posting this as a reminder.

Most of the demo VMs I create are on my local Client Hyper-V, but occasionally I make one available to a prospect or client and need to give them a user other than the administrator account.

Creating the user account itself is easy, but the bit I usually fail to remember how to do, is to give the user the rights to sign in remotely.

When this right has not been granted, an error message like the below will be displayed:

To sign in remotely, you need the right to sign in through Remote Desktop Services. By default, members of the Administrators group have this right. If the group you

To sign in remotely, you need the right to sign in through Remote Desktop Services. By default, members of the Administrators group have this right. If the group you're in doesn't have this right, or if the right has been removed from the Administrators group, you need to be granted this right manually.

Continue reading “Configuring Permissions to RDP to Server”

Manually Activating Windows 10 Enterprise

Windows 10One of the perks of being a Microsoft Most Valuable Professional (MVP) is the fRee MSDN VisualStudio account. This gives access to pretty much all of Microsoft’s software for development and testing purposes.

The main pieces of software I use is Windows and SQL Server. Usually when writing blog posts about Microsoft Dynamics GP, I use Windows 2012 or 2012 R2, but occasionally I create a Windows client machine with Windows 10.

Usually these machines don’t last long enough to need registering, but I have lately been working on one or two projects which required a somewhat longer life than the free registration period. For Windows Server, this isn’t a problem as the server version of Windows registers online without problems. However, registering Windows 10 Enterprise is not so simple, as the Enterprise editions of Windows requires a Key Management Server to successfully register.

I have never configured one of these as my installations for development and testing are usually fleeting. Instead, there are a couple of commands which can be run which will allow Windows 10 Enterprise to be registered online.

The first command is where you install the KMS key:

slmgr.vbs /ipk {Windows 10 Enterprise Key}

slmgr.vbs /ipk {Windows 10 Enterprise Key}

Continue reading “Manually Activating Windows 10 Enterprise”

Windows 10 Lock Screen Doesn’t Show Background

Microsoft Dynamics GPI had my work laptop rebuilt recently after having numerous faulty components replaced. After the rebuild, the Windows lock screen remains black and doesn’t show the background image. I changed it to a static image rather than the Windows spotlight. Unfortunately, this didn’t resolve the issue.

The answer for fixing this is actually very simple, but not obvious. To correct the problem, open the System properties window by opening Windows Explorer and right clicking on This Computer and then clicking on Properties (or by pressing Win + Pause|Break).

Once the System window is open, click on Advanced system settings:

System

Continue reading “Windows 10 Lock Screen Doesn’t Show Background”

Changing Cortana’s Selected Method Of Travel

Microsoft Dynamics GPI’ve only recently started using Cortana in any meaningful way, but it has been doing one thing that is really annoying. It has been giving me travel tips based on travelling around by Transit instead of by car. The main one it reminds me of is getting home from the office when I am at the PI office and less often getting to that office from home (I spend a lot of time out on site with clients).

What’s the problem you’re wondering. The problem is that because it is using Transit, it tells me I have to leave work at 1320; or even worse that I need to leave home at 1400 on Saturday to get to the offic for 0700 Monday.

These messages have been popping up on my Windows Phone for a while and I have scoured the settings repeatedly looking for a way to fix it by changing the method of travel to car without success and had started thinking about switching off Coretana entirely.

Then the other day I had to get my laptop rebuilt (new OS installed after replacment of parts leading to jokes about the Laptop of Theseus) and activated Cortana. I found something called Notebook with lots of settings broken into areas.

To find Notebook, hit the Windows key and type Cortana. The third icon down on the side of the Start menu is Notebook:

Cortana Notebook

Continue reading “Changing Cortana’s Selected Method Of Travel”

List All Installed Programs

Microsoft Dynamics GPThis post is a diversion from the usual Microsoft Dynamics GP focused ones, but is related to Microsoft. The admin team at work recently emailed everyone asking for a list of all the applications installed on laptops and desktop machines for a licence audit. They asked for a screen shot of the Add/Remove Programs window, but one of the developers replied with an email containing a set of commands which would list all programs. Which is much easier when you have a lot of software installed which would require multiple screenshots.

To run the script, open a command prompt in administrator mode and type:

cd c:\windows\system32\wbem (hit enter)
wmic (hit enter)
/output:C:\InstallList.txt product get name,version

The first highlighted section above contains the output location and the second shows the fields to return.

You can use the following to get a list of available fields:

cd c:\windows\system32\wbem (hit enter)
wmic product get /?(hit enter)

Error Starting Virtual Machine On Client Hyper-V

Hyper-VI make a lot of use of virtual machines for both testing and demonstrating Microsoft Dynamics GP. As a company, when I joined, Perfect Image tended to use VMware (I’ll reserve comment, which I realise tells it’s own story), but more recently have started making more use of Microsoft Hyper-V, which is what I also use at home for testing and writing my blog and books.

After installing Hyper-V on my work laptop I created a virtual machine and clicked start. Unfortunately, I received the below error messages:

Hyper-V Manager

I did some digging around and found that although Hyper-V was installed, the hypervisor wasn’t running. Fortunately, the laptop I have does support Hyper-V and I only had to do one thing which was to enable the hypervisor by opening an elevated command prompt and type the following command:

bcdedit /set hypervisorlaunchtype auto

Once I had run the command I was able to start the virtual machine without further problem; at least with Hyper-V.

What I found was that with the hypervisor running, I wasn’t able to start a VMware virtual machine. So a second command can be used to disable the hypervisor for those times when I need to use a VMware virtual machine:

bcdedit /set hypervisorlaunchtype off

Hopefully, I’ll be able to complete the transition away from VMWare very soon and stop toggling from one to the other.

Error 778: It Was Not Possible To Verify The Identity Of The Server

Microsoft Dynamics GPTaking a slight diversion from my usual subject matter with this post. I was trying to connect to a clients system via VPN a short while ago when I received error 778:

Error 778: It was not possible to verify the identity of the server

Error 778: It was not possible to verify the identity of the server

I did a little digging and found that this error actually relates to the username and password being incorrect. I checked our records and found that the password had been reset since the last time I logged on; after entering the new details I was able to log in successfully.

It would be nice if the error message had been a little more descriptive of the actual problem, but at least it was a simple solution.

Remote Desktop Connection – An Authentication Error Has Occurred

this is an off topic post which I’m posting mainly as a memory prompt for myself. I was working with a set of virtual machines the other day on my test server and received the following error when I tried logging in:

Remote Desktop Connection - An authentication error has occurred. The Local Security Authority cannot be contacted. Remote computer: azc-gp2013-wc-8Remote Desktop Connection
An authentication error has occurred.
The Local Security Authority cannot be contacted
Remote computer: azc-gp2013-wc-8

I logged onto the Hyper-V server and launched the VM from Hyper-V Manager and was able to log in without issue. I did some fiddling around and realised that my Domain Controller wasn’t accepting connection requests.

One quick reboot later and I was able to log into the VM without error.