Does anyone know how I can get a logoff script to run with administrative privileges? I need to kill off some open memory handles that are causing profiles to fail to unload, and only the mighty handle.exe from SysInternals can seem to cut the mustard via a bit of quick batch. However it appears that handle.exe needs admin rights to run. I have tried RunAs and it can't be passed a password, also psexec won't execute the file properly from the netlogon share, so I am kind of running out of options.
If anyone knows how this can be elevated (or, alternatively, any rights or permissions changes that may make handle.exe run for a limited user), then I would be extremely grateful. TIA, JRR ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
