Solved

Exchange Power Shell insufficient permissions

Posted on 2010-09-19
3
956 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In-place Upgrading Dirsync to Azure AD Connect
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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