Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username
How can i get the following done:
Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username?
i nmust do this for 16 users TODAY, SO PLEASE HELP ME OUT HERE.
Thanks in advance!!
kind regards,
Rene Veldman
System Administrator Teidem bv, The Netherlands.
Rene,
Why are you not changing the username of the existing account, instead of deleting the existing one and creating a new one?
If you truly need to delete and create new, you can save the GUID for the mailbox (Get-MailboxStatistics <mailbox alias> | Fl MailboxGuid), mail disable the existing account (Disable-Mailbox <mailbox alias>
will work), clean the mailbox database it was hosted on (Clean-MailboxDatabase
<database name>), then create your new account and recover the existing mailbox to that new account (Connect-Mailbox -Identity <Guid from before> -Database <Database name> -User <SAM account name of new account> -Alias
<what you wish to set the alias to>). In PowerShell, for all steps, you would do the following:
$MbxAlias = <mailbox alias>
$NewMbxAcct = <SAM Account Name for new account>
$NewMbxAlias = <new alias for mailbox>
$DomCtrl = (dir env:\LOGONSERVER).Value.Substring(2)
$MbxGuid = (Get-MailboxStatistics $MbxAlias -DomainController $DomCtrl).MailboxGuid
$MbxDb = (Get-Mailbox $MbxAlias -DomainController $DomCtrl).Database
Disable-Mailbox $MbxAlias
Clean-MailboxDatabase $MbxDb
Connect-Mailbox -Identity $MbxGuid -Database $MbxDb -User $NewMbxAcct -Alias $NewMbxAlias -DomainController $DomCtrl
You will need to supply the information in bold in the above commands, and you will need to create the new account before you run the above commands. I include direct use of a specific domain controller so you won't need to worry about replication.
If you are changing the account from one domain to another, this will not help, and you will need to wait for replication throughout the process, running the commands individually.
Similar Messages
-
Is it possible to prevent a user from creating and approving a JV
Hi,
Is it possible to prevent a user from creating and approving a JV. We have a rule that one user cannot do both. What happens is user#1 creates the JV, then some other user#9 approves the JV. Both user#1 and user#9 need to be able to create a JV and approve someone else's JV.
The transactions in question are...
F-02 General Posting - enter Journal Voucher (create & post)
F-65 Enter General Document - Parking (create)
FBV0 Post or Delete a Parked Document (approval)
Please let me know the details.
Thanks in advance,
regrads,
ChaksHi,
Requisition is submitted.....it means Requisition is saved or it means Requisition is Released..?
Regards,
manish -
My only Active Directory Server on win server 2008 R2 with one domain controller crashed today. The only backup that i had was IFM media.
So what i have done till now to recover it is a follow
I reintalled window server but this time it is winserver 2012. I added AD DS role to it. Promoted it to Domain Controller. (functionality level is 2008 R2)
On second server i installed win 2008 R2 and trying to add additional domain controller from IFM to recover all of my domain users,computers and GPO's. but i am getting this error
Could not replicate the directory partition CN=schema, CN= configuration, DC=XXX, DC=com from the remote domain
the naming context specified for this replication operation is invalid
i dont know weather my approach is correct or not
but my simple questions is
Can i recover my all domain computers and users from IFM and in-cooperate them in new forest ?? if yes how can i do that?? urgent help required.yup exactly i created a new domain(in new forest) with same previous name in window server 2012 on SERVER-1. As ifm file that i had was generated from 2008 r2 so on second server i installed window 2008 r2 and tried to add role of additional domain controller
from ifm file on SERVER-2 using dcpromo /adv . every step went ok but in last step when it starts replicating domain controllers it poup following error
Could not replicate the directory partition CN=schema, CN= configuration, DC=XYZ, DC=com. . .
and roll backs every thing. -
I want to see list of Disabled user from AD and LDAP
Hi
i wan see the list of disabled user from AD and LDAP and it shows in the next page as Tabular format
having all the details of AD (Attributes)Hi
i wan see the list of disabled user from AD and LDAP and it shows in the next page as Tabular format
having all the details of AD (Attributes) -
Restrict users from editing and deleting not owned items
Hello guys.
I'm trying to restrict users from editing and deleting items created by other users. I know, that it can be achieved by using SPList.WriteSecurity parameter, but if I change its value to 2 or 4 - nothing happens...
May be there are some list permissions that can override this security setting? I tried to combine permissions in different ways but users either cannot modify any items or can edit/delete all of them...
By the way, setting ReadSecurity=2 works as it should work regardless of user permissions...
Please help.Hi,
I understand that you want to change the write security for the document library. You can try the PowerShell script below:
$web = Get-SPWeb http://serverURL
$list = $web.Lists["Document library"]
$list.ReadSecurity = 2
$list.WriteSecurity =2
$list.Update()
$web.Dispose()
This setting will not affect the site collection administrator, he will always be able to edit the documents. You need to sue another account to have a test. If this still doesn't work, I think you need to manually edit the permission for each documents.
Thanks,
EnTan Ming
Entan Ming
TechNet Community Support -
every app on my ipod (2nd gen) which requires wifi connection doesn't work although the wifi mark is on. i did try restarting my ipod, resetting network setting, disconnect from wifi and reconnected it but non of them worked.
This may sound silly but try your date a time setting my ipod had the same problem and i had even checked the the date and time went all the way to the apple store for help and the genius guy just rest the date and time and it worked just fine.
-
How to delete users from Dev and Testing once it is deleted in Production
Sap Gurus,
Is there any automated way to delete the users from development and testing once it is has been deleted from production. i.e. when the administrator deletes the user from production after logging in then it should automatically delete the users from testing and development without logging on in these 2 systems (development and testing). Can anyone help me in resolving this issue.
I am very much thankful in advance..
Regards,
KaliRob,
Ok, you are right in that way I can allow only that person but I have to allow 2 persons at this time. i.e. If at all I have to allow one more person also how should I do it, and also what if the person uses different passwords in development and testing?
Thanks for your response Rob.
Kali. -
i'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected. please tell me what to do to enable me to transfer the pics
Are you syncing the photos using Itunes?
When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
Look here more detailed instructions
http://support.apple.com/kb/HT4236 -
I have accidentally deleted the trash bin in my mailbox and can no longer move any deleted mail into the trash. I thought I was removing all the emails from the trash bin but somehow managed to delete the bin instead. Does anyone know who to reinstate the bin?
You are running 10.6.8? If yes, I assume you have your install disks? As the trash bin is part of Mail app and that is an integral part of the OS, the only way I know to get it back is to reinstall the OS. You won't lose any files, just reinstall the OS over the top of the current system.
-
i live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the other person's iCloud? Can they go out of my account? Their content is saved on their iPads, but can another iCloud be on the same home computer?
The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
https://discussions.apple.com/docs/DOC-3141 -
I purchased lightroom and photoshop a week ago and installed it successfully on my new iMac. the open box iMac ended up being a lemon so i had to exchange it for a new one. best buy wiped the old computer clean. now id like to reinstall the lightroom and photoshop to my new computer but i don't know how. help!
Download and install the trial version from http://www.adobe.com/downloads.html and activate it with your serial number or Adobe ID.
-
My iPod Touch has been stolen, someone offers me to make his mine. How can I erase the informations from his iPod and make sure that my library will copy in the new one?
Restore it as new.
iPod touch User Guide (For iOS 5.1 Software) -
i buy iphone 5 from us and when i back to saudi arabia I found the model A1428 how to replace it to model suuport in saudi arabia like A1429
or A1429 will be support in saudi arabiaReturn the existing iPhone to the US if still in the return window then buy the model you want somewhere outside the US.
Only the A1428GSM and A1429CDMA are sold in the US.
Apple does not sell or offer the A1429GSM in the US.
Apple will not exchange an iPhone for a different model in a different country. -
I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all. Obviously some setting has changed but I can't find which one.
I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all. Obviously some setting has changed but I can't find which one.
-
I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.
You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.
Maybe you are looking for
-
Hi, The client is asking us to change the format of the out of th object into another format. With The existing format the result is DisplayFare: 4,673.23 and the formula used is : WhilePrintingRecords; global currencyvar DisplayFare; global currency
-
Internet Sharing broken again with 10.6.8 update?
I have used Internet Sharing for years. (SysPrefs/Sharing/Internet Sharing/Share your connection from [Ethernet] to computers using [Airport]). It is very useful in my large old house, where my iMac is connected by an ethernet cable to a WiFi route
-
Link between ME28 and ME1P Screen
Hi anybody, I want Link between ME28 Screen and ME1P Screen. When I select Material number on ME28 Screen and click button or select menu it will go to ME1P screen and display price details of that selected material number. How i wil
-
Receiving sms in labview from GSM USB Module
I am using HSUPA 7.2Mbps gsm usb module. Program is not showing any error but sms is not received.
-
Default document type for F-28 per company code wise.
Hi SAP Experts My client wants to default document types per company code wise for F-28. As per my knowledge in OBU1 is cross client and OBZO is accepting only customer invoice and credit memo but not customer payment. Please help with possible ideas