Jump to content

dragged kicking and screaming into windows 11 era. a short tale


Recommended Posts

Posted
Just out of interest, where did you learn how to do this? Any particularly good websites or video tutorials out there? It's been on my todo list for quite some time, but I've not found a good 'Getting started' guide.
Posted (edited)
Just out of interest, where did you learn how to do this? Any particularly good websites or video tutorials out there? It's been on my todo list for quite some time, but I've not found a good 'Getting started' guide.

 

Only a couple of sources. Microsoft mainly, they have an excellent set of how to guides - I didnt watch a single video. I did google originally but there was a lot of Windows 10 guides plus out of date material. Microsoft also have huge grids of CSP and their licensing. Luckily some of these also have registry entries so you can ignore the CSP. For registry hacks I used my own knowledge, most of this hasnt changed since windows 10 (setting background colours is still HKEY_CURRENT_USER\Control Panel\Colors wallpaper is still HKEY_CURRENT_USER\Control Panel\Desktop etc).

 

It is very easy to set up, this is because there are not a lot of ways of doing things so there are only a few places you add configurations. Even so, Intune doesnt make it easy. For example, if you want to do the following:

 

Set the start button to the left :-)

Change search bar to an icon only

Remove copilot button

Pin office apps to the quick start menu

Pin chrome to the taskbar

Change lockscreen and logon screen to a corporate background

remove adverts and "search insights" on lockscreen

 

in the old days all the above could be done in a single GPO except you needed an XML for the taskbar and start menu layout. Roll onto intune:

 

1) You can create a single frankenregistry batch file to do the lot. Encompass this into a WIN32 app using your intimate friend intunewinapputil.exe and assign to groups. This is actually the neater option! Plus the largest pain to keep up to date. Reports on "app installations" is very good so you can also track which machines have them and status of "installation".

2) Create TWO configuration profiles and one WIN32 app - this is because not all the settings are exposed to CSP, plus desktop wallpaper and lockscreen CSP will not work with pro version whereas registry will. Why two configuration profiles? Because one is a "settings catalog" and one is a custom URI. You cannot mix the two in one profile so two profiles it is. Configuration profiles do not have quite the same reporting granularity of installations but you can still see where the system is up to.

 

Other oddities abound so far. If I set the keyboard to be UK on the OOBE then the pens will not activate handwriting in word. I need to set as US and then have a policy to set as UK. This is the only way I can get a UK keyboard with "@ in the correct place AND have ink to handwriting "draw pen" available. Whether that is an OOBE, intune or general MS problem (or even a surface problem) I do not know.

 

Intune / W11 / Autopilot is great from scratch, not great if you have a legacy environment with tons of GPOs

 

Yeah, we have literally hundreds. I logged on as one of each "user class" we have (primary, secondary, VI, staff, admin) and ran a results wizard, started at the top setting, copied to a spreadsheet, made common profiles and settings first, then tweaked individuals. Soul destroying but at least I only have to do this once. The REAL test was getting those settings to work onsite in place of GPOS!

 

One thing I did forget, we still have onsite documents with GPO redirection. Despite having quotas screwed down and onedrive being the default, the machines do have a script that creates a shortcut on the desktop to their own documents folders. Users grumble but im not even contemplating mapping something to this ancient resource that I want to get rid of.

Edited by KK20
Posted

Other oddities abound so far. If I set the keyboard to be UK on the OOBE then the pens will not activate handwriting in word. I need to set as US and then have a policy to set as UK. This is the only way I can get a UK keyboard with "@ in the correct place AND have ink to handwriting "draw pen" available. Whether that is an OOBE, intune or general MS problem (or even a surface problem) I do not know.

 

I'm fighting a similar problem right now. Some (but not all?!) devices will randomly decide to believe they are US based, and often mess up time and the autopilot process. We've got a similar policy as you that fixes any laptop that did manage to get through into a managed state with the regional settings wrong.

 

There doesn't seem to be rhyme or reason to it - seen it in laptops that we manually added to autopilot during oobe, and devices configured by the reseller. Most are fine, but some go weird. So so so strange.

Posted

I'm just getting into setting up some test machines with Autopilot and Intune. Trying to go mostly cloud based with as much as possible.

 

A couple of questions people might be able to help me with

 

Are you using shared devices or are your windows machines 1:1?

If you are using shared devices, how are you setting the correct filtering to the right user?

 

 

We have some software such as sibelius that uses a network license server. You mentioned you use a token to allow some internal access. Are you able to go into more detail about this?

Posted (edited)

Entra only device in a hybrid environment, install entra connect. If you use FIDO2 keys you need to add some additional parts (I had already done this as we use FIDO2 keys for our 4 and 5 year olds - much easier than getting them to type their names! They are handed out and handed back after their IT lessons, well worth the hour the teaching assistants do at the start of the year registering each FIDO for new intake.):

 

https://learn.microsoft.com/en-us/entra/identity/devices/device-sso-to-on-premises-resources

 

Not all are 1:1 (some are, some arent), people log out and log in as necessary "primary user" is the first logon, we use a "deploymentuser" account - a regular account for shared machines to register and get out of the OOBE, after that you can log in as "other user" or log out as necessary the same as any normal PC of old. Im not sure what you mean by filtering. 365 SSO works as expected, we use securly suite and that picks up whatever user has logged on, as does our watchguard.

 

