Exectable not running for normal user and then dissappearing ? Not doing any thing
-
Hello All, I have developed an Executable in MFC which runs different instances for different number of users. Every thing works fine untill I am running that executable with account which is part of 'Administrators' group. but when I try to start it from a normal user with limited rights and even after giving the folder rights to be accessed by 'everyone' , the executable comes into action for a second and dissapears , also it is not making any log for the time duration it comes into picture . Can some body suggest me what must be happening .As I am totally sytuck here and have no idea as to what is happening :( Kushagra
-
Hello All, I have developed an Executable in MFC which runs different instances for different number of users. Every thing works fine untill I am running that executable with account which is part of 'Administrators' group. but when I try to start it from a normal user with limited rights and even after giving the folder rights to be accessed by 'everyone' , the executable comes into action for a second and dissapears , also it is not making any log for the time duration it comes into picture . Can some body suggest me what must be happening .As I am totally sytuck here and have no idea as to what is happening :( Kushagra
-
the admin-exe process has higher rights than the user-exe process so it got killed of course some security issues... Vista or W7 ? :-O
Press F1 for help or google it. Greetings from Germany
The thing is that this is not getting executed even for restricted users in Windows XP and Windows 2003 , I am not able to find our why . :(
-
Hello All, I have developed an Executable in MFC which runs different instances for different number of users. Every thing works fine untill I am running that executable with account which is part of 'Administrators' group. but when I try to start it from a normal user with limited rights and even after giving the folder rights to be accessed by 'everyone' , the executable comes into action for a second and dissapears , also it is not making any log for the time duration it comes into picture . Can some body suggest me what must be happening .As I am totally sytuck here and have no idea as to what is happening :( Kushagra
Kushagra Tiwari wrote:
.As I am totally sytuck here and have no idea as to what is happening
Use the debugger to step into the code?
“Follow your bliss.” – Joseph Campbell
-
Kushagra Tiwari wrote:
.As I am totally sytuck here and have no idea as to what is happening
Use the debugger to step into the code?
“Follow your bliss.” – Joseph Campbell
Finally I got the clue .. using restricted user failed to open certain registry sections in read-write mode... Sometimes u even forget that u always have debugger to help you out :) .thanks for help. Kushagra
-
Hello All, I have developed an Executable in MFC which runs different instances for different number of users. Every thing works fine untill I am running that executable with account which is part of 'Administrators' group. but when I try to start it from a normal user with limited rights and even after giving the folder rights to be accessed by 'everyone' , the executable comes into action for a second and dissapears , also it is not making any log for the time duration it comes into picture . Can some body suggest me what must be happening .As I am totally sytuck here and have no idea as to what is happening :( Kushagra
some tipps - use of functions or dlls which arent supported in xp - check whether the manifest or linker settings require admins rights - debug in user mode - take out functionality up till it works (that would i do) The hard way: if nothings works, consider making a new and empty porject and than stepwise adding the functionality and proof whether every step is destroying X| good luck
Press F1 for help or google it. Greetings from Germany
-
Finally I got the clue .. using restricted user failed to open certain registry sections in read-write mode... Sometimes u even forget that u always have debugger to help you out :) .thanks for help. Kushagra
Kushagra Tiwari wrote:
Finally I got the clue .. using restricted user failed to open certain registry sections in read-write mode... Sometimes u even forget that u always have debugger to help you out. thanks for help.
You're welcome. Always remember the debugger. No, really. :)
“Follow your bliss.” – Joseph Campbell