Thursday, November 19, 2015

Deleting a folder with file names that are too long to be deleted

Simple process for deleting all the contents in a folder that are too long for Windows or DOS to delete.

Create a new folder called "del" with nothing in the del folder..
Let's say the folder with all the data you want to delete is in e:\shares\public

Run this command:
robocopy e:\del e:\shares\public /mir

This process will mirror the contents of e:\del into the folder e:\shares\public

Easy peasy.

Wednesday, November 18, 2015

Fixing November 2015 issue of iphone users sending calendar acceptances over and over again

In October and November 2015, we found that in some cases, users would send calendar appointment acceptances over and over again to the meeting owner.  We think this is caused by the newest iPhone IOS update.  Here's the fix that Microsoft recommends:

1. Configure affected user's mailbox in Outlook in Online Mode (disable cache).
2. Download MFCMAPI tool from
3. In O365 web portal from the Exchange Admin Center, open the affected user's profile, then select Mailbox Features > Mobile Devices > Disable Exchange ActiveSync.
4. Remove the mailbox from the user's mobile device.
5. On the system with Outlook is configured in Online Mode, run MFCMAPI.
6. Click OK to close the Usage Notes screen.
7. Click Session > Logon.
8. Select the Outlook profile set up for the affected user.
9. Double-click the display name of the affected mailbox.
10. In the new window, expand the Root Container menu.
11. Expand ExchangeSyncData menu.
12. For each listed AirSync device, right-click the item, then select Delete Folder and select the checkbox for Hard Deletion > OK.
14. Once all listed AirSync devices have been successfully deleted, from the main navigation select Actions > Exit.
15. Select Session > Logoff.
16. Select QuickStart > Exit.
17. In O365 web portal from the Exchange Admin Center, open the affected user's profile, then select Mailbox Features > Mobile Devices > Enable Exchange ActiveSync.
18. Add the mailbox to the user's mobile device.
19. The issue should be resolved and may be monitored via the Sent Items folder of the configured Outlook.

Tuesday, November 17, 2015

Hyper-V VM stuck on stopping

On my Windows 2012 (not R2) Standard server, I run several VMs.  In the process of trying to shut them down, I consistently find an issue where insead of shutting down, the virtual machine get stuck saying "stopping"

In this helpful thread, people say that the problem is actually Routing and Remote Access (RRAS) being on the same server as the VMs.  As such, I had luck restarting the RRAS service on the affected server.  For me, this worked.  I've tried the other suggestions of killing the process - to no avail.

Sunday, November 8, 2015

Setting up SNMP via CLI (for Fortigate 40C or lower)

The Fortigate 40C doesn't have a GUI method of enabling SNMP.  This is lame.  I use PRTG Traffic Grapher to monitor bandwidth usage.  I found CLI instructions here:

I made some slight adjustments and entered these CLI commands.

config system interface
    edit "internal"
        set allowaccess ping https ssh snmp fgfm

config system snmp sysinfo
    set description "Enter your company name here"
    set location "Enter your company location here"
    set status enable

config system snmp community
   edit 1
           config hosts
                edit 1
                     set interface "internal"
                     set ip
      set name "public"
      set trap-v1-status enable
      set trap-v2c-status enable

Wednesday, November 4, 2015

Altering active DHCP scope's subnet

You can't alter an active DHCP's scope subnet.  I needed to alter a 24 bit subnet to a 23 bit subnet, but I didn't want to delete the scope (and all its DHCP reservations) and start over.  I found this post on how to alter the subnet without deleting the scope:

It worked as advertised.