I have kept our "new" devices as pure cloud entra registered only. DSREGCMD /STATUS shows only AzureAdJoined as YES bu OnPremTgt is also YES %username% is populated correctly and there are no popups or credential issues with \\profileserver\documents_share\%username%\documents for example.

 

I note you say sibelius, yes we also have a license server and that worked without tweaking but only onsite (for obvious reasons). I am trying to get an always on VPN running but that has proved elusive for the time being. I can certainly add a manual VPN without issue.

 

There doesn't seem to be rhyme or reason to it

this is very common with MS products, if you initially install something without EN-US then you hit problems later, this used to be a massive problem with SQL server. You always installed EN-US and worried about the proper language later. It seems that OOBE can do this too, once you get past the OOBE then an EN-GB keyboard configuration profile fixes everything. Of course the user gets an @ on the 2 key for their OOBE...

Edited by KK20
Posted

My organisation is Hybrid and they've had great difficulty getting Windows 10 working the way they want it to, especially with legacy systems etc.

 

Those higher up the chain of command have decided to bring everything back in house. Effectively, we'll have GPOs to manage Windows 11 devices. Cisco ISE providing VPN, filtering etc.

 

Additionally, we will use Autopilot for the provisioning of devices and SCCM + Intune to deploy applications and Store Apps.

 

Intune as a whole is slow and is nothing like the MDM solutions provided for Apple devices (Macs, iPads, iPhones) such as Jamf and Lightspeed, as they're instantaneous with deploying apps, profile configs etc.

Posted
My organisation is Hybrid and they've had great difficulty getting Windows 10 working the way they want it to, especially with legacy systems etc.

 

Those higher up the chain of command have decided to bring everything back in house. Effectively, we'll have GPOs to manage Windows 11 devices. Cisco ISE providing VPN, filtering etc.

 

Additionally, we will use Autopilot for the provisioning of devices and SCCM + Intune to deploy applications and Store Apps.

 

Intune as a whole is slow and is nothing like the MDM solutions provided for Apple devices (Macs, iPads, iPhones) such as Jamf and Lightspeed, as they're instantaneous with deploying apps, profile configs etc.

 

Yes, this is the frustrating part about intune how you have to wait around to see if the change or updates you make are working. Takes setting this up a long time!

Posted
We are full cloud with W11 / Intune and it has resolved so many issues for us and would never want to go back to legacy on prem/GPO. You have to completely rethink your IT services from the ground up and ditch the legacy systems where possible
  • Thanks 1
Posted
We are full cloud with W11 / Intune and it has resolved so many issues for us and would never want to go back to legacy on prem/GPO. You have to completely rethink your IT services from the ground up and ditch the legacy systems where possible

 

What issues were you having?

Posted
What issues were you having?

 

We had an old network which I inherited. Servers running 2012, poor GPO configuration, lots of 'patches' over the years. There was an expectation that IT wouldn't work and would be unreliable. I will say, the move to the 'cloud' is rarely going to be a cost saving.

  • Thanks 1
Posted

Out of Tune does seem to be slow. Only using it to push VPN configs via custom XML. On win 10 seems fine. But in Win11 there seems to be numerous issues.

You have to delete remnants of a VPN to amend a ccnfig.

I might look at using PowerShell scripts and a scheduled task. Seems a lot of work just to push VPN configs. Don’t want to use MECM which relies on VPN connectivity.

 

We had an issue where out of tune wouldn’t recognise some user licenses. It took 5 months to get resolved.

 

As for Microsoft now splitting some features as separate licences seems greedy.

 

Having no GPP or secpol is also an issue. GPO and MECM work well and you can find lots of logs to sort out issues.

  • 3 weeks later...
Posted

fun problem of the week, or rather a rookie mistake by me this week. I needed to push a registry change to clients, so I spooled up a simple batch file with a bunch of REG ADD and REG DELETE in there (remembering to /reg:64 - yes I know I can "sysnative" but this is equally effective and saves me typing a longer string in the intune portion). WIN32 app deployed all seemed to be good, clients were reporting success and the registry changes could be observed. All good till I needed to wipe a laptop that was going to a new person, the wipe happened, all booted up, ran preprovision and FAIL! 0x80070001 a useless autopilot error code that could mean anything but generally means something didnt install in time (i.e. tried 3 times and failed).

 

My favourite go to script Get-AutopilotDiagnosticsCommunity -online will generally tell you what has gone wrong - it saves wading through the huge extension log. Sure enough my new registry file was failing to install. this made no sense as regedit showed me that it DID "install" as the registry changes were present. Looking through the extension log I saw [Win32App] lpExitCode 1 and realised what I had done: Batch files have %errorlevel% which is passed back to the intune installer - it expects a 0 as success. My batch file started with a few REG ADD but ended with REG DELETE - the last one did not exist so effectively the final %errorlevel% was a fail or 1. Reshuffled so that the delete are first and the add last fixed all.

 

Moral of the story, dont forget your %errorlevel% in batch files.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...