Search:

Type: Posts; User: flyguille

Search: Search took 0.04 seconds.

  1. Re: Process which is elevated as administrator, run things as non elevated, how?

    the only problem against the second example, if it fails, my vb code will not know.

    Other thing it looks like it finds the path of the program, like if you input "chrome.exe" without path, it...
  2. Re: Process which is elevated as administrator, run things as non elevated, how?

    this last one looks great, it is like it grab the shell object and make a run like if that object was wanting to run the program? It is guarantee to work in all windows? It won't be seem like a hack...
  3. Re: Process which is elevated as administrator, run things as non elevated, how?

    I already using it... the thing I can't specify the CurrentPath ... the third parameter. If there is no command line parameters , it will slide as command line parameter and by example executing...
  4. Re: Process which is elevated as administrator, run things as non elevated, how?

    But I mean it is inform as first argument the module name of the calling app.... not the called app, is that right?
  5. Re: Process which is elevated as administrator, run things as non elevated, how?

    about the code, I have question, why it splits command line arguments? if it is simple a whole string?.
    why it even reads the app.path / app.exename ??'

    I thinks it has extras I don't need.
  6. Re: Process which is elevated as administrator, run things as non elevated, how?

    1) A cybercoffe software is run elevated always bcause they needs to do so much others functions which require it.
    2) CyberCoffes don't follow microsoft rules. by example They do virtualization VHD,...
  7. Re: Process which is elevated as administrator, run things as non elevated, how?

    well, this is .NET but it is very straight forwared to pass it as VB6....




    Imports System.Runtime.InteropServices

    Public Class ChangeProcessToken
    <DllImport("advapi32.dll",...
  8. Re: Process which is elevated as administrator, run things as non elevated, how?

    investigating I thinks CreateProcessWithTokenW is what I needs... but how to get the token ID?. Anyone did use of such function?
  9. Process which is elevated as administrator, run things as non elevated, how?

    I have a problem, my cybercoffe app runs as elevated allways forcefully, and it is all fine, but if it needs run using SHELL command thirds vendor apps, and those apps don't behave well in elevated...
Results 1 to 9 of 9



Click Here to Expand Forum to Full Width