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
Sickening
Jul 16, 2007

Black summer was the best summer.
No powershell rules are just lack of institutional knowledge at sr positions. I would say that script signing is so rarely used for reasons that baffles me.

Adbot
ADBOT LOVES YOU

VideoGames
Aug 18, 2003

Internet Explorer posted:

I assume you're talking about FSRM? There's hard and soft quotas. If it is a soft quota and you reduce it, it will trigger whatever event is supposed to be triggered but they can still save files. If it is a hard quota, they will need to delete files before they can save more. It is my understanding that it will not delete old files.

You can use File Management Tasks in FSRM to do something like you are asking.

https://docs.microsoft.com/en-us/windows-server/storage/fsrm/create-file-expiration-task

Thank you so much for the answer. We do have FSRM ans the quotas are hard and just too large. I want to change them and just wanted to know how much damage it would do. If it is a simple case of no saving until you clean files out, then that is perfect and actually forces them to do some tidying. I cannot seem to make them tidy any other way right now!

ChubbyThePhat
Dec 22, 2006

Who nico nico needs anyone else

Thanks Ants posted:

You can't do your job without Powershell if you're a Windows shop.

I really really hope it is just a freak out about script signing and was just worded poorly, because the above is basically all you need to know.

Dirt Road Junglist
Oct 8, 2010

We will be cruel
And through our cruelty
They will know who we are

Wicaeed posted:

Is it "normal" for an Enterprise to come down with a blanket statement from on-high saying that PowerShell be disabled across all systems, even server OS ones?

I was just told that all instances of PowerShell & PowerCLI (which I kind of need to use to do my job) are in violation of security policy and will be disabled at a future date.

It's really got me thinking of looking for another job.

You may think it's crazy, but I work at a Fortune 500 who's had that directive for years, and it's making my life (as the Powershell expert on the Windows deployment and endpoint management team) a loving nightmare.

We were supposed to have unblocked it for good this week. Then one of the GPOs EntSec required broke the VPN. lol plz let me die.

Gucci Loafers
May 20, 2006

Ask yourself, do you really want to talk to pair of really nice gaudy shoes?


Dirt Road Junglist posted:

You may think it's crazy, but I work at a Fortune 500 who's had that directive for years, and it's making my life (as the Powershell expert on the Windows deployment and endpoint management team) a loving nightmare.

We were supposed to have unblocked it for good this week. Then one of the GPOs EntSec required broke the VPN. lol plz let me die.

Same.

Blocking Powershell is a uncommon but common.

BangersInMyKnickers
Nov 3, 2004

I have a thing for courageous dongles

Disabling powershell is in every one of those dogshit "hardening windows for the enterprise" books I've ever seen. For any of them that are worth a poo poo, its part of the guide for hardening AppLocker configs to stop known evasion techniques, but crappy IT people turn it off while leaving all other arbitrary code execution enabled which makes it a useless pain in the butt.

Gucci Loafers
May 20, 2006

Ask yourself, do you really want to talk to pair of really nice gaudy shoes?


Disabling Powershell along with Console Only VM access is one of those things that’s claim to be secure but it’s really just paranoia and anxiety not actual security.

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams
Cargo Cult security.

Meanwhile in the real world just about anything we do more than once we figure out how to do it with a powershell script. Even if we find example scripts online that are vbscript, we'll put in the effort to translate it to powershell. We have a ton of powershell modules in github, some in our private internal github, some public (I'll link when I get back to my desk).

BangersInMyKnickers
Nov 3, 2004

I have a thing for courageous dongles

So I went to figure out why my Server 2012R2 VMs take hours to patch while my 2016 ones are nothing, and my sccm team is pushing the individual KBs, the the Security Only rollups, AND the full rollups for both the OS and .net every single month. Incredible.

ChubbyThePhat
Dec 22, 2006

Who nico nico needs anyone else

BangersInMyKnickers posted:

