Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

Wednesday, May 25, 2011

The system administrator has set policies to prevent this installation

While trying to install an msi following prompt appears

ScreenShot486

and the following event is logged in the event log

Event ID – 7000

c:\downloads\filename.msi is not permitted by software restriction policy. The Windows Installer only allows installation of unrestricted items. The authorization level returned by software restriction policy was 0x0 (status return 0x800b010c).

Resolution

This error means that there a revoked certificate your certificate repository from the maker of the software you are trying to install. Once the revoked certificate is deleted, installation would work fine.

To remove the revoked cert follow the instruction below.

Open Internet Explorer, go to Internet Options –> Contents –> Certificates –> Untrusted Publishers –> Remove the publisherScreenShot487

In my case it was Quest Software

ScreenShot489

Close Internet Explorer and try the installer, it should work fine now.

Monday, May 23, 2011

Couldn't find public folder–When Get-PublicFolderStatistics is run in Exchange 2010 SP1

 

When I tried the following cmdlet in EMS

Get-PublicFolder '\PublicfolderName' -Recurse | Get-PublicFolderStatistics

I got the following error

Couldn't find public folder "\PublicfolderName" on server "server.domain.org".
    + CategoryInfo          : InvalidData: (\PublicfolderName:PublicFolderIdParameter) [Get-PublicFolderStatistics], InvalidOperationException
    + FullyQualifiedErrorId : 773CD1AB,Microsoft.Exchange.Management.MapiTasks.GetPublicFolderStatistics

Couldn't find public folder "\PublicFolderName\subfolder" on server "server.domain.org".
    + CategoryInfo          : InvalidData: (\PublicFolderName\subfolder:PublicFolderIdParameter) [Get-PublicFolderStatistics], InvalidOperationException
    + FullyQualifiedErrorId : 773CD1AB,Microsoft.Exchange.Management.MapiTasks.GetPublicFolderStatistics

Solution

This seems to be bug (may be a feature :)

If you add the resultsize parameter to the cmdlet it works fine

Get-PublicFolder '\PublicfolderName' -Recurse | Get-PublicFolderStatistics –ResultSize unlimited

Sunday, January 23, 2011

Cannot install an application over the network on Windows 7 or Server 2008 R2

When you try to install of run an application from a network share you get the following error

Application Error: The application was unable to start correctly (0xc000000f). Click OK to close the application.

image

to resolve this issue, download the following hotfix. Install it and restart the computer.

http://support.microsoft.com/kb/978869

Wednesday, September 29, 2010

Run as Different User–Error–Service cannot be started.

ScreenShot058

Right click an app and chose run as option and provide correct credentials, following error occurs

“The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.”

To fix the above go to services, find Secondary Logon, change the startup type to manual.

Thursday, September 16, 2010

Reset trust relationship of a machine to the domain

Login as local administrator

use the following command

netdom resetpwd /Server:DCName /userd:domain\administrator /passwordd:*