Guest Tim_S Posted January 29, 2008 Posted January 29, 2008 I have an interesting issue... Start with System info... Windows XP Pro on a NON-AD Novell Client (4.91) NOS system with E-directory Task to accomplish: To create a scheduled task to execute c:\windows\system32\shutdown.exe -f after a specified idle period. Task must run for any user logged in to either Novell or local workstation Steps: Right click and create a scheduled task Edit properties of the task and select In the Run box enter c:\windows\system32\shutdown.exe -f In the Start In box enter c:\windows\system32 In the Run As box enter hostname\username and set password Check Enabled (scheduled task runs for specified time) On Schedule tab, in the Schedule Task box pick When Idle In the time field pick 1 minute On the Settings tab check Only start the task if the computer has been idle all other settings are default. Press apply and OK to exit. right click on task and / or wait one minute. PC will shut down as ordered. What is supposed to happen: After a minute with no keyboard/mouse input, the task should execute and log-off the user. Does it work? Yes Is there a problem? Yes Problem: If I log on as another user, task never runs. Problem in the Run as box and being logged into Novell and not a AD domain. I can run the task successfully but I can only use the current logged on user account to execute. Even if I put the local machine credentials of administrator and or use the local system account credentials, it will never execute unless both the Novell and local pc credentials match.. What I have tried: \\localws\administrator (valid account exist) \\localws\local user (valid account and will execute the shutdown but only for this user) \\nt_authority\system (system account will not run) All other setting attempts give me nothing other than running, then stop but nothing happens... not even any failures in the scheduled task log file nor in the windows application log... I think that maybe Novell Gina is ignoring the fact that the file is trying to execute using the local machines account. Why when I explicitly tell the task to run as a local account administrator the task never runs? I have tried the Winexit.scr. I have tried the NCshtdwn Novell tool any suggestions? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.