Solved

Exchange Power Shell insufficient permissions

Posted on 2010-09-19
3
957 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
kuoh earned 300 total points
ID: 33713298
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
ID: 33713367
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
ID: 33716226
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

691 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