So have an issue with powershell, when it runs a script at the boot up of a computer and login, if you put a CD in the drive and then eject it later and try to reboot the system, you get an error for Powershell.exe saying there is no disk. It looks for the disk apparently and requires it to reboot, even though it shouldn't matter at all or even catalog things like that I would think.

We do have a powershell script that executes on logoff that uploads data to our server, and a co-worker came up with a workaround but trying to figure out what might be the root cause of this. Can't seem to dig up much online.