Disable IE Enhanced Security Configuration

Windows ServerI do a lot of work in virtual machines and this work often involves using the web browser; this is usually just for web client, SSRS or other similar local pages, but even then Internet Explorer Enhanced Security Configuration will get in the way and need to be disabled.

I never remember where the setting for this is, so I am posting here to make it easy to find in future. To change the setting, open Server Manager; in the left pane, click Local Server:

Server Manager > Dashboard

In the main section of the page, click the word ON next to IE Enhanced Security Configuration:

Continue reading “Disable IE Enhanced Security Configuration”

Network Shell Snippets: Delete Bound SSL Certificate

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will delete the bound SSL certificate:

netsh http delete sslcert ipport=0.0.0.0:48666

Change the highlighted section to the port number to which the SSL certificate is bound.

Network Shell Snippets: Delete URL Reservation

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will delete the specified URL reservations:

netsh http delete urlacl URL={reserved url}

Replace the highlighted section, including the curly brackets, with the URL reservation to be removed.

Network Shell Snippets: View URL Reservations

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will list all URL reservations:

netsh http show urlacl

PowerShell to Promote Domain Controller

Windows ServerWhen testing Microsoft Dynamics GP, I often need a domain controller within my set of virtual machines. I’ve been promoting a server to be a domain controller manually, but it recently occurred to me that I could probably do the same task using PowerShell.

After doing some research, I came up with four commands which will rename and restart the server, install the Active Directory feature and add a forest.

To rename a server, run the following command, replacing the highligted section with the new server name:

Rename-computer -newname {server name}

Continue reading “PowerShell to Promote Domain Controller”

How To Install Windows 10

WindowsThe installation process of Windows has changed a lot over the years; when I started doing installs it was from a 3½ inch floppy disk, but these days it is from a bootable USB drive.

I have previously posted about how to install Windows 8 and even the Windows 10 Technical Preview, but the current Windows 10 install is much different from both.

In this post, I am going to step through the installation of Windows 10 (1607 released on 13/02/2019). Once you have the media available to install, most likely using the US Tool I linked to above), ensure your computer, or virtual machine, is set to boot from the required device.

In this example, I am actually creating a virtual machine so have mounted the ISO in Hyper-V. When the VM is started, hit a key to boot from the mounted ISO:

Press any key to boot from CD or DVD...

Continue reading “How To Install Windows 10”

How to Remove a Dependency from a Windows Service

Microsoft Dynamics 365 Business CentralIn the last post I showed how to use sc.exe to add a dependency to a Windows service; the first time I added the dependency to the eOne and eConnect services, I got the service name wrong. This was because the server I was working on had a SQL Server Named instance rather than the default name.

I had to do some searching around how to remove the incorrect dependency, as it was preventing the services from starting:

Services - Windows could not start the eConnect for Microsoft Dynamics GP 2018 Integration Service service on the Local Computer

Continue reading “How to Remove a Dependency from a Windows Service”

How to Add a Dependency to a Windows Service

Windows ServerWhile I was blogging about implementing SmartConnect, I mentioned that the service account should be either set as delayed start or have a dependency added.

The former option, making it delayed start, can be done through the Services control panel applet, you can’t add a dependency this way. Instead the dependency can be added via a command.

The service can be changed by using the sc.exe which is a component of Windows. To use the command we need to know the Service name of both the service we want to add the dependency to and also the service name of the service it will be dependent on.

In my example, I am adding a dependency to the eOne SmartConnect Service; to find the Service name, open Services from the Control Panel, rich-click the service and locate the Service name:

eOne SmartConnect Service Properties

Continue reading “How to Add a Dependency to a Windows Service”