Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, February 16, 2014 10:48 PM
Hi,
I have a TS that encrypt laptop's hard drive using Bitlocker
The TS requires a few reboots, and I want to use the script that we created to prompt the user for reboot instead of using the default reboot TS task
That script will only need to run when there is someone logged in
my question is, is there a TS variable or something that can check if there is an user logged in?
Thanks
Andy
All replies (4)
Tuesday, February 18, 2014 8:22 AM âś…Answered
Hi,
How about using a script to detect whether there is an user login?
Use PowerShell to Detect if a Workstation Is in Use
Best Regards,
Joyce Li
Monday, February 17, 2014 9:14 AM
hi bostos,
as TS were designed for os deployment, there is currently no way to check (and wait) for a user to be logged on.
greetz
Monday, February 10, 2020 5:27 AM
That link does not exist.
David Baur
Monday, February 10, 2020 7:02 PM
If you do an internet search for part of the URL "use-powershell-to-detect-if-a-workstation-is-in-use" you can find a current, working link. I won't spoil the fun by linking directly to it.
https://ccmcache.wordpress.com/ | @kevmjohnston