Thursday, March 12, 2020

Veeam 10 Upgrade

I thought I would update my copies of Veeam this week.  It's always been a simple process in the past.  Mount the iso, run setup.exe and off we go.  All went well until I got the error: Unable to detect database action.  WTF???  I tried the SQL creds I thought were correct.  No go.  I opened the database in SSMS with the same credentials with no problem.  Still nothing when used in Veeam.  Reboot.  Same results.  Put in a support case with Veeam.

The next day I got a response saying I should follow the steps in this article:  https://web.archive.org/web/20151020081242/https://support.microsoft.com/en-us/kb/886549.  It has to do with the user shell paths.  Well that's it!  We changed file servers a couple of weeks ago.  I went through and made the changes in that article that still pointed to the old file server.  Reboot.  Same issue.  This time I searched the whole registry for instances of my old file server and found a dozen or so more references to it.  I updates all those with the new file server.  Reboot.  There we go!  Veeam 10 installed without another complaint.

If you recently changed file servers that affect the user shell paths, you will need to update those for Veeam to update.  No idea how that affects "database action", but it worked for me.

Thursday, January 30, 2020

Stupid....Stupid....Stupid!!!!

I noticed a discrepancy between the reporting of free space between the Server 2019 VM that is my Veeam Backup server and VMware.  The server (and Veeam, of course) reported one of my backup drives as having 4 TB free and VMware reported it as having about 1.9 TB free.  Finally I noticed my mistake.  I had over-provisioned the datastore.  Crap.  I didn't know you could do that!  I can only assume that when I added the drive to the VM, I saw that there was 13.8 TB free and meant to make the drive 13 TB in size but got fat fingered and typed in 15 TB.

Fortunately I had a 9 TB datastore that was currently unused that I could put in the Scale-out repository and could evacuate the offending datastore with space I still had available.  So that's what I did.  49 hours later and that job is still running.  I guess that's what you get when you are on 2 trunked 1 Gb network connections.

After I had the first job fail because the files were on the repository we were evacuating, I disabled the rest of the jobs.  I was hoping that would speed things up.  I guess this is the sped up time!  On top of that, this is my Sun-Thu week so I'm supposed to be off for the weekend starting tomorrow.  If this job doesn't finish before I go home tonight, I think I'll turn the backups back on tomorrow morning.  Then Saturday I'll fix my over-provisioned datastore and evacuate the repository I "borrowed".  Hopefully when I come in Monday, all will be back to normal and I can enable all the backups again.  I'm not leaving the 9 TB repository in the Scale-out repository because I'm retiring that hardware.  We've been using it since 2011 - it's time!  We're getting a Synology NAS with 10 Gb ports.  Fortunately I still have available 10 Gb ports in my switch.


Monday, August 15, 2016

Our Office 365 Adventure

No how-to here.  Just our adventure into Office 365.

So the company I work for hired a couple of new VP's.  Obviously this means they want to make their mark and show our owners that they made a good hiring choice.  One of them is a complete waste of space so we won't cover that one.  He's pretty much guaranteed to be here as long as he wants.  The other one wants to to a trial of Office 365 as part of how he is trying to impress the owners.

His goals:

Sharepoint
Document control with revision tracking
Forms with workflows
Decrease process times using the above.

I know very little about Office 365 and he has said he would take the lead in showing it's value.  He's going to do his own work and not try to use me to do it for him!  Great!  

We started out with 2 accounts, 1 for me as admin, 1 for him.  This lasted a few days and he wanted to add more.  In a few days add a few more.  The we were up to a total of 9 for this "pilot".  We got Azure AD working so now I have to delete the accounts and recreate them to use our domain.  Not a huge deal.  Then we got email migration working for one of my test users so we start migrating users. Unfortunately one big issue came up.  No public folders.  For us this is a big deal.  Now he wants to add 6 more users.  I convince him not to migrate their email because of the lack of public folders.  He doesn't really care so they don't get migrated.  Great!  6 fewer people complaining to me!

