I write a bundle that executes this bat file.

@echo off
type c:\temp\adminmem.txt >> \\dor-zcm1\appl\logs\adminmem.txt
del c:\temp\adminmem.txt

And I select run as USER.

I associate the bundle at night, when the devices are turned off, and specify it should start at device refresh.

I wake the devices up about 15 minutes before the users login. When The devices boot, they do a refresh when the zen agent loads. How will windows handle this bat file with no user logged in. Will it run or error?