Access is denied msg after scheduled powershell script uses Quest ActiveRoles 7.1 Management Shell

My customer asked me to create scheduled task uses cmdlets from Quest ActiveRoles 7.1 Management Shell. Missing documentation caused my long fight with ‘Access is denied’ monster.

Fully Qualified Error ID = System.UnauthorizedAccessException,Quest.ActiveRoles.ArsPowerShellSnapIn.Commands.RemoveGroupMemberCmdlet2

System.UnauthorizedAccessException: Access is denied.
at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()
at System.DirectoryServices.DirectoryEntry.CommitChanges()
at Quest.ActiveRoles.ArsPowerShellSnapIn.DirectoryAccess.AdsiDirectoryObject.SetInfo()
at Quest.ActiveRoles.ArsPowerShellSnapIn.BusinessLogic.ObjectCache.Save(IEnumerable`1 controls)
at Quest.ActiveRoles.ArsPowerShellSnapIn.Commands.RemoveGroupMemberCmdlet2.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()

But solution is so easy, you have to first use this cmdlet

Connect-QADService -Service "quest_server.fqdn" -Proxy

How to download inaccessible updates from Microsoft site

If you need download updates for unsupported operating system as is Windows XP, for example NLS support for Remote Desktop Client from URL resp. URL you’ll got error message

We're sorry, this download is no longer available.

There is way how to download it trough Windows Update Catalog site here:

Now you can download the file


That’s all

Sharing e-mail domain between Office 365 and Kerio Connect

Sharing e-mail domain as it described in title of this post it by Microsoft isn’t recommended solution, but possible.

Office 365 PowerShell Basics

To connect to Office 365 you need to download and install “Microsoft Online Services Sign-in Assistant” and to know how to do it. There are some tips.

DPM Server: how to hardlink eseutil.exe using Fsutil

Quick hint is here:


Another cmdLet commands to get Exchange Server version

Run under PowerShell on Exchange Server:


How quickly set up MS SCCM DPM 2012 R2 Agent

First, you have to copy installation folder from DPM server “\\DPMSERVER\agents\RA\4.2.1273.0” to local folder , for example “c:\install\DPM”.


PES Installation failed with error “The supplied password does not match this encryption key’s password”

Password Export Server installation failed after typing password for the .pes file that was generated in the target domain with error


TMG service ISASTGCTRL failed with %%-1073741823

TMG Server Enterprise Edition after recovery from old backup doesn’t TMG show management console and service ISASTGCTRL is stopped. In Event Viewer is error:

The ISASTGCTRL service terminated with the following error: %%-1073741823


User cannot sync mobile phone with ActiveSync

Desperate admin. All settings of ActiveSync’s profile are set correctly but sync doesn’t run. Another users’ mobile sync run. What’s wrong? Error record in Event log reports problem “Access is denied” and some about “msExchangeActiveSyncDevices” permission


1 2 3