Click here to Skip to main content
15,896,063 members

Comments by glbrt.gds (Top 32 by date)

glbrt.gds 1-Feb-21 18:21pm View    
Yes, I have placed a comment there but this is a very old article and nobody responds.
I thought maybe asking a new questions could obtain some help.
glbrt.gds 24-Feb-12 14:09pm View    
But an administrator can close a service.
glbrt.gds 23-Feb-12 14:54pm View    
Then.. I don´t know what to do, I´m trying to do this because I need to keep executing an application all the time in background, It´s an app that I´ve been doing since some time ago, it is not a malware or something like that.It has some visual parts, that´s why it cant be a windows service. Do you know other way to do that?
glbrt.gds 23-Feb-12 8:05am View    
The security issue occurs when I use impersonation, from that impersonation account with administrator right. I'm using the same procedure with the same user(exactly the same code) to do others administration things like writing registry keys.
glbrt.gds 22-Feb-12 8:43am View    
I'm really sorry because maybe I don't understand you, what you mean with "to put the logging code into App1", I've trace it and the error that app1 is throwing is Invalid directory name, I've even verify into my App1 using Directory class members or FileInfo class and the path to the file, even the file is correct and it is there, I've checked it all from my App1. Other thing that I've done is Impersonated(I don't know if It is correctly written) in my App1 I've logged as administrator and then the message error change to: You have not enough privileges, one of the craziest thing I've ever seen, how couldn't have enough privileges from an administrator account... :(