I found a solution from Microsoft on how to get the public folders working.  I ran through the steps.  Nothing.  I tried migrating my test user back to my on premises Exchange server.  Not happening.  Crap!  I've tried running through some solutions I found on migrating back and so far nothing works.  Last resort, I'm waiting until our consultant can help us out with this.

I also got wondering about how this affects my on-premises CAL count for Exchange.  It looks like an Office 365 E1 subscription IS your standard level CAL for on-premises.  Found this article explaining it.  All we are using is standard anyway so this frees up some CAL's for me.

I'll add updates as we progress with this...

1/30/2020 Update

So here we are almost 4 years later.  We've expanded to about 65 O365 E3 users and we will be accelerating that adoption to everyone over the next year.  Our MPSA with Microsoft will expire in early 2021 and I want to drop all Office related items off that renewal since we will be fully migrated to O365.  At that point we will also migrate off our on-site Exchange server to the O365 Exchange servers.

In bad news, for us anyway, Teams is replacing Skype for Business.  It just doesn't seem as easy to use although one VP with nothing better to do has spent a ton of time getting used to it and likes it now.  While we won't block Teams from being used, we have other, and in my opinion, better options.  We have also migrated from AT&T for our phones to a VOIP system using Fuze.  Fuze has a collaboration package that I think is much better than Teams.  Our issue is that we have customers that are only allowed to use certain software.  That means we need to maintain flexibility on what our people can use, and I don't have a problem with that.  Teams, Skype for Business, WebEx, GoToMeeting, Fuze Collaboration, all need to be supported.

I guess overall the migration toward Office 365 hasn't been a disaster so I guess that's a good thing.  I wish I had the time to learn more about the admin side of it.  I still have my job so I guess everyone else is good with it too!!

Friday, May 13, 2016

Windows 10 - Start Button Stops Working