So I went to figure out why my Server 2012R2 VMs take hours to patch while my 2016 ones are nothing, and my sccm team is pushing the individual KBs, the the Security Only rollups, AND the full rollups for both the OS and .net every single month. Incredible.

That's impressive.

mllaneza
Apr 28, 2007

Veteran, Bermuda Triangle Expeditionary Force, 1993-1952




I'm in enterprise IT doing Powershell, and our network has it locked down pretty hard. We can't create remote sessions or use Invoke, I have to push a script to the target machine and invoke it with psexec.

It makes doing a lot of things much harder than it has to be.

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

Yes, allowing psexec is way better :smith:

Dirt Road Junglist
Oct 8, 2010

We will be cruel
And through our cruelty
They will know who we are

BangersInMyKnickers posted:

So I went to figure out why my Server 2012R2 VMs take hours to patch while my 2016 ones are nothing, and my sccm team is pushing the individual KBs, the the Security Only rollups, AND the full rollups for both the OS and .net every single month. Incredible.

That's like the time one of my provisioning teams was bitching that it took too long to image, and it turned out they were running Windows Update at the end, every single time. When asked why, they said they were told to do it that way. By whom, I asked, because I'm the one who writes the docs and trains the trainers. Lots of furtive looks were shared, and it turned out that was a directive from my vertical's loving VP, who said he used to do it that way when he was a desktop analyst. (Said VP is in the same remote office as this provisioning team.)

VP got told. Also, the complaints about duration issues stopped.

(Our endpoint management software automatically pushes the relevant patches to a new machine, so running a manual Windows Update is redundant as hell.)

skipdogg posted:

Yes, allowing psexec is way better :smith:

:psyduck:

FISHMANPET
Mar 3, 2007

Sweet 'N Sour
Can't
Melt
Steel Beams

BangersInMyKnickers posted:

So I went to figure out why my Server 2012R2 VMs take hours to patch while my 2016 ones are nothing, and my sccm team is pushing the individual KBs, the the Security Only rollups, AND the full rollups for both the OS and .net every single month. Incredible.

Wait how the hell do you even get individual KBs anymore.

Related, it's a shame there's nobody developing wsus anymore, because it really needs a flag for "security & quality" and "security only" and to flag the security only as both in months when there are no quality updates.
Make my ADRs easier!

EoRaptor
Sep 13, 2003

by Fluffdaddy

BangersInMyKnickers posted:

Disabling powershell is in every one of those dogshit "hardening windows for the enterprise" books I've ever seen. For any of them that are worth a poo poo, its part of the guide for hardening AppLocker configs to stop known evasion techniques, but crappy IT people turn it off while leaving all other arbitrary code execution enabled which makes it a useless pain in the butt.


:zoid: "We're disabling powershell because it's insecure."
:allears: "Okay, are you also disabling windows scripting host?"
:zoid: "What's that then?"

Yep, gives me confidence for sure.

Collateral Damage
Jun 13, 2009

The "security" group at the corp I'm working for had Chrome and Firefox removed from the application portal because "Internet Explorer is industry proven but unofficial browsers are an unknown risk".

This is the same security team which despite quarterly user rights audits did not catch a SQL Server with its service account in the Domain Admins group and xp-cmdshell enabled.


e: SA doesn't let me post with an underscore in the xp name. :v:

Collateral Damage fucked around with this message at 08:48 on Jan 19, 2019

