Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

Dan

share|improve this question

2 Answers 2

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

 
discard

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.