Solved

Exchange Power Shell insufficient permissions

Posted on 2010-09-19
3
950 Views
Last Modified: 2012-05-10
Windows Smal Business Server 2008
Exchange 2007
When I try to run the following command within the Exchange 2007 Management Shell, I get the "Insufficient Permissions" error message below, and I am logged in remotely as a domain admin!

Here is the command I enter into the Exchange Management Shell:
New-ExchangeCertificate -generaterequest -keysize 2048 -subjectname "c=us, l=detroit, s=CA, o=Private Name Here,cn=mail.privatenamehere.org" -domainname  exchange.privatenamehere.org,autodiscover.privatenamehere.org,owa.privatenamehere.org -PrivateKeyExportable $true -path c:\Users\certrequest.txt

Here is the error message:
New-ExchangeCertificate : Either you cannot overwrite the outupt file c;users\certrequest.txt because it is set to read-only or you have insufficient permissions to create the certificate request.

0
Comment
Question by:cliffordgormley
3 Comments
 
LVL 6

Accepted Solution

by:
kuoh earned 300 total points
Comment Utility
Is UAC disabled or did you start the powershell window with "run as administrator" option?  I don't happen to have access to a 2008 server now, but my Win7 PC doesn't let me write to c:\ or c:\users unless I run as admin.  Have you tried another path?
0
 

Author Comment

by:cliffordgormley
Comment Utility
kuoh,
I had to Rt Clk and Run As Administrator.

Why would anybody have to do that when you are already logged in as admin????

This really is ridiculous.

Thanks for the answer!
0
 
LVL 32

Assisted Solution

by:endital1097
endital1097 earned 200 total points
Comment Utility
the root of C is protected and with UAC enabled you must run the application as adminstrator for access to write (prevents an unwanted script from causing harm when running under an administrator's credentials)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
This video discusses moving either the default database or any database to a new volume.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now