peak debt
Mar 11, 2001
b& :(
Nap Ghost
xp_cmdshell

Ha, I can!
We also introduced application control (with AppSense) and then someone had the brilliant idea to block powershell, cmd.exe and mstsc.exe because those applications apparently are all security risks. Of course after they did that, nobody was able to do any work anymore, so we introduced an exception scheme where your boss was able to make you completely exempt from it with a simple ticket. Now, two thirds of all users have been exempt from any application restrictions for the past 18 months and I don't believe anyone is ever going to pick this topic up again.

peak debt fucked around with this message at 14:09 on Jan 19, 2019

BangersInMyKnickers
Nov 3, 2004

I have a thing for courageous dongles

FISHMANPET posted:

Wait how the hell do you even get individual KBs anymore.

Related, it's a shame there's nobody developing wsus anymore, because it really needs a flag for "security & quality" and "security only" and to flag the security only as both in months when there are no quality updates.
Make my ADRs easier!

Server 2016 is the cutoff where you don't get individual KBs any more, just one or the two rollup choices. If you're running WSUS/SCCM you can still pull them for 2012R2 or lower. With a normal WSUS config it would just pull the one with more precedence (everything rollup) but whatever the hell is going with our SCCM config is making them install like incrementals.

lol internet.
Sep 4, 2007
the internet makes you stupid
Any software based snapshot software exists that can take incremental snapshots of a lun and replicate to another drive/share.

I need to migrate some sql severs that have storage drives up to 1tb and it's hard to ask for a 8h outage window.

What I am snapshotting is either sql db or a shared vhdx that is holding it.

mllaneza
Apr 28, 2007

Veteran, Bermuda Triangle Expeditionary Force, 1993-1952




skipdogg posted:

Yes, allowing psexec is way better :smith:

Yeah.

My favorite part of my job is going online and finding a really elegant bit of code I could steal, except it won't run in our environment because Our Swiss Overlords have very definite ideas about security..

Potato Salad
Oct 23, 2014

nobody cares


lol internet. posted:

Any software based snapshot software exists that can take incremental snapshots of a lun and replicate to another drive/share.

I need to migrate some sql severs that have storage drives up to 1tb and it's hard to ask for a 8h outage window.

What I am snapshotting is either sql db or a shared vhdx that is holding it.

What's your virtualization stack, and are you running SQL clustered/dag?

lol internet.
Sep 4, 2007
the internet makes you stupid
Hyper v shared vhdx sql cluster service (not always on.)

incoherent
Apr 24, 2004

01010100011010000111001
00110100101101100011011
000110010101110010
Must be a 2019 feature, partially available.

Wicaeed
Feb 8, 2005
Another suggestion from the same person that proposed completely disabling PowerShell in our environment.

He wants to use completely random computer names for every device. Every. Device.

Laptops. Printers. Domain Controllers. Switches. Routers. Servers. Application Servers.

Like, I get it. It is harder to snoop your network and find out useful information. But at some point someone, somewhere has to WORK on the loving thing.

Gallatin
Sep 20, 2004

Wicaeed posted:

Another suggestion from the same person that proposed completely disabling PowerShell in our environment.

He wants to use completely random computer names for every device. Every. Device.

Laptops. Printers. Domain Controllers. Switches. Routers. Servers. Application Servers.

Like, I get it. It is harder to snoop your network and find out useful information. But at some point someone, somewhere has to WORK on the loving thing.

Yeah, but that is what the computer janitors are paid to do. /s

mllaneza
Apr 28, 2007

Veteran, Bermuda Triangle Expeditionary Force, 1993-1952




Wicaeed posted:

Another suggestion from the same person that proposed completely disabling PowerShell in our environment.

He wants to use completely random computer names for every device. Every. Device.

Laptops. Printers. Domain Controllers. Switches. Routers. Servers. Application Servers.

Like, I get it. It is harder to snoop your network and find out useful information. But at some point someone, somewhere has to WORK on the loving thing.

Some people just want to watch the world burn, other people seem to want to be set on fire.

Are they trolling your management ?

devmd01
Mar 7, 2006

Elektronik
Supersonik
We’re acquiring a division (that does what we do) of a larger company and all of their servers are in the larger company’s shared services VMware farm. Their naming scheme might as well be random, there is absolutely nothing useful in the server names to tell you anything about them - gotta refer back to the description field from the rvtools export.

We’re tossing most of them and just migrating the data, but sheesh.

AreWeDrunkYet
Jul 8, 2006

Is there a go-to book to get familiar with (on-prem) AD infrastructure concepts top to bottom for someone who has administered pieces of an AD environment? Preferably something that gets the ideas across effectively rather than one designed to help pass a test.

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

The "Cat book" is basically the AD Bible and covers all the moving pieces.

http://shop.oreilly.com/product/0636920023913.do or google search for a PDF version

Also ask questions here if you like. I'm always happy to answer AD questions.

Some of the deeper stuff is found on technet blogs and MVP blogs, but the cat book is a solid pickup. It's so solid I bought a physical copy, something I rarely do.

edit 1: Also bookmark this. https://blogs.technet.microsoft.com/askds/2010/07/27/post-graduate-ad-studies/

edit 2: Also, yes some of these articles are old, but not much has changed in AD since 2012R2.

skipdogg fucked around with this message at 21:18 on Jan 23, 2019

Gucci Loafers
May 20, 2006

Ask yourself, do you really want to talk to pair of really nice gaudy shoes?


That’s fine if they’re old. I too need to figure how AD actually works.

AreWeDrunkYet
Jul 8, 2006

skipdogg posted:

The "Cat book" is basically the AD Bible and covers all the moving pieces.

http://shop.oreilly.com/product/0636920023913.do or google search for a PDF version

Also ask questions here if you like. I'm always happy to answer AD questions.

Some of the deeper stuff is found on technet blogs and MVP blogs, but the cat book is a solid pickup. It's so solid I bought a physical copy, something I rarely do.

edit 1: Also bookmark this. https://blogs.technet.microsoft.com/askds/2010/07/27/post-graduate-ad-studies/

edit 2: Also, yes some of these articles are old, but not much has changed in AD since 2012R2.

Thanks!

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

Tab8715 posted:

That’s fine if they’re old. I too need to figure how AD actually works.

So much DNS. So so much DNS.

Bookmark this guy too, he's written some great stuff over the years that explains under the hood AD stuff

https://blogs.msmvps.com/acefekay/

Schadenboner
Aug 15, 2011

by Shine

skipdogg posted:

The "Cat book" is basically the AD Bible and covers all the moving pieces.

http://shop.oreilly.com/product/0636920023913.do or google search for a PDF version

Also ask questions here if you like. I'm always happy to answer AD questions.

Some of the deeper stuff is found on technet blogs and MVP blogs, but the cat book is a solid pickup. It's so solid I bought a physical copy, something I rarely do.

edit 1: Also bookmark this. https://blogs.technet.microsoft.com/askds/2010/07/27/post-graduate-ad-studies/

edit 2: Also, yes some of these articles are old, but not much has changed in AD since 2012R2.

Oh hey, I had that book for Server 03, good to see it's still around. I should pick up a new one, I lost mine in a flood I think.

:3:

Catte

E: I wonder if they're going to make a 6th with, like, Azure poo poo in it?

Japanese Dating Sim
Nov 12, 2003

hehe
Lipstick Apathy
Nevermind!

Japanese Dating Sim fucked around with this message at 18:55 on Jan 24, 2019

Mute_Fish
Nov 9, 2009
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.

Japanese Dating Sim
Nov 12, 2003

hehe
Lipstick Apathy

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.

Thanks! Probably shouldn't have edited my post - this should be extremely helpful.

PUBLIC TOILET
Jun 13, 2009

I haven't Googled this but I thought I'd ask here first:

What (if possible) is the easiest way to migrate a Hyper-V Ubuntu Server VM running on a Windows 10 Enterprise LTSC 2019 host to a Hyper-V Server 2016 host? Can I just do "Export", copy the file(s) to the server, then "Import" from the Hyper-V Manager?

The Fool
Oct 16, 2003


Yes

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

Japanese Dating Sim
Nov 12, 2003

hehe
Lipstick Apathy

FISHMANPET posted:

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.

I was dumb and cleared my post. I was asking about editing the optional programs list that comes up during OSD with, yeah, an MDT generated task sequence.

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