Darren Lewis bio photo

Darren Lewis

Professional Nerd

Twitter GitHub StackOverflow
Published: June 02, 2010

Hit this exception whilst trying to spin up a WCF test host in my Windows 7 build. Looks like UAC wants to keep us pinned down but fear not. Run the following at an elevated cmd to sort it:

netsh http add urlacl url=http://+:port/uri user=DOMAIN\user

Subbing in port, uri and in my case I used my logged in user account.