Romuald MAIRE schrieb: > Tomasz Chmielewski a écrit : >> Romuald MAIRE schrieb: >> >>> Or another idea is to add parameter to packages which says if the job >>> must be called during normal execution (like now) or ONLY with the >>> WPKG service and during the user session is opened ? >> >> It wouldn't change anything if it's started during, before or after >> session, because it would still be executed as SYSTEM or >> Administrator, not as a user which is currently logged in. >> >> What you're after is executing certain programs as a currently logged >> in user. >> >> > > Ok, but if a session is opened with user XXX, in the same time if i > check value of HKCU in command line with SYSTEM user, the value will be > registry keys of SYSTEM or XXX ??? It will show you SYSTEM's HKCU value. > I think there is no way to my problems ... Try what Marco suggested? -- Tomasz Chmielewski http://wpkg.org |