So I've been running Windows 10 for some time now.  Yesterday everything was fine.  I got in to work and turned my PC on...and now the start button doesn't work.  After hours of Google searches and trying different things, here is what worked for me.  You will be working with the registry.  Don't screw it up!  You will also be deleting your profile so make sure you have copies of whatever you need in it.

  1.  Log in as another user with admin permissions.

  2.  Back up your user profile.  I just renamed mine.  c:\users\johmar to c:\users\oldjohmar.  You want to rename so you can get your desktop shortcuts and whatever other files you may need out of your old profile.

  3.  Open regedit and go to HKEY_Users.  Under there will be some big long SIDs.  Anyway, you need to look at the long ones that DON'T say "_Classes" at the end.  Expand it and go to Volatile Environment.  Find the one that is for the logon where the start button isn't working.  Delete that key - not just the Volatile Environment key, the whole thing (highlighted in yellow below.


  4.  Now go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.  There will be several long SIDs again.  Look for an entry with ".bak" on the end.  Click on it on the left side and look at the ProfileImagePath.  You are looking for the one pointing to the user profile you deleted (or renamed).  If you find one with a .bak extension on it that points to the profile you deleted, delete it.  If there is a matching SID without the .bak, delete it too.  Watch the numbers carefully and make sure you delete the right thing!!  When I fixed mine, I had a .bak file but NOT a matching SID without the .bak extension.  I don't have a .bak entry in my registry anymore so I can't show a screen capture.

  5.  Close the registry editor.
  6.  Reboot and if you did everything right, you should not get a temp profile again.
  7.  Delete the renamed profile once you are sure you no longer need any files in it.  Or don't.  It's not hurting anything sitting there.

Thursday, November 12, 2015

Remote Server Administration Tools for Windows 10 - DHCP

I installed Windows 10 on my PC a few weeks ago, along with MS Office 2016.  What a nightmare!  I was able to get along for about a month and then just got tired of dealing with things not working right.  I was going to go back to Windows 7 but then decided to "Reset This PC" under Settings/Update & Security/Recovery.  I used the option to wipe out all installed software/user data and start fresh.  So far, so good.  No major issues and everything works.  I went to install the Remote Server Admin Tools for WIndows 10 and found there was no DHCP management MMC snap-in.  Well that sucks!  There are powershell commands, but I like the old method better.  I poked around Google and found a post on reddit that tells how to do it.  Initially it didn't work for me but reading through the comments, the full answer was there.  So, here is the summary of what was needed to make it work for me.

1.  Copy dhcpsnap.dll and dhcpmgmt.msc from c:\windows\system32 from my one of my server 2012R2 dhcp servers and put them in system32 in my local pc.

2.  Copy dhcpsnap.dll.mui from c:\windows\system32\en-us on my 2012R2 dhcp server to the same folder on my pc.

3.  Open a command prompt as an administrator and type "regsvr32 dhcpsnap.dll" and press enter.

4.  Open dhcpmgmt.msc and it works like it did when I was running Windows 7!

Tuesday, October 6, 2015

Standardized Signatures in Outlook 2013/2016 Part 2

So in Part 1 we got a test standardized signature ready to go in Exchange 2013.  Now we have to enforce our signature and eliminate all signatures the users have made in Outlook.

1.  Ensure you have the ADMX's installed for your version of MS Office.  You can get the ADMX for Office 2013 here and for Office 2016 here.   I'm going to use Office 2016 in my example.

2.  Block access to create/edit/delete signatures in Outlook.  In your group policy go to User Configuration, Policies, Administrative Templates, Microsoft Outlook 2016, Outlook Options, Mail Format.  In there there is a setting Do not allow signatures for e-mail messages.  Enable it.













2.  Get rid of the Signature button in Outlook.  You need the command bar ID to gray out the Signature button.  These are listed on the Microsoft web site as Office Fluent User Interface Control Identifiers.  I could not find one for Office 2016 but I did find the one for Office 2013 here.  This will get you a zip file with a bunch of Excel spreadsheets in it.  I found the codes I needed in outlookexplorercontrols.xlsx.  I found 3 codes related to signatures; 5608, 22965 and 3766.  I put all three in my test group policy.  You need to enter it at User, Policies, Administrative Templates, Microsoft Outlook 2016, Disable Items in User Interface, Custom, Disable command bar buttons and menu items.  Enable the policy and click Show to get to be able to enter those three codes.






















Once your updated policy has gotten to your users, the signature button will now be grayed out so that users can't manually add the signature.  You may need the users to log out/log in for the policy to take effect.


Standardized Signatures in Outlook 2013/2016 Part 1

So apparently HR had nothing to do today and said they wanted to standardize everyone's email signature.  We are still in the process of migrating to Exchange 2013 so I'm not overly familiar where everything is.  With about 2 minutes of poking around I found the mail flow rules.  Googling how to best do this for a few more minutes revealed that I can pull user fields from AD for our commonized signature.  Well, that saved a ton of time over having to create over 200 custom signatures!  Now, what are the fields I'd be likely to use and what is their name in the AD database?  I few more minutes on Google and I found this.  It is a MS TechNet wiki article on Active Directory Attributes in ADUC GUI Tool.  Perfect!  Choose your ADUC tab from their TOC and it takes you to a screen capture of that tab with all the fields you need to create your signature!  Finally, the new mail flow rule signature must be in html so you can control font, size, etc.

For my test signature I'm applying the rule only to myself and appending the disclaimer.  My test "signature" is:

<div style="font-size:12pt;  font-family: 'Calibri',sans-serif;">
</br></br>
<B>%%DisplayName%%</B></br>
<B>%%Title%%</B></br>
<B>%%Company%%</B></br>
<B>%%PhoneNumber%%</B></br>
</br></br></br>
</div>

I have another mail flow rule with a disclaimer on it that follows the signature so that is why there are so many breaks.  That and I don't really know html so there is probably a much better way!

This give me a simple signature showing:

My Name
My Title
Company Name
Phone Number

in Calibri 12 font and in bold.  The info below has been changed but it is what my new simple test signature looks like at the end of an email:

John Martin
IT Director
My Company
847-123-4567

So, that's the absolute basics of it.  You can get a creative as your html abilities allow!

Part 2 will be the Group Policy changes needed to enforce this.