![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Logon on a user and gpedit.msc 1. I assume one can call a powershell script from the logon/logoff script section of group policy (gpedit.msc, under user configuration, windows settings, scripts logon/logonoff). Is that right? 2. I want to use a script to login a user. The script would run whenever a (remote) user logoffs (I'm attaching it to gpedit policy on logoff scripts). Can this be done, and is there sample code? I just need script to detect if there is a shutdown going on, and if not, to login a user (technically, the same user being logged off). a: A remote desktop user logoffs. b: The logoff script entered in gpedit.msc runs. c: That script logs on a local user, as long as we're not in a shutdown (as long as logoff in (a) wasn't part of a shutdown). Thanks. |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The User Profile Service failed the logon. User profile cannot be loaded. | Brink | Tutorials | 268 | 5 Days Ago 01:11 PM |
| Different user logon | Floor | Vista General | 2 | 03-17-2008 01:04 PM |
| Logon failure: the user has not been granted the requested logon typeat this computer. | shil | .NET General | 0 | 03-17-2008 12:40 PM |
| User Logon | Johnnycat | Vista account administration | 6 | 03-14-2008 10:41 AM |