RetainDeletedItemsFor - Command completed but no settings of username have been modified.

Group,
I'm trying to increase the retention days for deleted items on a single mailbox.  I run the command from the Technet site and it returns, "WARNING: The command completed successfully but no settings of '<user name>' have been modified."
 I verified my account has the correct permissions but it doesn't want to work.  What am I missing?
Thank you,
Jason

David, His issue is not that he can change the setting even when it's not used - his issue is that even if he does change the UseDatabaseDefaults setting to False, he can't change the RetainDeletedItemdFor setting.  And you can change several
mailbox settings that are ignored without a warning or error - another example is that you can set a mailbox size limit even when the mailbox is set to use database defaults.
Well, Im not David, but regardless, I was referring to a *Permissions* issue when you typically receive an error, not changing a mailbox setting :)
But, I think we are taking about the same thing. That is why I asked above:
"By the way, once I set : -UseDatabaseRetentionDefaults $false, it worked,
but you stated that it doesnt work for you when set to $false?"
But I  dont want to create a lot of noise for the OP, so we can argue later over a beer :)
Question for the OP: 
If you run the following, does it work, Yes or no?
set-mailbox <user> -RetainDeletedItemsFor 90:00:00:00 -RetainDeletedItemsUntilBackup $false -UseDatabaseRetentionDefaults $false
( Note the additional RetainDeletedItemsUntilBackup $false )
Twitter!:
Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

