Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

Mute_Fish posted:

Not sure if its the default or not because its its been far too long since I originally set up SCCM but in my environment the UDI wizard files are here: "D:\Sources\OSD\SW\MDT\Scripts" on the SCCM server. Also there is a program on the SCCM server called "UDI Wizard Designer" if you open the XML with that you can edit the the standard / optional applications fairly easily. I think you can also edit the .xml.app file directly but I have not done that my self.

Not sure what the original question was but this is all MDT stuff, not SCCM. Presumably you've integrated them (which is a good thing to do) but by default SCCM doesn't have any of this stuff.

Adbot
ADBOT LOVES YOU

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
So, speaking of Hyper-V. I'm doing some testing with DHCP and PXE with some VMs on my work machine. I've got my NIC setup as a "bridged" switch so my VMs are on the same network as my physical machine. I want to be able to sniff all the traffic my VMs are generating with wireshark. I've found lots of information on port-mirroring where I can set a VM as the "source" and another VM as the "destination" and I've even found how to use Hyper-V host as the "source" and a VM as the "destination" but I can't find a way to use a VM as the "source" and the physical NIC as the "destination."

I found this: https://cloudbase.it/hyper-v-promiscuous-mode/
I want the monitormode to be 1 instead of 2, but I can't do that just by changing the number from 2 to 1. I tried the module there and it also failed.

This seems simple but maybe I'm missing something? I basically just want to capture all traffic that touches my virtual switch.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

FISHMANPET posted:

So, speaking of Hyper-V. I'm doing some testing with DHCP and PXE with some VMs on my work machine. I've got my NIC setup as a "bridged" switch so my VMs are on the same network as my physical machine. I want to be able to sniff all the traffic my VMs are generating with wireshark. I've found lots of information on port-mirroring where I can set a VM as the "source" and another VM as the "destination" and I've even found how to use Hyper-V host as the "source" and a VM as the "destination" but I can't find a way to use a VM as the "source" and the physical NIC as the "destination."

I found this: https://cloudbase.it/hyper-v-promiscuous-mode/
I want the monitormode to be 1 instead of 2, but I can't do that just by changing the number from 2 to 1. I tried the module there and it also failed.

This seems simple but maybe I'm missing something? I basically just want to capture all traffic that touches my virtual switch.

