T O P

Solving “Access is Denied, Unable to Remove Device”

I recently got stuck trying to remove a printer from a computer with the error “Access is Denied, Unable to Remove Device”. Here is how I fixed it:

First, stop the print spooler by opening an elevated command prompt and entering “net stop spooler” and press enter. Leave the window open.

Then head into the registry to: HKEY_CURRENT_USER\Printers\Connections and delete the offending printer

Next, go back to the command prompt and enter “net start spooler” and press enter.

That should do it!

Editing Calendar Permissions in Office365 via Powershell

First you need to connect to Office365.

Next, simply run this commandlet:
Add-MailboxFolderPermission calendar@company.com:\Calendar User guy@company.com AccessRights Author

Your accessrights options are: Owner, PublishingEditor, Editor, PublishingAuthor, Author, NonEditingAuthor, Reviewer, Contributor, AvailabilityOnly, LimitedDetails

If you’d like to get permissions, you can simply use:
Get-MailboxFolderPermission Identity calendar@company.com:\Calendar User guy@company.com

Finally, to remove permissions:

RemoveMailboxFolderPermission Identity calendar@company:\calendar user dude@company.com

Install Disk Cleanup without Rebooting Server

If you’re on Server 2008R2 and want to install Disk Cleanup, Microsoft tells you to install an update or two, enable a Windows feature, and reboot the server.

What they don’t tell you, but hide on a small TechNet article is that you can “install” disk cleanup yourself by copying two files. Basically, you’ll need to find these two bad boys if you’re running 64-bit Windows:

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

The cleanmgr.exe goes in Windows\System32 and the cleanmgr.exe.mui goes into Windows\System32\en-us folder. That’s it!

TechNet article here.

TrashBox on Buffalo Terastation

A client’s backup stopped working and started throwing a bunch of errors. Being Acronis, the errors were extremely not helpful. Finally, I found that the Buffalo Terastation had a little feature where files that were deleted (by Acronis when cleaning up old backups) were not really deleted. They were put in a TrashBox folder.

I found this document here, which highlighted this. http://sg.faq.buffalo-global.com/app/answers/detail/a_id/14207/p/31,32,515,518

If you want to turn this feature off, you can do the following:

Log into the TeraStation’s settings, navigate to Shared Folders – Shared Folder Name, and disable Recycle Bin.