Hello, it use AutoIt to solve this problem.
There ist a command in AutoIt where you can run programs with other users rights. RunAsSet(...) So you can write an AutoIt-Script (and compile it into a exe-File) which runs the wpkg-script with higher rights. Example: RunAsSet("<user>", "<domain>", "<password>") RunWait(@ComSpec & " /c " & @ScriptDir & "\wpkg.cmd",@ScriptDir) RunAsSet() And this script <http://dict.leo.org/ende?lp=ende&p=eL4jU.&search=respectively>respectively this executable will be run as logon script. I hope this will solve your problem. Best regards Tobias Tomasz Chmielewski schrieb: > Peter Hartmann schrieb: > >> I have packages that are profile specific. Therefore I'd really like >> to run wpkg from AD when the user logs in rather than as machine >> policy. But when non-administrators log in they get many errors >> about installers failing due to insufficient rights. I've heard that >> some people use cpau. >> > > Search for Active Directory on WPKG website. > > With AD, it's possible to start a custom script (like a .bat containing > "cscript ...\wpkg.js ...") when the machine starts, shuts down, and I > think there were options to run the script when the user logs in, too > (with SYSTEM privileges). > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users