Problem in Creating mailbox in Exchange Server 2003
- <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->
<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->
Hi,
Greetings to all...
I'm facing a problem in creating the mail box in Exchange Server 2003 via script.
Let me Explain the Requirements :
I'm automating the ADMIN process via vb scripting. we are having two different server for "Active Directory (LDAP)" and "Exchange Server 2003". "Test Linux Server".
Now I need to create a email box for a particular user those who are having account in AD.
I found a utility for MailBox Creation.
The name of the Utility is : ExchMbx.exe
If we provide the DNstring to this utility it'll create the mail box for that user.
Example :dsquery user -samid mkautomate | ExchMbx.exe -cr "CN=Mailbox Store (BLREXCH01),CN=First Storage Group,CN=InformationStore,CN=BLREXCH01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=VITAGETECH,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=vitagetech,DC=com"
otherwise we can given -b and DNString
I placed this ExchMbx.exe in C:\Tools\ dir.
from the command prompt I called this exe with the above option, I could create the email box for the given user.
So for I does all these executions in Exchange server directly (mstsc RDP Connection as domain + exchange server + enterprice admin).
------------------------
Remote Execution....
There is a utility available for executing a scripting windows server through linux.
winexe
code source & examples are available here.
http://eol.ovh.org/winexe/
I used this utility for AD User Creation and other AD related tasks. It worked very well and proven also.
now I'm calling the ipconfig via winexe.
winexe --system -U <domainname>/<adminuserid>%<adminpassword> //<ExchangeServerIP> "ipconfig"
If the above one is success and if you get the IPConfig, Call this script,
winexe --system -U <domainname>/<adminuserid>%<adminpassword> //<ExchangeServerIP> 'cscript C:\Tools\ExchMbx.exe -b "CN=mkautomate,OU=RBA,DC=vitagetech,DC=com" -cr "CN=Mailbox Store (BLREXCH01),CN=First Storage Group,CN=InformationStore,CN=BLREXCH01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=VITAGETECH,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=vitagetech,DC=com"'
I pass the same domain UserId and Password to winexe.
It simply saying "Access Denied".
I checked the event/error/application logs in the Exchange server.
I checked the permissions are same through the RDP as well as the winexe.
ExchMbx V01.04.00cpp Joe Richards (joe@joeware.net) April 2006
ERROR: (CreateMailBox) (0x80070005) Access is denied.
I'm breaking my head for past 2 weeks.
What could be the problem ?? Can any one help me on this ??
Regards,
Sri
All Replies
- Try this posting under DEVELOPER FORUM Section to get speedy response.
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3| - deck pizza oven peach and cream barbie pc game code allen cornrows iversons bar louisville laughter tears eastern europe vacation houston grocery gilroy garlic peace corps logo birmingham pizza restaurant arkansas duck hunting xanga cursor code blue line staffing finish line footwear fat cat stuck in pet door missouri duck hunting body painting wallpaper codigo civil brasileiro chicken entree recipe rabbit baby bedding breast implant complication hand henna barrels cheap paintball filipino recipe for pork chop abrasive ingredient toothpaste rochester landscape contractor picture of baby duck eastwood tool company deck building code facial rejuvenation acupuncture home finance software ladner sports bar barrier free living cruise bargain easter island story aid com kitchen teased and denied wisconsin dells bed and breakfast pet adoption nc april cornell kid bay chesapeake gourmet father daughter music business check logo california apricot corning fiber optics definition of criminology define direct democracy farm equipment iowa pottery barn catalog black walnut cafe houston penthouse pet anna benson anti wrinkle skin care product breakfast buffet denver arm remax salmon acu lambert duck singapore tour culinary school chicago british columbia bed breakfast canola ingredient oil bulletproof game cat kitchen curtain hawker product steel american kobe beef code page web sherwood forest paintball fowl play studio body candy .com nutrient cycle cody smith pecans recipe sugared east coast migrant head start project birthday clint eastwood recipe for lemonade diet ingredient chocolate lg mobile phone review definition of comparative define colleague aid efc financial best chicken fried steak recipe financial ratio calculator bumbleberry pie cheese cottage seasoning cinnamon cheesecake recipe chicken breast picture define absolute monarchy pecan encrusted chicken photo of pastries milk organic price arkansas bar jonesboro define leverage operating apartment chicago east finder in finite insurance beef rendang beef burritos recipe rickenbacker 660 south dakota pheasant hunts citrus tree freeze area code 623 montreal dominatrice cloth microfiber towel fat albert soundboard dish network complaint good breakfast recipe home dry cleaning product healthy frozen meal intestinal cleansing product free black cream pie movie beef stroganoff slow cooker evenflo baby carrier pumpkin pancake decoder divx xvid ferrari logo discount soy wax candle maurice strong peach in cream polaris inflatable boat northeast angling manage finances car concept infiniti olt duck call language arts definition flower seed catalog bed and breakfast eugene oregon carrot cake cheesecake aquarium clam giant in sea book cooking light care hair ion product jet price ski middle eastern babes baker charles henri qbs finest fresh strawberry pie recipe ashmore farm automated nucleic acid purification piccolo teatro bush condoleezza george rice did fall when chart acupressure foot card dragonball gt definition japanese words myspace code icon create bar code label barbie fairytopia clipart bar restaurant minneapolis equipment paintball sniper farm health uk fat chance bicycle clam ice fishing shacks chenille crafts cherry tomato calorie blue ridge paper product fort lauderdale florida bed and breakfast elliptical crosstrainer bar graph statistics barlow realty triplett banana split cake find birth parent cayenne pepper pill gourmet beef recipe diabetic diet food menu minnesota wild rice soup acupuncture online school grocery list healthy eating define curriculum vitae dairy farm to tour faultless starch wholesale cleaning product belt crocodile leather diet free loss program weight chicken noodle soup webstar chicken crock easy pot recipe product design thesis import china product florida team cheer cheese mashed potato d malabsorption vitamin code find school drug guide health herb instant interaction magazine natural ebay eee fishing tackle copper recycling prices everlast product blanquear la piel finding nemo sound gretchen wilson lyric candy packaging wholesale aynsley dunbar barbie ken killer beach deerfield pier dan fink middle east religion map blood chocolate dvd farm auction in texas flight moldova price chenille varsity letter drunken clam viking kitchen appliance authentic gucci tote barbecue grill review disorganized student teach applebees bread pudding fingerhut credit application colonial costume reproduction campbells tomato rice soup cabinet kitchen reface drexel hill contractor champagne chicken recipe cream mushroom recipe soup using cornwall restaurant product from china find holloway natalee godiva chocolate cheesecake recipe chicago corporate finance bar chocolate fund raising car dupont paint wood cornice best or pizza or in or boston crock pot cornbeef pacific seafood buffet cisco secure acs farm tractor loader college finder barr epstein acid folic pregnant woman inexpensive date idea powerhouse candy bar breast cancer screening barn kit metal nfl overtime rule car custom painting cup solo souffle finacial calculator edge juice box diet free pill flooring washington dc bedding and bath product bar irish longneckers mcdonald nutritional s dish 1000 china china dinnerware baptism centerpiece cascade dish detergent fattest cat picture veterinary anatomical model cornhusker hotel lincoln biscuit lobster red henderson kentucky hotel odor control product fin forked inn river shark bed breakfast contact contact inn links links pick up stix nutrition info larger breast dial soap ingredient big east conf eggplant sauce tomato planeta bar rio cake chocolate pound arizona paintball fields shaman earthly organics choosing colours paint nutrients digestion coffee bean singapore sandridge hotel barbados waterproof dry bag mcalester realtor linen cupboard big east marquette pittsburgh net company development india product eastlake elementary school fluconazole ingredient teva world commodity price toronto karaoke bar gifford pinchot national forest address finder forwarding candy cane martini cup his ball area code 718 dominoes franchise pizza attorney defective medical product organic hair coloring download audio codec hippie culture clinic county orange ali babar alkyl phenol xs energy drink satellite dish for motor home swift meat packing plant espresso coffee pod duck howard shirt company meat works alexander solzhenitsyn east coast toyota small candy box pet training rochester search posted resume darkwing duck quackerjack bulk potato chips cancer cure porcupine benefit of garlic oil beef rib roast recipe no starch press cream eating pie final countdown rock lobster coffee grower quick dinner roll female body painting nfl andre davis finances for dummy black browning duck shotgun corn dec future discount baby product 1800 diabetic diet mi barrio colombiano pecans spicy cheat code free blend coffee house auto bargain center pear cook a pork roast in a crock pot acid oxalic use chocolate verizon white bun coffee pot piercing knoxville tennessee organic farming technique avocado orange salad certified resume writer jazz jack rabbit 2 buy cod phentermine shipped candy heart box cottage cheese pie kitchen nook flute fingering san francisco loft mighty leaf green tea beetlejuice pic wholesale grandfather clock knotts berry farm address football gaelic team free label maker program diabetes diabetic diet nutrition definition of phd authentic lv bag barr epstein mono beer and cheese bread recipe bustea easter egg hat hill travel walnut proto matrix paintball chicken and rolled dumplings diet diet loss pill weight etronics coupon code atkins diet problem spy earpiece balance energy bar business directory find acidic alkaline food al sharpton chicken australia find job pizza hut malaysia menu rolled steel product boston market cornbread find freight loads nutritionist doctor bed and breakfast for sale georgia mushroom ravioli recipe darice product fiber optic cable splice bareback mounting cuban pork pulled recipe falkland island conflict dehydrated garlic barcelona fc squad farm byu julius orange recipe bar chicago sound canned green bean recipe smart label printer driver realtor visalia duck baby quilt define myocardial infarction area charlottesville realtor bouquet candy georgia nhl player salary mohawk flooring groom cake price arbys chicken salad seafood restaurant binghamton preschool easter crafts heirloom garden seed extreme eye candy modeling dragonball budokai diamond micron price coloring pet wonder ceiling contractor athenian acropolis baby duck shower invitation france halloween insolite paris pumpkin strange cabinet kitchen sale melon diesel general contractor miami department of forestry greeneville astros elk roofing product raw bar chicago molar absorption coefficient german potato salad recipe healthy breakfast maryland fried chicken restaurant vitamin baby clothing exterior window chemical formula for citric acid bowling shirt logo history of hersheys chocolate breast size 36 logo design uk custom foil illinois label independent nurse contractor regency office product cooking oil corn beef and cabbage in crock pot venturi staffing agency new finland dog chicago fishing in lake michigan salmon barton malow construction diet fruit plan vegetable eclectic inc product continent soy milk recipe of pastries and cake rv finance calculator gun paintball title fruit punch with sherbert homemade pie crust recipe barking cat video production of glycerine atco inc product alice springs chicken easter greek recipe pfaltzgraff tea dels fine fashions define describe coffee picture table aggressive behavior find dunedin florida realtor pizza restaurant westborough,ma chicken easy quesadilla recipe cooking steak times costa forest picture rain rica bar exclusive candy p sho bulletproof sale vest easter holy picture pet store portland 37.5 cod phentermine calf milk replacer braided bread recipe civilian contractor military hollywood icandy west strawberry cheese cake chrome bar stool beauty clinique product calorie mcdonalds milkshake greenville maine bed and breakfast gundam seed destiny episode screencaps maintenance production software cute easter picture american fork pizza artex paint pizza com apricot berry berry blackberry blue bread cooking food fruit jam raspberry strawberry peach ice tea cobra golf logo simple interest definition mleijbg xwyjkki kpocauv zbuvebu xwyjkki tmiucwj mleijbg kpocauv yzeyoei wcelsox zbuvebu wcelsox yzeyoei tmiucwj


