Use the updated PsDscResources instead of built-in DSC resources in Windows Server 2016

Powershell Logo

Powershell Logo

Microsoft has issued a statement that in order to keep updating the built-in PSDesiredStateConfiguration Resources that ship in the box with Windows 10 or Windows Server 2016, you should now use the PSDscResources module (located in the PowerShell gallery)instead of the old PSDesiredStateConfiguration, which can be downloaded and installed with Find-Module PsDscResources| Install-Module PsDscResources. This module currently contains an updated Service DSC Resource, which is a very useful resource to use. The reason that I like to use the Service Dsc Resource is because sometimes services may stop on their own, and there is usually no easy way to tell if a service is still running, without opening the services console, querying via PowerShell, or checking in Server Manager.

Services like the Windows Firewall, or Component Services (ComSysApp) services will cause network problems they stop running. File Sharing between computers on the same network may fail if either of these services is stopped. The Windows Firewall (mpssvc)Service actually causes the most damage when it is not running, and sometimes it gets corrupted because of conflicting Group Policies or it may just stop. Although DSC is not going to be able to solve all problems that may cause the Windows firewall service to stop, it will be able to start the service and make sure it is running, barring any corruption or permission errors.

I often will set some of my machines up with DSC and the service resource to ensure that the ComSysApp is running, if I need to make sure that these computers are found on the network. The ComSysApp service is needed for some remote administration as well. Many times when I have been troubleshooting why a computer disappeared from the network or from remote administration, it has involved this service being stopped for some reason.


Example DSC Configuration using the new Service resource:

Configuration Server1service
{
Import-DscResource -ModuleName PsDscResources -ModuleVersion 2.1.0.0
{
Node Server1
{
Service ComPLUS
{
Name = "ComSysApp"
BuiltInAccount = "LocalSystem"
DisplayName = "COM+ System Application"
StartupType = "Automatic"
State = "Running"
}
Service RemoteReg
{
Name = "RemoteRegistry"
BuiltInAccount = "LocalService"
DisplayName = "Remote Registry"
StartupType = "Automatic"
State = "Running"
}
}
}
}

Server1Service -OutputPath C:\Dsc -Verbose

Start-DscConfiguration -ComputerName Server1 -Path C:\Dsc\ -wait -verbose

Always install SQL Server Logs on separate hard drive, Not on C drive.

When installing Configuration Manager, the most important tip I could give would be to make sure you install the SQL Server logs on a different drive than the database files. You really should install the SQL Server database Data files on D drive, the Logs on E drive. and then put SQL Backups on F drive. If this is not done, there may be several problems that will occur in Configuration Manager. For example, a common error is Management Point is not responding to HTTP requests. This error will manifest itself all the time if your SQL Server data and Logs are on the same drive. Another problem that I have seen on servers with SQL Server Data files and Logs on same drive is the Application Catalog will not function correctly. If you install SQL Server correctly, and do not install database files, SQL logs, or SQL backup on the C (system Drive), then there is a good chance that Configuration Manager will run successfully in the green for months. This tip is from personal experiences.

Got my Degree!

Finally finished up at college yesterday, which is a relief.  Now I will have time to work on other projects and write more on this blog.  I decided that I am going to spend a lot of time on System Center 2016 and Windows Server 2016, as I am in the process of architecting a bunch of cloud networks for clients.  The degree i received was the Bachelors of Science in Information Technology with specialization in Network Administration. For anyone else who is considering going to Western Governors University, I will tell you to do it, but it is not going to be easy!  Thanks for your support.  I will be back with news and tips today or tomorrow!Install-SCCMPreRequisites.ps1-Script

Real journalists should REPORT, not attempt to persuade…

What just happened in America should be enough to wake up any educated journalist to the errors of their ways. However, it does not look like they have gotten the picture yet. I have always believed that News should be just that, News, but articles from news publications such as Washington Post, New York Times, MSNBC, CNN, and especially Huffington Post continue to insert unnecessary, slanted, loaded, commentary into practically every article that you read online today. These “journalists” still feel that they must persuade their readers, and they must think the majority of their readers are stupid, anyone who has a shred of ethics inside them knows that this is just plain wrong. For example, one can just look at today’s headlines from each of these news sources and see through their agendas.

This not only is obvious in reporting about politics, but it comes across in all forms of media today. When I read these articles that mention Donald Trump, and the writer feels the need to insert adjectives like Xenophobic, or racist, or they feel the need to talk about some stupid thing he did years ago, it makes me sad. It has gotten to the point where you can tell easily the beliefs of the journalist that is writing these articles, as well as what publication they are writing for, who their boss is, and the political views of the elites paying their salary. It is sickening, and one could only hope that this failure that they are experiencing right now will make them stop and think before continuing on this path of slanted attempted persuasive reporting. Facts do not need persuasion, if you would just simply report on facts, instead of dwelling on opinions, you may have a chance of surviving in the near future of New Media. Just because you feel a certain way, does not mean that your readers should be pushed to feel that way as well.

