How does the deploy.exe switch work for resetting permissions with a domain account its no very intuitive

deploy.exe permissions -u

deploy can be used to set permissions by doing the following:

deploy.exe permissions --destination="C:\inetpub\wwwroot\squaredupv3" --user="MYDOMAIN\MYUSER"

(switches can be –destination and –user or -d and -u, it doesn’t matter)

You mention this isn’t very intuitive – but this makes me wonder why/where you’re using this command? Calling it directly is mainly intended for scripted/silent installs. You shouldn’t be using this yourself for run-of-the-mill installations, since the user/domain is available in the installer UI.

Perhaps you could elaborate on what you’re trying to achieve? (Maybe by asking a new question, if appropriate?)