MSiX the future of repackaging

When it comes to installing Windows applications, there are definitely some improvements that could be made from a user perspective. Those are exactly the kinds of improvements that MSiX aims to address. When a user installs an application, and then decides that they no longer want the application, it can be messy to get it removed, particularly if it is a third-party application that has its own rules. The same goes for automatic updates to the app. The first thing that MSiX tries to address is what is left behind by these applications once they are uninstalled. Often, users have [...]

Disabling LEDBaT on Your Windows 2016/2019 Server

I have seen a few threads across a couple of forums asking about how to disable LEDBaT correctly. Here are two options which are applicable across a couple of scenarios: Scenario#1: You are confident you do not have any other custom CongestionProvider or TransportFilter configurations on your server. Solution: 1 of the 2Pints, Phil Wilcock (follow: @2PintPhil), has provide what is by far the quickest and easiest solution with good 'ol netsh: [crayon-5c0e725f5329b674991403/] *When you run the reset command, it overwrites the following registry keys, both of which are used by TCP/IP: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters SYSTEM\CurrentControlSet\Services\DHCP\Parameters This has the same effect as removing and reinstalling [...]

By | 2018-11-19T06:23:22+00:00 November 18th, 2018|Configuration Manager (SCCM), Powershell, Scripting|1 Comment

MSiX for Windows 7

If you are considering using the Windows 7 handler for MSiX, this is your chance to get a head start. Keep in mind: The codebase is still in preview, hence not supported by Microsoft The current codebase is available on GitHub - Windows 7 handler for MSIX The preview currently includes a user interface that will process the extraction/unzipping of the MSiX Package. The Files will be unzipped to the VFS folder, add the application in the Add/Remove programs list and place a shortcut for the executable in the start menu. The xml uninstallation script will automatically be generated and [...]

Set computer name with Autopilot in Windows 1809

A quick blog post to show you that it is now possible to set computer name of an device going through the Out-of-Box experience enabled with Autopilot in Intune! This is new capabilities in Intune which is only available with Windows 10 RS5 1809. This post assume that you have an autopilot profile and that it is already assigned and in use. If not I recommend looking at the links below to get you started with Autopilot. For more information visits these websites: Overview of Windows Autopilot: https://docs.microsoft.com/en-us/windows/deployment/windows-autopilot/windows-10-autopilot Whats new in Autopilot as of 24/9-18: https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/New-Windows-Autopilot-capabilities-and-expanded-partner-support/ba-p/260430 Now over to the [...]

Deploying a SDNv2 lab on a single host using nested Hyper-V

With Windows Server 2016 we got SDNv2 that is the second generation of the Microsoft Software-defined Networking for Hyper-V, if you to know more about SDNv2 check the Microsoft Docs. To make it easier to validate and test SDNv2 Microsoft has created a scripts repo to get you started. The SDNexpress scripts can be used to deploy SDNv2 with or without VMM on four or more Hyper-V hosts in a single rack/cluster/scale unit. But what if you don't have four spare servers to test this out? Don't fear nested Hyper-V is here! With Windows Server 2016 we also got the [...]

By | 2018-08-29T16:32:42+00:00 August 29th, 2018|SDNv2, Virtualization, Windows Server|1 Comment

Send instant message from server back to client using SignalR

UPDATED 28-08-2018: Added guidance to send message to specific client and not just for all + more screenshots on how _signalContextHub was added. This is a small blogpost explaining how to use SignalR for ASP Core 2.1 to send a message (or a signal :) ) from the server (controller action) back to the client view. Alot of posts explains how to make various bidirectional chats using SignalR to send messages from client to the server (from view to controller and back again), but the other way around (from server to client) is useful if you want to show progress bars [...]

By | 2018-08-28T09:02:30+00:00 August 9th, 2018|Scripting & Development|3 Comments

To OOBE or not to OOBE

In my most recent customer project I was building a Windows 10 1803 reference image.For this build I came across a kind of strange issue.When deploying the reference image using SCCM, I got a weird error right at the end of the task sequence.If I clicked Try again Windows would do something for a few seconds and then the task sequence would finish like nothing went wrong.And the odd thing was that nothing seemed to be wrong, everything worked.But the error would pop up every single time and that was not something I could ignore.So I google’d and chased all [...]

Installing a Cloud Management Gateway and Cloud Distribution Point in ConfigMgr 1806

With each release of ConfigMgr Microsoft is making huge strides in internet-based client management. There are many new features for the CMG in 1806 however this blog is focused on the simplification of the installation. Many customers have been reluctant to use a CMG due to the complex and confusing certificate requirements. In versions prior to 1806 the cloud distribution points and cloud management gateways had to be deployed as separate roles. The cloud management gateway now can serve content to clients. This simplifies the installation, reduces the number of certificates required and lowers the cost of operations. These simplifications [...]

By | 2018-07-02T16:26:12+00:00 July 2nd, 2018|Uncategorized|4 Comments

