Monday, November 02, 2015

Google Drive iOS App Not Working

I ran into an issue this week where iOS devices weren't able to open the Google Drive application. The users were getting the error "Device Policy Alert: Looks like your device isn't updated with the latest security policy. Please try again later.", despite the "Google Apps Device Policy Payload" being installed.

Long story short, the resolution was that the Apple Push certificate for the Google Apps domain had expired. Updating that fixed the access issues. Instructions for doing that are available on Google's support site:

Thursday, September 03, 2015

Group Policy WMI Filter for Server Core vs GUI on Windows Server 2012 R2

Windows Server 2012 R2 makes it "easy" to transition between a core server and one with varying states of GUI. Unfortunately this makes it harder to apply GPOs to machines since the old SKU filters will no longer work (for example setting PowerShell as the default shell on core servers). Luckily you can query the installed features on the machine directly to check what type of server it currently is: 

Server Core

Select * from Win32_OptionalFeature WHERE Name = "Server-Gui-Shell" AND InstallState = 2

Some to full GUI

Select * from Win32_OptionalFeature WHERE Name = "Server-Gui-Shell" AND InstallState = 1

Thursday, July 23, 2015

HP USB Key Utility for Windows 2.0.0.0 Download Link

Searching forever on HP's site, I couldn't find a link to the latest 2.0.0.0 version of their HP USB Key Utility for Windows. The updated utility is 64 bit and is needed for the latest HP Service Pack for ProLiant as the size has creeped up larger than a single layer DVD. The product page exists but doesn't have a download button:
https://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_745bddb33d674536b0ec23d829#tab-history

Going through their FTP site I was able to find a download link:
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows/p1576607567/v102163/cp024879.exe


Friday, October 17, 2014

Fixing Blank Calendar with Chrome 38 and Outlook Web App (OWA) on Exchange 2013

So there's an issue with Chrome 38 and higher and Exchange 2013 Outlook Web App (OWA): the calendar will fail to load any data effectively showing up blank for users. You'll also see the error in the client headers as "ClientError;exMsg=Uncaught SyntaxError: Unexpected token );file=https://mail.corp.com/owa/15.0.995.29/owa2/scripts/boot.0.mouse.js:11". This is not the  modalDialog issue that's causing issues with OWA 2010, it's an issue with Chrome's V8 javascript engine their array object definition.

The fix is pretty simple to implement. On one of your mailbox servers copy the contents of: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\prem\15.0.995.29\scripts\ to a directory on your workstation (may want to make a backup copy on the server just in case). There's no need to copy any subdirectories, only the root js files. Also note that you may have a different version number in there: 15.0.995.29 is Update 6.

Using Notepad++, find and replace in all files in the directory on your local machine: replace '"values"in n' with 'n.hasOwnProperty("values")' (without the surounding 's). On 15.0.995.29 this was 42 replacements:


Copy the updated files back to all of your Exchange Mailbox servers (if you segregate your CAS and MB hosts, you only need to update on the MB hosts as they do the actual site rendering). Also after you update the files there's no need to cycle the AppPool, clients just need to logout and log back into OWA (if you have a NetScaler or similar load balancer in between doing any form of caching you may need to refresh that).

You can actually see Microsoft's implemented the same fix for this in the Office 365 release chain; they added the fix between 16.0.411.0 and 16.0.411.1:
https://r1.res.office365.com/owa/prem/16.0.411.0/scripts/boot.0.mouse.js
https://r1.res.office365.com/owa/prem/16.0.411.1/scripts/boot.0.mouse.js


Credit to finding the root issue goes to adamk@chromium.org, the Chrome issue is here:
https://code.google.com/p/chromium/issues/detail?id=409858

Update for Chrome looks like it's coming down the pipeline soon, should also be in the Exchange 2013 Update 7 in late November.

Wednesday, February 22, 2012

"The file name you specified is not valid or too long" with SharePoint 2010 Mapped Drives

Ran into an issue today with using mapped drives in Windows 7 and a SharePoint 2010 Document Library. Making new files worked just fine, but when trying to move files between folders I was getting the error: "The file name you specified is not valid or too long".

Long story short, it turns out the WebDAV support in Windows 7 doesn't seem to like certain characters in paths, specifically space in this case (although I assume there are others). In this case it didn't like that the Document Library was at:
http://sharepoint/docs/Documents%20And%20Things

This is with WebClnt.dll 6.1.7601.21728, which is the most recent I could track down.

The work around is to rename the document library. Since you can't do this directly from the SharePoint web interface, I had to do it using SharePoint Workspaces. Once the library was renamed, it's working properly now.

Wednesday, August 10, 2011

Eject for Mac OSX (or OS X)

Tired of getting the "Device Removal" dialog box in OSX every time you pull out your USB flash drive or iPod?
I present "Eject" a two tap utility for OS X that will display a dialog of all of your mounted disks. Select one, click "Choose", and Finder will eject it.



And the Automater Workflow if you want to tweak it:
http://dl.dropbox.com/u/5396315/Eject/Eject_Workflow.zip

Monday, June 28, 2010

Note on Deploying Adobe CS5

Found this tidbit in the Adobe Enterprise Deployment guide. At least they're upfront about not being user or administrator friendly:
The CS5 applications do not implement application preferences in a consistent manner across applications, nor do the implementations conform to existing platform standards.