Most importantly, stop talking about all the negative things that Donald Trump may have said or done in the past, when you are trying to write about what he has done or said today. Any time I read something new that inserts these old memes and talking points that the mainstream liberal media has been trying to unsuccessfully stuff down their readers’ throats for the past 18 months, I stop reading and immediately tell myself that I will not give that writer another chance. Enough is enough, the people have spoken, if you continue to move in the disgusting direction that the mainstream elite liberal media has been going, you will all be extinct, thankfully.

Liberal media has created a vacuum for all forms of alternative media and they are losing the war. Anyone with half a brain that sees this and wants to think for themselves is not going to subscribe to your liberal propaganda anymore. People want the truth, and it is too easy to get it now on YouTube, Facebook, and from the alternative media outlets that have helped elect Donald Trump. And I am Not a Republican, I believe in Democratic values, was extremely hopeful of someone like Bernie Sanders, but the Democratic National Committee chose to continue playing dirty, to push their people away from Bernie towards Hillary, and then they cheated in the debates, and never talked about their policies or plans, they just kept bashing Donald Trump.

Look how well that worked out for them. Nobody wants to have Russia as an enemy, if Hillary won, this cold relationship with Russia would have continued. Our country has been moving in a dangerous direction lately, and thank god, now Benjamin Netanyahu and Putin are overjoyed that Trump won, because they both have stated that they now hope we can repair our relationships now that Trump has been chosen.

Windows Server 2016 – upgrade from tp5 will preserve your files (not supported)

Docker requires windows 10 will not install on windows server 2016

Docker requires windows 10 will not install on windows server 2016

So I am now running Windows Server 2016 on a bunch of physical and virtual servers and have learned that You can upgrade in place from technical preview 5, you will not lose your files. It is not a supported upgrade path, but it works even though the installer says that you will not keep your files, I have installed it over the top of a few virtual machines and no files were deleted in the upgrade. I had a few problems early on, but they were fixed in updates that were installed in the first few days that Windows Server 2016 was available. They had to do with wireless network adapters and some other drivers, but now all of my drivers are installed correctly. I installed the Full server desktop experience version and have been trying to get docker to work, because they said that Docker was integrated with Windows Server 2016, however Docker for Windows only works on Windows 10, it will not install on Windows Server 2016. I remember hearing something about having to run Server Core a few months ago, but I’m not sure if that’s the reason why I can’t get Docker to install on the full server experience. I will be figuring this out as soon as I get some more time. There is one thing that bothers me though, and it is that all of the Windows 10 services are installed on here but Microsoft Edge and the Windows Store is not available, so why have all the extra services that only are necessary for windows store applications. The Downloaded Maps service is unnecessary because there is no Maps app. I would recommend that they either get rid of the extra services that are not needed without having access to Edge and Windows Store apps, or allow the Windows Store apps to be installed since the infrastructure is already in the Server, instead of having all this extra cruft there. I will be installing Server core next, but I hate not being able to get at certain settings that are not available in the server core version.

Windows Server 2016 Finally Available. Here’s the links to evaluate it:

Windows Server 2016 Evaluate Windows Server 2016” Evaluation Version of Windows Server 2016 and Nano Server VHD

After downloading Windows Server 2016, which is build number 14393.0.160715.1616.RS1-Release (Redstone 1 Release), you can download an 18 page PDF guide called “The Ultimate Guide to Windows Server 2016”

Microsoft Ignite is underway in Atlanta Georgia, and you can watch the keynotes and sessions all week at the https://ignite.microsoft.com/ website which is sure to have some interesting sessions all week long from September 26-September 30.

Bittorrent Sync changes name to Resilio Sync. What’s the deal?

It looks like Bittorrent Sync has been deprecated (basically the name) and its developers have left the Bittorrent name to form a company named Resilio. Well, at least that’s what Bittorrent Sync is saying. They claim that the application Bit Torrent Sync is no longer being maintained or updated. The new application is now called Resilio Sync, and when you update it you see the following: resiliosync

I’ve been using Bittorrent Sync for a few years to basically keep a backup cloned copy of important folders on two of my laptops. It works great

Windows Server 2016 TP 5 leaks out as a torrent. heres the product keys

It is confusing why this technical preview has not been released to the public yet, since it is version 14291, and the windows 10 technical preview build is already 14316, but I’m guessing that maybe they are going to release technical preview 5 as a later build, hopefully one that is more similar to the latest windows 10 preview build. It is very strange that it wasn’t released to the public, because at build, there were some sessions that mentioned Server technical preview 5 and said it was going to be released soon, but it’s been almost a month and still nothing. However, since the torrents are available to download I tried it out, and if you install it over technical preview 4, it’s going to ask for a product key, (if you clean install, it lets you skip this by selecting I do not have a product key). The product keys accepted are the same as the technical preview 4 release, and I will list them below:
Server 2016 Datacenter TP5 Key: 2KNJJ-33Y9H-2GXGX-KMQWH-G6H67
Server 2016 Essentials TP5 Key: FVPY2-6KNF7-8CKF8-YHJDY-BBDJ8