Similar Messages

  • Powershell script to set custom attribute on mailuser returns WARNING: The command completed successfully but no settings of user have been modified.

    I am trying to write a script to enable a mailuser (I do know the difference between mailuser and mailbox) and set a custom attribute for that mailuser.  Every time I run the script I get "WARNING: The command completed successfully but no settings
    of <User DN> have been modified."  Both commands being invoked work when typed manually into the exchange management shell on the exchange server itself.  I am using the same administrator account in the script, and when I login to the
    exchange server to manually run the commands, so it shouldn't be a permission issue.  Here is my script so far.  If anyone can shed some light on what I'm doing wrong, I'd appreciate it.
    $excel = new-object -com excel.application
    $wb = $excel.workbooks.open("c:\temp\testmail8.xlsx")
    $ws = $wb.Worksheets.Item(1)
    $row = 1
    $s = New-PSSession -ConfigurationName microsoft.exchange -ConnectionUri http://<Exchange Server Name>/powershell -Credential [email protected]
    Do {
    $Email = $ws.Cells.Item($row, 1).Value()
    $Cat = $ws.Cells.Item($row, 2).Value()
    invoke-command -Session $s -ScriptBlock {Enable-MailUser -ExternalEmailAddress $($args[0][0] + "@domain.com") -Identity $($args[0][0])} -ArgumentList (,$Email, $Cat)
    invoke-command -Session $s -ScriptBlock {Set-MailUser -Identity $($args[0][0]) -CustomAttribute1 $($args[0][1])} -ArgumentList (,$Email, $Cat)
    $row++
         } While ($ws.Cells.Item($row,1).Value() -ne $null)
    $excel.quit    
    Exit-PSSession

    Hi,
    I'm not sure where is wrong in your script. If you want to get more help about the script troubleshooting, I recommand you to ask a question in Script Center forum for more professional answers:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    As a workaround, please directly create a mail user in EAC and set related custom attribute to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Restore new iPad Mini from iPad 1 backup. Ican update new apps from Apple store but most of my apps have been showing the Waiting status for over 12 hours. Store shows them as installed. What gives?

    Restore new iPad Mini from iPad 1 backup. Ican update new apps from Apple store but most of my apps have been showing the Waiting status for over 12 hours. Store shows them as installed. What gives?

    If the downloads are stalled or "waiting" - try these suggestions.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • How can I get rid of ios6 ? I have had this iPad for less than 2 weeks and,ade the mistle of "upgrading" to ios6 and now my map is completely useless.  Feel like I have been robbed

    how can I get rid of ios6 ? I have had this iPad for less than 2 weeks and made the mistake of "upgrading" to ios6 and now my map is completely useless.  Feel like I have been robbed

    There are alternatives. But none of them have Google street view, able to work on iOS 6. Apple should have offered this as a beta version, for a few more months instead of inflicting us with an inferior product. This iPad will probably be my last Apple product. A shame, because until last a few days ago, I thought the iPad and iPhone were fantastic.
    Apple should quit their petty squabbling with, Google and Samsung and concentrate on supplying the best product.
    Google and Samsung must be enjoying this particular fiasco.

  • While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation a

    While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again." How to resolve it.
    How do I modify the system.

    Hi Rgardezi,
    The only reason why Acrobat installation fails and throw this error message is when there are some services running in the background causing the installer not to complete the installation. My take is try the following steps and suggest if you were able to install the products or not :
    1) Navigate to control panel and confirm that there is no line Item that talks about Acrobat. If you see Acrobat XI listed there, please remove them.
    2) Perform a selective Start up using the steps mentioned in this link.
    Please suggest if the above mentioned steps were able to resolve the query for you or not.
    Cheers,
    Kartikay Sharma

  • Hi everyone. I am trying to download ML on my iMac and when I click the download button, I am asked for my PW which I provide and then the ML icon launches in launchpad but nothing takes place. Have been trying for 2 days and this is driving me nuts. Help

    Hi everyone. I am trying to download ML on my iMac and when I click the download button, I am asked for my PW which I provide and then the ML icon launches in launchpad but nothing takes place. Have been trying for 2 days and this is driving me nuts. Help

    Yes it does and there is an indication that the software is downloading but after a few hours, it just stops without any error message. Everything simply disappears and I need to start over again. I have a superfast connection so it should no be this slow. Everything worked fine on my MBP and I am in the same place. Any ideas

  • Hi all, just downloaded a security update on my new iphone 4S.  The phone may be more secure but all the Aps icons have been downgraded in quality. Why would this be and how can I get smart looking aps back? Regards Steve

    Hi all, just downloaded a security update on my new iphone 4S.  The phone may be more secure but all the Aps icons have been downgraded in art quality why would this be.  Before the download the phone looked the business definitely high end quality now it looks like a second rate cheapo.  Please advise how to get the smart Aps icons back. Best regards SuttertonSteve

    Hi KiltedTim, as a newbie to Apple, iphones and forums I would appreciate an explanation of the 'Trolls and Mods' comments on your posting.  I presume the Mods are Apple sentinels but am I really a Troll just because I made a criticism of the new iOS version (even though I did not know I was actually doing that).  Am I a Troll to you because you personally disapprove of criticism of the new iOS or is Troll used by the community to describe anyone who speaks up if they are not happy about a change.  Please understand that by asking these questions it is not my intention to be confrontational (I’ve been called far worse than a Troll over the years) but as I’m new to the group an insight into the politics may be beneficial.  I’m an Old **** who isn’t technically gifted and may need the help of this group in the future so I don’t want to stand on anyone’s toes. Best regards Suttertonsteve.  

  • HELP! Restore complete but missing settings, contacts, etc.!!!

    I had to swap out my iPhone at the Apple Store and backed up before I brought it in. Got a new iPhone (same model - 32 GB 3GS) and when I go to restore from the backup it says restore complete but EVERYTHING is missing - contacts, email, settings, etc.
    Any help will be much appreciated!!!
    Thanks,
    Jonathan Cooper

    I brought it back because the silence "switch" stopped responding. They gave me a refurb, and when I go to restore that backup I did previously, it takes FOREVER, says it finishes and then just puts the media on. No notes, mail, settings, contacts, photos. I tried doing an older backup from when I just had the 3G and it went faster and worked. I am scared that although it is not telling me this, that the backup I need is corrupted.

  • When quitting safari I used to get a dialogue box with checkboxes, useful if I accidentally pressed command q, but now option seems to have disappeared. Any ideas why or how to retrieve it please?

    I used to get a dialogue box when quitting safari, which was useful if accidentally hitting 'command q', but has now disappeared leading to lost work etc.
    Any idea why, or how I can get this useful option back please?

    Now resolved, after chatting to Apple online support, who said they'd not heard of this happening - solved it quickly enough though.
    Anyone interested or suffering similar I was told to remove website data from privacy tab in Safari preferences. And yes, I'd love to know how it worked too.....
    Great thanks to Apple.

  • I want to reset passcode, but under settings/genereal I have only auto-lock and restrictions

    I want to reset passcode using IOS7 but in settings/general, ther is no "reset passcode'" only "auto lock" and "
    restricvtionds"

    Tap Settings -> General -> Passcode Lock -> Enter passcode -> Turn passcode off -> Enter passcode again.
    Or you can change the passcode here.

  • I am trying to reset my network settings.  I have been asked for my passcode, but I didn't know I had one?

    How do I reset my network settings on my iPad air.  I have been asked for my password.  I didn't know I had one.  Where do I find it?

    Some info for you ...
    iOS: Forgot Passcode or Device Disabled
    http://support.apple.com/kb/ht1212
    iOS Passcodes
    http://support.apple.com/kb/ht4113
    Find My iPhone Activation Lock: Removing a Device from a Previous Owner's Account
    http://support.apple.com/kb/ts4515

  • HT1947 Help!  I'm very new to my iphone and i think i might have accidentally deleted Facetime from my phone I dont have the icon anymore but my settings tell me  have it.  What do I do to get it back on my phone?  Thank you!

    Help!  I'm very new to my iphone and i think i might have accidentally deleted my Facetime although my settings tell me I have it.  How do i get it back on my phone?  Thank you.

    Built-in apps cannot be deleted. However, there never was a FaceTime icon on the iPhone. FaceTime is accessed by selecting a contact in the Contacts app, and then selecting FaceTime. The same can be done from the Contacts tab in the Phone app.

  • My bookmark toolbar is there, but all of the bookmarks have been deleted. Even if I re-add them, they are gone if I open a new window.

    When I opened up Firefox today my bookmark toolbar was completely blank. The toolbar is still there, but all the bookmarks are gone. Since I only use it for the sites I visit everyday, I just re-added them in hopes that they would stay. However when I opened up a new window they were gone again. If I open up the bookmark toolbar on the side of the screen, it will have all the pages I have attempted to have stay on the toolbar itself.

    A couple of articles that may help, as your issue seen specific to the toolbar see [[Toolbar keeps resetting]]. For other possible causes see the[[Bookmarks not saved]] article.

  • I have a S10e now with reformatted but now NTFS. I have been told that I can upgrade to Win 7.

    I have updated BIOS from AHCI to Compatible.  I have Windows 7 Home on a bootable flash drive.  When I boot, it boots fine, but after starting, it is looking for a NTFS formatted drive and needs more than 3.8G.  
    Can anyone help? 
    Any questions please ask,  I would like to get this ideapad running with Windows 7.
    Thanks for your time in advance.\
    Jack

    Hi and welcome,
    be sure that your Ideapad S10e is updated to BIOS >96  , you can get it IdeaPad S9e,S10e,S10-4329 & 4333 :  Ideapad S10e Vs. a0    that support Win7.
    For windows 7 its not necessary to set BIOS Configuration Sata mode AHCI to compatible ...
    Windows 7 should recognize your sata drive ... seems that windows 7 found only your install flashdrive (3,7GB)..
    that could be if you did not delete all partiitons ... you can prepare this before with i.e.  partitionwizard  ,
    best is delete .. all partitions and create one active primary min 30 GB thats enough for windows 7 and a second part for your data... pics movies music document.....
    sincerely KalvinKlein
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • Inbox message panel is blank, but I know that messages have been received

    I am able to send messages, and receive them, but I can't see the received messages. My POP3 inbox message panel is blank yet the Inbox indicator at the left says 10 messages. I can hear new messages come in, but I can't view them. I repaired permissions, but that didn't work. I can see them on my MBP, but not on the desktop iMac. Advice please.

    I am unable to rebuild the mailbox (greyed out) or solve the problem. However I did a workaround by creating a new mailbox and directing messages to it via a rule. Apparently no one else has had this strange problem with no apparent solution.

Maybe you are looking for