Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hello,

i have trying to get access from hudson-Service (continous integration):

i found 2 solution:

1. get access through createuserasprocess(...) on start of own service
( see article Subverting Vista UAC in Both 32 and 64 bit Architectures
)
- it worked but not fully happy, not all gui-apps works.
2. I load an application instance over COM and use a syscall-funtionality
(in my case Canoe.exe - but i think there are other tools)
and then i can get full access as a local User, but this is a little bit tricky.

I found the solution 2 interesting, but at this time i have not the knoledge of COM-Server and UAC. The plattforms i am interested in are Windows (Windows 7 or newer), the favorite programming languages are c++ or c# or some other compiler language.

My Questions at this topics are:
1. I have tried Simple COM-Examples and i have tried complexer COM-Samples and I didn't got it running (I will post the articles and my problems if i found it again).
2. One problem on COM-Application is how to register it so that it is running on loged User with must no the same User which started the service (the service application who should start the COM-APP it has admin privilges - so there should no problem with rights).

Does someone know working codesnippets for those topics.

I would appreciate if someone can help me.

Greetings

Ingo
Posted
Updated 2-Dec-13 7:56am
v3
Comments
Sergey Alexandrovich Kryukov 23-Sep-13 16:41pm    
Language? Platform?
—SA
ingo_1976 18-Oct-13 16:21pm    
the plattform is windows 7 or newer.
for the language i would be happy if you have a solution in c++ or c#, but i am flexible .

Sergey Alexandrovich Kryukov 18-Oct-13 16:25pm    
I would say, still not enough information. You did not ever provided links to what you are using, not event to the article...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900