Deploy Cloud Disitribution Point in ConfigMgr 1805 TP

Starting with ConfigMgr 1805 tech preview it is possible to use the Azure Resource Manager platform when creating an instance of the cloud distribution point. ARM eliminates the need for management certificates by utilizing Azure Active Directory for authentication. The other major improvement in this iteration of the CDP is that it eliminates the need for a management certificate. This process should be the same for ConfigMgr 1806, if not I will update this blog when 1806 is released. 1.  Pre-requisites a.       You must have Azure AD. b.       Create a public facing CNAME record that maps your service name (ex [...]

By | 2018-06-04T01:27:41+00:00 June 2nd, 2018|Configuration Manager (SCCM)|2 Comments

Simplified Installation of a Cloud Management Gateway

The CMG is a role introduced in ConfigMgr Current Branch 1610. The purpose of the Cloud Management Gateway is to simplify installation and strengthen security of managing clients over the Internet. This is achieved by hosting the necessary services in Azure. To date however many customers have been hesitant to deploy a CMG due to the perceived complexity of the certificate requirements that the solution has required. Using ConfigMgr 1804 tech preview and working along-side the Microsoft product team I have been able to reduce the certificates required down to 1 single certificate. My certificate is issued by a public [...]

By | 2018-05-26T23:38:18+00:00 May 23rd, 2018|Configuration Manager (SCCM)|13 Comments

DeviceMap and Device Inventory Failures in Win7 to Win10 1709 In-Place Upgrades

**UPDATE**  to the  **UPDATE**  **UPDATE** There has been "multiple TONS" of amazing and diligent work done by some extremely talented individuals to not only uncover some extreme deficiencies in the MS update process but more importantly, to help the community to cope, resolve and move forward!  If this blog post is along the lines of anything you are experiencing, please immediately take a moment to read through this blog post by my friend @AdamGrossTX which should answer all your questions and also provide a solution for "what ails you".  Please also take a moment to follow another friend, @SeguraOSD who has developed [...]

Win7 to Win10 In-Place Upgrade Failures w/ DownLevel 0xC1900208 Error Codes

This will be short and sweet as I am not fond of typing nor do I wish to waste your time with wordy explanations. If you require more details, simply reply to this blog and I will do my best to assist. ENVIRONMENT/SCENARIO: The environment is ConfigMgr (CM) 1710 with a slew of Win7 Lenovo models in dire need of Win10 1709 in-place upgrades. Delivery of Win10 1709 is by way of a CM Task Sequence (TS) with no out of ythe ordinary configurations that would be noteworthy. CHALLENGE: I recently ran into a frustrating challenge where my Win7 to [...]

ASP.NET Core 2.0 MVC: editing complex viewmodels with child models and dynamically retrieve properties from the model in the view or just a REALLY long title…

For the past couple of months I've been doing ASP.NET Core coding projects – building the backend and frontend of various websites for our customers. This has been a fun experience, but at times also very frustrating when things aren’t really working out. One thing is to follow examples and tutorials based on “perfect world” scenarios, another is to deal with real-world data and requirements. So this will be my first post in hopefully a series of ASP.NET Core posts to share some tips and tricks when things get a little more complicated. I assume you have some knowledge of [...]

By | 2018-08-09T12:52:22+00:00 January 31st, 2018|Scripting & Development|2 Comments

Automating SSRS favorites with REST API

This information applies to SQL Server Reporting Services 2017 and later. As more and more organizations rely on visualization and reporting to get the information they need, more and more reports come into play. With Configuration Manager 1710 you get almost 500 reports where only a subset are relevant to you and your team. This blog post will show you how you can automate the use of favorites in SQL Reporting Services 2017. Prior to SSRS 2017 you had to find the report and mark it as a favorite. Beginning from SSRS 2017 we can now use a combination of [...]

Sometimes I think there is not enough fear in the World!

Kind of a catchy title and perhaps a bit scary but nevertheless this is often what I think when looking at the number of legacy Windows operating systems and Management systems “out there”. Let’s get it straight, Windows 7 is end of extended support in 2020 or a little more than 400 working days. For many organizations that is simply not enough time to migrate all clients to Windows 10 unless the project is already begun.Client operating systems Latest update or service pack End of mainstream support End of extended supportWindows Vista  Service Pack 210-Apr-1211-Apr-17Windows 7 * Service Pack 113-Jan-15January [...]

By | 2017-12-22T11:18:47+00:00 December 22nd, 2017|Uncategorized|1 Comment

Q&A from the We Speak Geek webinar

First a huge thanks to the many that tuned in to our 3 webinars on ConfigMgr Challenges in 2017. As promised here are answers to the many questions we had. For more questions, please reach out to Jason Sandys @JasonSandys or Kent Agerlund @Agerlund. For those who didn’t have a chance to attend, recordings are available here: https://info.flexerasoftware.com/SVM-WBNR-We-Speak-Geek-SCCM-Admin-PrioritiesQ &A From the North America webinarWith Windows 10 Servicing - how have you found keeping these up to date? I have 10k workstations, and with resources i can't keep up with 6 monthly releases. With the products i have to get updated/tested/confirmed [...]

By | 2017-12-21T18:57:27+00:00 December 21st, 2017|Configuration Manager (SCCM)|0 Comments

Managing and deploying Web links in Android the modern way, a quick tip

Last year I wrote a blog about how the experience of deploying web clips or web links on Android devices looked like and how you were able to force them to be opened in the Intune Managed Browser. If we look back at this experience with the Company Portal Widget and the links, this is not a really nice solution and we don’t want to talk about updating or removing a web link in this scenario. (which is not possible) Yesterday I was at a customer in Denmark discussing this solution, and while discussing this I remembered the new options [...]

By | 2017-12-20T21:12:18+00:00 December 21st, 2017|Enterprise Mobility Suite (EMS)|0 Comments

Taking advantage of Run Script in ConfigMgr 1710

As most of you already know, Microsoft has released a new function in ConfigMgr to run scripts directly on computers and/or servers in your environment. With this new function, scripts can be run in real time on a single computer or an entire collection. How cool is that? This was initially released in the 1706 Tech Preview, but since then Microsoft has put a lot of effort into the functionality of the latest builds and have really made it shine! If you’re like me, you might get stuck in the “this is awesome but how do I move forward with [...]

By | 2017-12-20T09:12:22+00:00 December 20th, 2017|Powershell|1 Comment

Androids in the Enterprise, a blessing or nightmare? – part 2

In my last blog we looked at managing the legacy Android devices, like mentioned Google is investing in making Android safer and more enterprise ready. Today Google announced the deprecation of the legacy management of Android devices as of Android Q, like explained here in the blog of Chris Baldwin. One of the ways in making Android enterprise ready is by using Android Enterprise AKA Android for Work. Android for Work is available since the beginning of 2015, in Android 5.0 (Lollipop) and higher. What is Android for Work? (Android Enterprise) With Android for Work you are able to completely [...]

By | 2017-12-19T20:53:17+00:00 December 19th, 2017|Enterprise Mobility Suite (EMS)|3 Comments

Create ConfigurationItems and Baselines without killing your mouse

This information applies to ConfigMgr version 1710 and later. One of the things I really love about working in IT is that you can learn new stuff all the time, and when new stuff turns into boring repetitive stuff you can apply automation and add yet another new piece of learning to your skillset. Over the last few releases of Configuration Manager, the product team has added some new cmdlets for managing Configuration Items and Baselines, and I started to look into these when I was given the task to create a lot of very similar CIs and Baselines for [...]

Create User collections based on AD department attribute with Powershell

If you are an organization who uses the Department attribute in Active directory and want to target users withing those departments for different deployments but you have a lot of departments and you don't know where to start, well then this post might be useful for you.   The script in this post retrieves all the departments that gets collected by the Users AD attribute by ConfigMgr (Not turned on by default needs to get added. See guide below) and from those departments it creates a user collection with a query that populates the collection with all users who are [...]

By | 2017-12-14T19:41:24+00:00 December 14th, 2017|Configuration Manager (SCCM), Powershell, Scripting|10 Comments

Continuous Delivery WebApps with ARM Templates, Part 2

Previous: Continuous Delivery WebApps with ARM Templates, Part 1 Cross-posting from personal blog https://cloudmechanic.net So it has been some busy months and therefor a bit delayed with this second post, but now I finally got a moment to finish it, so here we go! In the previous post we created and tested the continuous delivery pipeline for the Azure resources using a ARM template, and with the pipeline for deploying the Azure resources we are now ready to create the pipeline to deploy the application. First you should go and grab the latest version of the ARM template and the [...]

By | 2017-12-12T15:15:53+00:00 December 12th, 2017|Azure|0 Comments

Using Office 365 Portal Security Token for Authentication with custom website

When creating a lot of different web front-ends, it is always rather complex to get started with single sign-on or integrated login. The simple way to not maintain a credential database or passwords is to validate against a 3. party website. This is where the Office 365 Portal comes in handy, especially because many companies are already validating against or with it. I created this code as part of another solution, the example here has been cut down for demonstration purposes and easy integration. You will be able to validate against Portal.microsoftonline.com as long as the login is allowed for [...]

By | 2017-12-11T08:59:07+00:00 December 11th, 2017|Office 365, Scripting & Development, Security|1 Comment

ConfigMgr PowerShell and WMI Excel spreadsheet

I just posted on Github updated version of Excel spreadsheet where you can find all the ConfigMgr PowerShell cmdlets, Primary Site WMI namespace methods, ConfigMgr Client WMI methods and COM object methods as well. You can download the Excel spreadsheet from here - https://github.com/Kaidja/ConfigMgrSDK/blob/master/ConfigMgr_cmdlets.xlsx

By | 2017-12-08T09:48:01+00:00 December 7th, 2017|Configuration Manager (SCCM), Powershell, Scripting|0 Comments