Killroyson
Programmer
Hi all,
I am working on creating an XP embedded solution for a kiosk style project. During the first boot agent (FBA) I am running some setup and security scripts. One part of these scripts executes a function which calls LogonUser and then CreateProcessAsUser with the resulting token. These calls are being executed with no errors and I close the token handle and process and thread handles. The problem comes after this when I try to start a service or change registry keys as the Administrator (the account used normally for my FBA) and I keep getting error 5 (Access is denied).
Any input most appreciated.
I am working on creating an XP embedded solution for a kiosk style project. During the first boot agent (FBA) I am running some setup and security scripts. One part of these scripts executes a function which calls LogonUser and then CreateProcessAsUser with the resulting token. These calls are being executed with no errors and I close the token handle and process and thread handles. The problem comes after this when I try to start a service or change registry keys as the Administrator (the account used normally for my FBA) and I keep getting error 5 (Access is denied).
Any input most appreciated.