windows services - How to get runonce to run, without having to have an administrator login -
is there way force update of software using runonce, without having administrator log in, if there service running administrator running in background?
edit: main thing want able run when runonce does, i.e. before explorer starts. need able install things, without booting administrator account.
i'm not sure understand question. let me try:
the service mention, yours? if so, can add code imitate windows: service, examine runonce value , launch executable specifies. can use createprocessasuser() api launch in context of arbitrary user. after launching process, delete runonce entry.
or have misunderstood question?
edit: service not depend on user being logged in. can start update process service service starts, happen before real user logs in computer.
Comments
Post a Comment