Posts

Office 365 Shared Mailbox Auto Reply

Office 365 shared mailboxes are a great way to store old employee data for free. Sadly, it’s not easy to set an auto reply from the GUI. The line PowerShell line below will configure auto reply for a shared mailbox. Set-MailboxAutoReplyConfiguration  -Identity USER@EXAMPLE.COM -AutoReplyState enabled -externalMessage '*Message*' You can also specify an -internalMessage

Control Printer Redirection on a Per User Basis

Image
If you have ever dealt with RDS you know the pain that is printer redirection. You will have some users that need printer redirection, and others that can't have it because it causes issues(see diagram below). The standard GPO methods only allow you to configure it for the entire server, not per user. The methods below require you to have a Remote Desktop Gateway. Also, this will not work if you have DUO 2FA configured. This Guide is intended to reduce issues with printer redirection. We will be creating a GPO that will enable printer redirection, and a Connection Authorization Policy that will allow us to disable redirection for some users. This guide assumes the following about the site you are working on: Users that have redirected printers will want to have it as their default (this is a hard requirement, but read "Things to keep in mind" for possible workarounds) Only the local computer default printer will be redirected When this is configured t...

Advanced Crash Investigation Using Crash Dumps

Image
This guide is intended to give you an idea on how to use crash dumps to find the root cause of an application crash. I don't really know how to fully utilize crash dumps, but I know enough to get some data out of them. Following these steps will not lead you to a window that says "here is the problem". Rather, it will give you a bunch of information that you will need to piece together to find the cause of the problem. Prerequisites Watch this video at the linked time:  https://youtu.be/qouxznNC2XU?t=4224  (it will make this guide 100x easier to read) Download WinDbg on your computer  https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools You might need to download the whole ADK, but you only need to install WinDbg Enable application dumps on the machine   https://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx I enabled Mini dumps in this case, but you might need Full Dumps in some cases...

Best Practices for Deploying User Profile Disks

Image
Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а 𝐭 ]amorales[․]org Last Updated 2020-01-03 After months of testing I recommend deploying FSLogix Profile Containers instead of User Profile Disks. You can find my guide here . Some of the items below apply to FSL Profile Containers.  User Profile Disks (UPDs) are great for load balanced RDS farms since it allows users to seamlessly roam from server to server. The goal of this article will be to configure the RDS and file servers in a way that maximizes performance and reduces the likelihood of UPD disconnects. I'll keep this updated any time I find new improvements. Use FSLogix Before you even consider deploying UPDs you need to be aware of  this limitation . On Server 2012 and 2016 (Server 2019 does not have this issue,  but it doesn't support Office ) the Windows Search index is machine wide. This means that when a UPD is disconnected the user's index data is d...