Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If i use delprof2 and cmd to remotly delete profiles, which user would this be run under if no other user is given?

Many thanks


share|improve this question
up vote 2 down vote accepted

If you run something as yourself and try connect to a remote computer, Windows will normally use your account permissions. The two common ways around this are if the program has a place to give specific login details then do that, or for you to run the program as another account using Run As.

I expect delprof2 is no exception, but I haven't used it.

share|improve this answer
Thanks. Does this mean that if i give the technician user that we will be using the correct privilidge then it should run? – Fred Sep 14 '11 at 19:25
Yes, I think so, but I don't know what those would be; from reading about it, it can edit system level registry entries as part of the delete, as well as clearing the filesystem. – TessellatingHeckler Sep 14 '11 at 21:02

As TessellatingHeckler stated in his answer, a Windows application runs under the context of the user who launches the application, unless configured otherwise via credentials options in the application, or by using Run As.

Note that I'm not referring to system components, services, or web applications here, I'm only referring to applications launched interactively by a user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.