I'm trying to do software install from our DFS replicated shares regardless of whether a user is logged in or not. Since I can't get localsystem to connect to the shares (even though I've given "domain computers" read access to share and file permssions), I thought I would do an end-run around limitations of "software deployment" (e.g. all you get is logged in user context or local system - no "run as" a specific AD account option) and use a provisioning script to do the same thing. I've created a provisioning script that maps drive letters to all servers, then copies the install.bat file to a local subdirectory (new folder in c:\software). However, when the provisioning script goes to "execute file", I can neither call the batch file directly, nor call c:\windows\system32\cmd /c "c:\software\install.bat" because the provision error is the same "file not found". I'm installing on 64bit Windows 7, and I've seen the references to using "%windir%\sysnative, but replacing c:\windows\system32 with %windir%\sysnative doesn't help.
Running Win7 64bit, I couldn't even use the (3 year old) guide on batch file programming because Win7 has a prohibition of allowing system to interactively run in the user context. No way to see what the localsystem user can see/access/etc. Ugh.
If it matters, for now we are running LD8.8 Sp4 (although hopefully not for long).
Does anyone else have any suggestions for running batch files that must access DFS share resources?