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
peak debt
Mar 11, 2001
b& :(
Nap Ghost

jassa posted:

I've been working on our Win 7 MOE, we're planning on rolling it out to 1000+ XP machines using USMT 4.0 to back up and restore user profiles. On the first day of pilot testing we encountered a user who had over 200Gb of data in her local profile (99% of which was personal data sitting in a folder on her Desktop). I'd like to make the task sequence abort if the combined size of all the user profiles exceeds 20Gb - how would you guys recommend I go about this? I was thinking a script might do it but I'm a complete novice with scripting so I'd rather avoid it if there's another solution.

I'm looking into hard-link profile migration as an alternative, but that seems like a pretty big change to make 2 weeks before the Win 7 rollout is scheduled to begin.

Two ways I can think of:
Make a task sequence step ahead of the state store that runs a script like
code:
$profilesize = (ls C:\Users\ -recurse | measure -property length -sum).Sum
if ($profilesize -gt 20000000000) { exit 1 } else { exit 0 }
That step will "fail" (due to error 1) when the profile is larger than 20GB and cancel the entire task sequence

Other way:
Make a compliance rule that runs a script like the above one. A day later you have a list of PCs whose profile is larger than 20GB then you can assign that list to helpdesk to go badger the users.

Adbot
ADBOT LOVES YOU

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

jassa posted:

Have any of you guys been able to easily and effectively disable hybrid sleep on a fleet of Win 7 x64 machines? When googling I can find heaps of discussions about disabling sleep and hibernate, but very little of any help regarding hybrid sleep. Ideally I want to disable it for the machine as part of the OSD task sequence, but I'd settle for a working user-based GPO or even a logon script at the moment.

Edit: To add a little more info, our PCs are currently set to the Balanced power plan with Sleep set to Never, and Hibernate set to Never. Users are locking their computers, going home, and coming in the next day to discover their computers in what appears to be Hybrid Sleep. If we then go in and manually turn off Hybrid Sleep mode in their power options, the machines remain powered on 24/7 like they should.

Power things are automated with powercfg.exe you can set everything there. But I don't think that's your problem, because if sleep is set to never happen, then hybrid sleep will neither. The only thing disabling hybrid sleep does is prevent PCs with lovely ACPI drivers from bluescreening when they're supposed to sleep.
But, what's so bad about PCs turning off over night? It'll save you quite a bit of money and it's nice for the environment too.

Yaos posted:

We just moved our first department to Active Directory and it was very smooth. Now we just have to get SCCM up and running and we can spend years figuring out how to silently deploy applications! Maybe if I have time figure out zerotouch deployment too and save about an hour every couple of months.

I do have a question, which patches are need for Windows XP when using Server 2008 R2? We have the GPO client side extensions but are not sure if there was another one.

Powershell definitely.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
The Skype administrators guide is up to date in the sense that they didn't really add any GPO administrability to Skype since version 4. You can disable autoupdates, file transfers and a handful of other things but nothing past that. If you want to do any further customization you'll have to edits Skype's xml configuration file which isn't too hard however. Powershell's "select-xml" command is pretty useful for that.

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

Gyshall posted:

Maybe the wrong thread, but regarding monitoring software, maybe someone can give me a recommendation for what we need -

I just started managing service at a MSP firm. What we need is a way to monitor backups of all of our 100+ clients in a way that non-tech people can look at a dashboard and see the status of our backups.

Right now, we get email alerts from Symantec/Acronis/etc which get dumped into a public folder. The problem is no one bothers to check them, so if we have a client who hasn't had a backup in six days, we have no idea about it until it is too late.

Is there anything out there that can do this? Take email alerts or SNMP/WMI/etc and read it, then display it onto a dashboard?

I've looked at a bunch of different solutions, but they all seem too complicated than just the backup portion.

The email alerts aren't a great source for a display like this because the more simple monitoring solutions don't support querying mailboxes.

The backup software should likely also log these successes/failures into the event log though which you can use for event forwarding http://technet.microsoft.com/en-us/library/cc748890.aspx
to a central server. From there you can then parse it with a monitoring software like PRTG or Zabbix or even a custom script to display some pretty squares (green for all success, yellow for 1 failed backup, red for 3).

zapateria posted:

We have network monitoring software that alerts us when hosts go down and if they come back up. What they won't do is say why if it was a valid restart (like a scheduled software update or another sysadm rebooting). This is more like a "nice to have" thing.

Windows will log an event 41 if the reboot was unexpected.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
Switch off offline files on both PCs it's likely you are viewing the cache on one of them.

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

jassa posted:

Just got a call from a panicked coworker (at 12:30am on a Sunday) who committed the ultimate SCCM 2007 R2 mistake - he accidentally deleted a couple of collections, including the All Systems collection. From initial searching it looks like this can effectively recreate the All Systems collection (the alternative being to reinstall SP2 apparently) but it's looking like the other collection is gone forever and I have no idea exactly what was/wasn't advertised to it. I was hoping I could help this guy restore the collections without involving the sysadmin team and managers, but it's beginning to look like I'll have no choice but to get them involved.

Have any of you been through this sort of experience with SCCM collection deletion? I'm surprised there doesn't seem to be any sort of undelete function at all.

In the SCCM backup directory in the SiteDBServer subdirectory you will have a backup of the SQL database as an MDF file. You can restore that to a different database under a temporary name, then you can get the rules back from the v_CollectionRuleQuery view.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
As long as you only have 1-3 sites, WDS/MDT is more than enough to image PCs. SCCM only starts to really shine on complex environments with dozens of locations, different forests and varying languages.

But note that if you already use System Center for patching, software deployment or something else, you don't need to pay any additional money for imaging. You pay your flat $60 per client no matter how many features you use.

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

dotalchemy posted:

Company computer should equate to no reasonable expectation of privacy.

Depends on your country, in Germany taking automated screenshots is illegal even if you do mention it in the employment contract. Logging URLs is allowed, but capturing website content isn't.

To capture the URLs you can push out a proxy to the PC by a group policy, then use the log files of the proxy. As for the applications, you could use SCCM to log their run times but that's generally quite useless since the productivity apps generally run in the background all the time. So what you're likely going to find out is that someone starts Outlook at 8:05 and quits at 17:12 but you have no idea whether he spent that whole time playing web games or answering mails.

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

Sacred Cow posted:

Adobe updates are pretty easy on SCCM with System Center Update Publisher. Just subscribe to the Adobe update feeds and publish to SCCM. Java on the other hand is still a huge pain in the rear end. Trying to get 32-bit v7 Java to deploy on a x64 OS was a nightmare.

Nightmare as in "extract the MSI then install that"?

peak debt
Mar 11, 2001
b& :(
Nap Ghost
Ever since Vista came out you should have been using GPPs for network drives
http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx

peak debt
Mar 11, 2001
b& :(
Nap Ghost
In general you don't really clone stuff nowadays anymore. The problems you get with unwanted settings and drivers being taken over to the other machine are just too troublesome. Automated installations do quick provisioning of new machines much better, whether you do it homebrew style with unattend files and scripts, fancier with SCCM task sequences or really fancy with Orchestrator.
That way you have a clean new install where you know exactly what is and isn't on the machine.

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

EAT THE EGGS RICOLA posted:

Wait, there must be a way that doesn't suck to manage proxy config settings and stuff. That's ridiculous.

Proxy settings should go in DHCP setting 252 because they're a property of the network, and not of the computer account. If you put them in a group policy and the user takes his laptop to a hotel, that group policy will still apply, IE will search for a proxy it can't reach and they can't get on the Internet.

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

hihifellow posted:

Even if you can't get him to do that, at least try to convince him to make the domains subdomains of the main org. Seven separate domains sounds like an administrative nightmare on top of the time wasted keeping them straight.

If you do that without fixing the underlying problems I give it like two weeks before everyone is put into the Enterprise Admin group since they can't work as Domain Admins anymore.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
At the simplest level, do the delegation by going to the OU where everybody is in, and delegate Full Control to some "AD Administrators" group you create then put everybody into that group. That's functionally identical to people being Domain Admins, so nobody will be able to bitch about not having the rights to do their AD jobs, but you have the certainty they can't do additional stuff like shut down DCs and move FSMOs.

You can always finegrain it down further by location and job role later (aka never, but the important part of the job has been done).

peak debt
Mar 11, 2001
b& :(
Nap Ghost
What I found out is that many driver packages as downloaded from the manufacturer are extremely oversized. I think I once saw a 50MB ZIP download that consisted out of 700kB of drivers and 49.3MB of poo poo nobody needs. So you can definitely slim down your packages if you want to do the work.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
One issue that was 100% reproducible was that if you added the touchpad driver for the 2530p to SCCM, all installations of 2510p laptops bluescreened. I had to edit the inf file for that driver to remove the hardware ID of the 2510 device to get that to work.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
System Center Essentials was an SCCM 2007 thing, it has since been replaced by Windows Intune, which is essentially a web interface cloud SCCM. It does updates, software installations and inventory but won't do imaging. It also annoyingly tries to push you towards Windows 8 through licensing deals. It's not terrible but doesn't compare too well to real deployment solutions, personally I would only recommend it for supersmall offices (like <20 PCs).

peak debt
Mar 11, 2001
b& :(
Nap Ghost
By putting all the group policies that have something to do with them to NOOOOOOOOOOO

peak debt
Mar 11, 2001
b& :(
Nap Ghost
If you use a subdomain there's the problem of naming though. You could call your domain COMPANY and log on as COMPANY\username but then your FQDN is company.company.com which looks stupid. Or you use ad.company.com as FQDN, but then your accounts are AD\username which also looks stupid. Or you could use company.com as the domain, but then your website won't work from internal IPs! You can't win :cry:

peak debt
Mar 11, 2001
b& :(
Nap Ghost
DHCP doesn't need to be on Windows servers at all, but if you want to do DNS on something other than domain controllers you're signing up to a lifetime subscription to "WHY IS MY LOGON SLOW / WHY ARE MY CERTIFICATES NOT WORKING" tickets.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
contenttransfermanager.log and clientlocation.log is what you probably want to be looking in if the content status is all green in the SCCM console but the clients aren't getting their stuff.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
I always deleted the required deployment in the morning when we did our Windows XP to 7 upgrade, and recreated it once the next office came up. Everything else seemed a bit like leaving a loaded gun lying around.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
You could just learn Powershell instead of paying a bazillion dollars for what's basically a fancy click and play game design software.

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

lol internet. posted:

Thanks!

What the heck are the chances of that. I thought I was going crazy today, but as a side note for those SCCM users, is there anyway to really test if a app will reboot on a user? I mean.. whenever I test on myself, it's all fine and dandy, but when it goes to a user, it just happens to reboot, then I need to come back and re-test some more. Obviously I should have a "test" group I should push out to first before everyone, but even then, having a machine reboot on a person is a pain in the rear end.

It's completely possible that an installation will want a reboot in some cases but not in others, mostly due to applications being open and locking files. To get a 100% certain answer on whether an installation will _ever_ reboot you'd have to open up the MSI in an MSI editor and check the reboot conditions.
If it doesn't have any, or all of its condition can be safely taken care of by pskilling certain processes then you're fine.

Mind that even with an msiexec REBOOT=Suppress the installer will still return a 3010 code to SCCM so SCCM will still believe it'll need a reboot.

But, don't sweat it that much. SCCM will only reboot without user interaction if nobody is logged in. If somebody is, the countdown will go down to 0:00 and be stuck there until somebody confirms the prompt.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
If the SAP guys can export the data you need to an MSSQL DB you can query that quite easily:
code:
$connection = New-Object System.Data.SqlClient.SqlConnection
$connection.ConnectionString = "server=sql26;Integrated Security=true;Database=STUFF"

$connection.Open()

$command = $connection.CreateCommand()
$command.CommandText = "select foo from bar where name='joe'"
$result = $command.ExecuteReader()
$table = new-object "System.Data.DataTable"
$table.Load($result)

$table

$connection.Close()
You can then use that data in Set-ADUser

peak debt
Mar 11, 2001
b& :(
Nap Ghost
DNS is a security risk because hackers can guess what a server does from its name.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
MBAM doesn't really do anything new though, it just puts a fancier UI on everything. Even without it, you can activate Bitlocker by group policy and store the recovery keys in AD.

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

Number19 posted:

I was running my build and capture routine today and ran into this:

http://ardamis.com/2014/06/12/microsoft-security-update-kb2965788-requires-multiple-restarts/

I normally get around this poo poo by using offline servicing to apply the update that causes multiple reboots. Unfortunately, it seems that offline servicing determines that this update is not required and won't install it. It does become required somehow during the build and capture routine though. The funny thing is if I run the routine without that update and then go and try to apply the update using offline servicing on the captured image, it installs. This all makes sense because...uh...Microsoft? :shepface:

I get why it is marked as not applicable then becomes applicable later but nonetheless come the gently caress on Microsoft. Either fix SCCM so these updates don't break task sequences or fix the updates so they don't break SCCM. These updates are like landmines in the updates catalog that you have to be careful of lest you run into one and waste hours of your time.

I need a drink.

FYI: http://support.microsoft.com/kb/2894518 is a good link to have on hand as a list of lovely updates that cause this issue.

You can't do those updates with "Apply Updates" but you can wrap them up in a package and put them onto the machine with "Install Package" if you select "Installer reboots the computer on its own".

peak debt
Mar 11, 2001
b& :(
Nap Ghost
Has anyone implemented a proper Word macro signing solution in their domain? I've looked around but there doesn't seem to be a Microsoft step-for-step guide, or best practices FAQ for that.

As far as I've seen:
- The default setting is that both unsigned and signed macros pop up a warning, then execute if you confirm that warning.
- You can set a group policy to run every macro, unsigned or signed, automatically. Aka the bend me over setting.
- You can set a group policy to never run an unsigned macro and pop up a warning for signed ones.

What you notably cannot do is set a policy to never run unsigned macros and always run signed ones.

We have a shitload of macro enabled word documents, so disabling them isn't an option. Forcing people to constantly click on confirm prompts isn't going to be a popular decision, and it's not like conditioning users to automatically click on "Enable" 200 times a day is going to do positive things to security anyway.

I'm kind of wondering what to do here...

peak debt
Mar 11, 2001
b& :(
Nap Ghost
I tried the Trusted Locations thingy too. Unfortunately it takes precedence over macro signing so if you add the standard file drive to the trusted locations, and somebody saves an unsigned macro there, it runs, even if you have the group policy "Only run signed macros" activated. What happened to deny over allow, Microsoft :mad:

peak debt
Mar 11, 2001
b& :(
Nap Ghost
We use IPSEC, it seems weird to do your encryption on layer 5 if you can do it on layer 3...

peak debt
Mar 11, 2001
b& :(
Nap Ghost
They'd probably argue that if you had millions for software licensing you should be able to afford to hire a licensing specialist for a week every year...

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

Greg Jackson posted:

Is there an easy way to get this done? We do it on our virtual desktops using group policy (I believe, I didn't do it myself), these are standalone laptops not on a domain?

Everything you can do in group policy you can also do in local policy. Run rsop.msc on one of the virtual desktops to see what policies are set.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
20k ought to be enough for anybody

peak debt
Mar 11, 2001
b& :(
Nap Ghost
Plus another 5k desktop.inis

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

itskage posted:

However it makes more sense to me to just go unto DNS, make a CNAME for printers and point it at newserver. Then in GP make it \\printers\. That way in the future when printers get moved again, you just change the CNAME.

This used to be a recommended thing, but ever since certificates started getting popular it doesn't work that well anymore. Won't be a problem for printers yet but don't count on it working forever.

peak debt
Mar 11, 2001
b& :(
Nap Ghost
No, the only thing that ABE does is hide files if they aren't accessible, they don't modify rights at all. You could hide a file by enabling ABE and removing read rights, but then they cannot read the file even if they do know the path.

What you are trying to do isn't possible, "read file" and "list folder contents" are the same bit in Windows file rights.

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

Maneki Neko posted:

So are there ANY useful details on MS14-066 out there (aka SSLMAGEDDON) so I can figure out how much to freak the gently caress out?

I'm assuming anything behind a LB or reverse proxy is fine?

Chances are quite a few of your SSL ports will be forwarded, for web servers, RDS gateways, proxies, SCCM distribution points etc.

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

angry armadillo posted:

I can't really do that either with this network ;)

I can give you a 100% guarantee that the users of that super-safe offline-only computer are using USB sticks on a daily basis to transfer their work files onto that machine hth

Adbot
ADBOT LOVES YOU

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

FISHMANPET posted:

Does anyone know how to setup a SCCM lab/test/dev/whatever environment alongside a production environment? I don't what the boundaries to collide have have clients start registering with my test instance, but I'm not sure what I need to do to keep the separated.

Also 2012 R2 SP1/2012 SP2 has been released, which supports Win 10 clients. There was a test SCCM instance here when I started, and I'd like to actually start using it, to test, among other things, upgrading to SP1, but I don't want to clobber my production instance.

The easiest way to do that is to not publish the test SCCM settings into AD, and not have any system discovery or client push installations. That way you're forced to manually set the SCCM site on the clients that should contact that server - either by setting in in the Control Panel or as a command line option to ccmsetup.exe. But that guarantees that only clients you want to talk to the test server will do so.

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