It turns out it was simple. I was using Wireshark against the HyperV vEthernet adapter (because this is the adapter that I had a connection through. I ran a command to see which if any of my ports were in promiscuous mode (Get-NetAdapter |fl -Property ifAlias,PromiscuousMode) and it showed that my physical Ethernet port was in promiscuous mode. If I point Wireshark at that adapter it sees all the traffic that's passing through the physical adapter. Seems simple and obvious when I put it that way.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
There is a traverse permission that exists. One other thing that probably doesn't apply but I'll mention it anyway, you can't make multiple connections to a single file server with different connect-as values. So if you're logged in as userA and map a drive to SERVER then try to map another share as userB that will fail. It's a client side thing, so if you make that mapping as UserB to the ip address or a cname it will be fine.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I'm trying to help someone out with some group management tasks. For reasons beyond my control, when when someone is no loner eligible for their AD account, it gets deactivated and moved into an OU that only admins have access to. So I can see it, but the person I'm helping can't. He's doing some adding and removing of users from groups in bulk - up to 70k at a time. In the ADUC console, he can open a group and find one of these deactivated members and remove it from the group, without having read access to the actual account object. But that doesn't scale.

I'm trying to figured out if there's some way to remove an account from a group that doesn't involve trying to read the group. Because of the size of the groups, Get-ADGroupMember doesn't work, I'm using the Member property of Get-ADGroup. This is a list of DNs of users, which I then pass into Remove-ADGroupMember. But what the cmdlet does is take that DN and try and retrieve the full user object and then fail. Is there any voodoo magic I can do remove the users in the same way ADUC is, without actually trying to retrieve them?

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Extended support generally means "we'll fix the security vulnerabilities and nothing else" and also why in the hell are you running a million year old install of SCOM

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Assuming you mean Semi-Annual Channel as opposed to doing the Long Term Servcing Channel that releases every few years, yeah we're doing that for SCCM and now SCOM. We just went through a SCOM upgrade, from 2016 to 1801 then 1807 and it was pretty painless. And looks like you can do an inplace upgrade from SCOM 2012R2 U12 to either 1801 or 1807 (the language here is kinda vague) but even if it's only to 1801, the 1807 upgrade is pretty simple.
https://docs.microsoft.com/en-us/system-center/scom/deploy-upgrade-overview?view=sc-om-1807#in-place-upgrade

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Are you sure those parts of the TS are actually running? Are there conditions on those steps that are evaluating to false? Are those steps failing but they're set to continue on error? Those are the easy ones you've probably got out of the way...

The way we package all our apps is using a wrapper powershell script that includes logging so we can see if the applications actually ran or not. If you don't have anything like that you could maybe stick some steps in the parts of the TS that aren't running that would write some log files to the machine so you can maybe get a better idea what state a machine is in when it runs?

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

lol internet. posted:

How's everyone dealing with rsat when your in a sccm environment.

GPO is pointing at sccm for WSUS. So when you powershell to install it can't install.

Is literally creating a package the solution?

If you're ok with your clients reaching out to Microsoft Update you can set a policy that will let them do so for additional content and repair content: https://www.stephenwagner.com/2018/10/08/enable-windows-update-features-on-demand-and-turn-windows-features-on-or-off-in-wsus-environments/

(that also exists in local policy)

If you can't/don't want your clients to reach out then yeah I guess you're stuck making a package, or if it's for a few smart admin staff just dumping this on a network share and giving them instructions: https://blogs.technet.microsoft.com/askpfeplat/2018/12/18/rsat-on-windows-10-1809-in-disconnected-environments/

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
2016 has both security only and security & quality, install only one.

And wsus maintenance will have an impact on how long your client spends "checking" for updates it won't have any impact on how long it takes to install.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
If you're running sccm the wsus database maintenance keeps getting better with every release. If you're running standalone wsus then I just feel bad for you.

I ended up with two SUPs (software update points in sccm, backed by wsus) with a shared database for 20k clients and things have been pretty fine. *knock on wood*

OH but I once upon a time used an sql express database because Johan said it would be fine and then I hit that 10gb limit and boy was that a fun problem to track down.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
That's a really good resource, it's where I started from nothing and now I'm where I am now where I've built out multiple instances as large as 20k clients etc etc.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

kiwid posted:

Does anybody else's boss hate OSS?

I mean, I get it, open-source software can often be trash, but when my boss asked me to find software to automate an FTP transfer but didn't want me to script it in a bash script because "other sysadmins need to be able to administer it too" therefore requiring a GUI, I suggested WinSCP. My boss asked "how much is it", and I said "free". "But why is it free?" I was asked. I replied, "because it's open-source?". Denied. "Find something corporate" I was told.

What the gently caress?

So anyway, anyone know a corporate approved piece of software that has a GUI that can automate FTP transfers?

I once had someone ask me to find an NTP client they could pay for.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
OK, I'm wondering if anyone else is seeing problems with their Windows Server 2016 systems and long reboots. I can find lot's of general griping about updates being "slow" on 2016 but I'm talking about something that's started happening recently and it's got some pretty narrow symptoms that I can identify. Wondering if I should open a support case.

Basically, if I reboot a Sever 2016 system twice in a relatively short period of time (I've seen it with an hour and a half between reboots) the second reboot will take about an hour to actually happen. It has something to do with the Delta Compression that Windows does for the cumulative updates. The system doesn't actually power off during this hour, and the console just has the helpful "Getting Windows ready Don't turn off your computer" spinner. The machine is still basically on during this time, so our monitoring hasn't caught it. But you can't connect to it with remote desktop and potentially if it's running some services I think they'd be off. But i can connect to the admin share, which is why I can see that the CBS.log file is freaking out with messages like this:
code:
 Current tick count lower than last tick count. [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
Also a lot of this:
code:
2020-01-08 12:20:54, Info                  CSI    00001462 Creating NT transaction (seq 1201), objectname '(null)'
2020-01-08 12:20:54, Info                  CSI    00001463 Created NT transaction (seq 1201) result 0x00000000, handle @0x27a0
2020-01-08 12:20:54, Info                  CSI    00001464@2020/1/8:18:20:54.659 Beginning NT transaction commit...
2020-01-08 12:20:54, Info                  CSI    00001465@2020/1/8:18:20:54.659 CSI perf trace:
CSIPERF:TXCOMMIT;8261
This specific systems appears to still be doing stuff until transaction 200, but the next 1000 of these NT transactions seem to just be nothing. Eventually something will finish and it will click and it'll be done and continue rebooting.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
The Server 2016 key on the KMS licenses Windows 10 and below (as well as Server 2016 and below). I don't have access to our volume licensing portal but when i was helping someone else with updating our KMS keys, there was a single key for both desktop and server OS, and you could only have one loaded at a time.

So that Server 2016 Key in your KMS is the correct license key to activate Windows 10 in addition to Server 2016.

E: If the devices all came with OEM licenses and you want to use those I suspect it's going to be some combination of removing the existing key info (slmgr /upk), installing a Windows 10 "default" key (I don't think this is :filez: but I'm not going to link to one just in case, but they're easy to find online) and then ensure that device can activate.

It looks like the OEM key will also be burnt into the BIOS if the device came with Win 10, so you may have to extract that key for each device and install it (instead of a default key). this site has a number of ways to get at that OEM key, but the easiest way is probably the WMI method there. So you'd remove the existing KMS install key, install the devices OEM key, then activate it. Should be pretty easy to script out.

FISHMANPET fucked around with this message at 17:41 on Feb 20, 2020

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I don't know enough about what you actually need to purchase to be in compliance (vs what is needed to just make the activation warnings go away...) but the easiest is probably going to be what I added in my edit, to reactivate the devices with their OEM key.

Although part of that will be that the edition they're running now has to match what the OEM version was, you won't be able to activate an Enterprise install with the Pro key, but I would imagine if you re imaged with Pro you should be able to activate with the OEM pro key.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Yeah i'd throw in a big caveat of "try it first before you decide it's the plan you're going to implement" because i'm just theorycrafting from my incomplete knowledge of activation.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Oh we had that, you can just readd the KMS key and they should activate. Too late now but I think you can be a bit more surgical about what keys you're removing to keep from removing the KMS key in the first place, but yeah MS support just tells you to flatten the keys because they dgaf. Exact same thing happened to us with our air gapped systems.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Yeah we learned the hard way ours lost activation when they rebooted for patches over the weekend, and they're for processing credit card transactions for the parking system, and we're a campus that has events on the weekend...

Glad I wasn't on call that weekend!

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I don't know how exactly Nessus does it's scans or what it's detection methods are, but the move to cumulative patching has broken a lot of things. We use Rapid7 Insight VM and have had false positives for older vulnerabilities because the client didn't have the specific KB for the Office vulnerability installed but it did have the latest cumulative update installed, which means it was was actually patched. Rapid7 fixed their definitions and the vulnerability went away. So maybe Nessus is doing some like that? Does it give you specific advice on what you need to do to remediate the specific vulnerabilities it's finding?

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
They're so determined to make it live in userland that all that MSI does is install into the profile of everybody that logs on. Which may or may not get around that app restriction policy. But you said that and the space issue were surmountable, whereas "no grid in webview" may be insurmountable so you'll have to pick your poision.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
You don't need to do anything with gpo, when the sccm client applies policy it will set those keys for you. There is however a good setting that will let the client go directly to Microsoft for "additional content" if it's not available on the update server it's pointed to. You might need that to allow store downloads.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
The Semi-Annual Channel (that's the official name for those releases) doesn't support a GUI period. They're also only supported for 18 months, so they're intended for a fairly specific use case which is totally different from the Long Term Servicing Channel releases.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
You don't want to install LTSC branches on desktops, the official word is that Windows 10 LTSC is for, like, aircraft control computers. I think there are some technical limitations why certain apps won't work on LTSC, but also I think it's a ploy by Microsoft (that I happen to agree with) to make LTSC as painful to use as possible, otherwise every enterprise would just install LTSC and do big fleet-wide upgrades every 5 years like they did with XP/Vista/7/8/ etc instead of sticking with the rolling releases.

But that's just on the desktop side, servers, vast majority are LTSC, and the SAC failed to take off so much that they're just ditching it entirely apparently.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
My account is in "Protected Users" which does some stuff like disable NTLM auth. Out VMware admins are switching from "AD" auth to accessing AD via LDAPS, and nobody in Protected Users is able to login.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Despite having "Active Directory" in the name, Azure AD is not "AD but in the cloud". It's mostly just a coincidence that it shares a name, you should carry forward no expectations of specific functionality or practices that you're used to form on-prem AD just because it has "AD" in the name.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
This all started as me having some ConfigMgr questions as I was just getting started with the tool, and since then I've changed jobs to one where I was the highest tier SME in the entire org around ConfigMgr. And then I've slowly transitioned off that into more general "Microsoft Server" stuff with a big healthy dollop of Azure stuff. I know there's an AWS thread, but no generic "cloud" thread, and no "Azure" thread. "Enterprise Microsoft Q&A: Hello for Buttprint" probably encompasses Azure as a cloud platform plus managing devices in a "modern" way, although it'd be nice if it had Azure in the title. Maybe "Enterprise Microsoft/Azure Q&A: Hell for Buttprint". There's no OP and I couldn't be arsed to write one anyways. But I could throw some more links there, I guess write a few words about the "scope" of the thread. Or hell we could make a new one.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Wait Azure Automation still has PMs?

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I once used OBS for a work presentation with a green screen. Outputting to a virtual camera will probably miss a step (it did with Zoom). I was using OBS to put my talking head in the bottom corner of the screen while my content was being shared. OBS could set that scene up well enough, but I ended up setting it to display on a 3rd monitor, and then I shared that screen via Zoom. So I had my main monitor for what I was showing off, my left monitor had OBS and zoom running, and then OBS played its output on my right monitor, and that's the screen I shared in Zoom.

Outputting to a virtual camera doesn't work that great because Zoom optimizes the experience of a camera feed for faces, which is different from the experience of a shared screen.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
They can co-exist just fine, if you want them to. I think it's a somewhat common pattern to have InTune just install the ConfigMgr client and then rely on ConfigMgr (properly set up to allow connections from outside your private network) for software. There are a lot of benefits to intune outside of software deployment. But it's really not meant to be a drop-in replacement for ConfigMgr, it is a new paradigm of managing things, and I think if you try your old ConfigMgr paradigm with intune things are going to be rough.

I think you'd be totally justified saying "Hey, wait a minute, what about our existing set of applications, are we going to be given time and staff to migrate those?" They might be planning on doing hybrid and still using that existing investment. Or be totally unaware of the huge pile of pain they're dropping on you. It sounds like you're pretty far away from where the decision is made though, so you might just end up eating poo poo.

E: I've been out of the game a while, so listen to IE also about how easy or hard it would be to move your existing deployments to InTune. The stuff about hybrid is still true as far as I know, but InTune may have more functionality now to the point where it's much easier to ditch ConfigMgr altogether.

FISHMANPET fucked around with this message at 19:42 on May 31, 2023

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
I read that as there being some one time sync happening behind the scenes on first login, maybe the system registering something on the AD computer object that gets pushed up to Azure AD.

I don't have much experience with HfB, but my coworker set it up for a different complex scenario and I spent a fair amount of time with him digging through docs and Woof, it is some complex poo poo.

Adbot
ADBOT LOVES YOU

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
There definitely is, because we limit it, but I don't know off hand how it's done exactly. I think there's an RBAC role for creating subscriptions, maybe everybody is in a group that has that role assigned?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply