Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange 2003 RPC over HTTPS Authentication 5

Status
Not open for further replies.
Jan 14, 2008
62
US
Hello all!

I have RPC over HTTPS working fine on my domain, but there has been a little annoyance that I've finally found time to track down. I'm running a single Exchange 2003 Standard w/SP2 install.

When a user initiates the connection via Outlook, they get a login window. The login window defaults the username to "EXCHANGESERVERNAME\USERNAME" instead of "DOMAIN\USERNAME". Manually changing it to "DOMAIN\USERNAME" works, but has to be done at least once for every user. Is there a way to default it to "DOMAIN\USERNAME"? This would make things much easier for me.

Thanks for any input,

Daniel
 
Go into IIS Admin
Expand Default Web Site
Get Properties on Microsoft-Server-ActiveSync
Go to the Directory Security tab
Go to Authentication methods
Fill in the Default Domain by clicking "Select" and choosing your domain.
OK all the way out.
Open up a command-line
Type "IISRESET /noforce" - if it succeeds, you're done
If it fails, type "IISRESET" and when it finishes, test to see if things are behaving differently.

Dave Shackelford
Shackelford Consulting
 
Dave,

Thanks for the suggestion. Unfortunately, I already had the correct default domain selected. I'm using Basic Authentication if that matters .

Any other suggestions?

Thanks,

Daniel
 
I think this is an Outlook client setting - try searching for exchangeservername\username in the registry with Outlook closed, note the location and make a .reg file to update it then push that out via a script.

I never claimed to be able to fix problems but I might be able to help resolve them :)
 
Thanks, Zel.

Daniel, check this key:

HKCU\Software\Microsoft\Exchange

You should see the username and the logondomain in there, and you can change it.

Dave Shackelford
Shackelford Consulting
 
Thanks so much for pointing me in the right direction!

I was able to write batch script that runs when I import the PRF. It generates the username and domain values on the fly and throws them in a registry file that is then imported.

Thanks again for the help!

Daniel
 
Daniel - might be worth you noting the contents of the batch script in case it can help anyone in the future.

Thanks for the star and pleased you got a resolution.
 
Here is the script:

############################################################

START outlook.exe /importprf \\PATH\TO\PRF\default.prf

echo Windows Registry Editor Version 5.00 >> C:\temp.reg

echo [HKEY_CURRENT_USER\Software\Microsoft\Exchange] >> C:\temp.reg
echo "LogonDomain"="DOMAINNAME" >> C:\temp.reg
echo "UserName"="%username%" >> C:\temp.reg

REGEDIT /s C:\temp.reg

echo Y | del C:\temp.reg

###########################################################

This script only runs if the user is logging into a new computer and creating a new profile.


dw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top