Hello,
We have a small custom app that needs to be accessed by all users. It connects to a central database. The app itself is updated occasionally, and users will always need the current version; for added fun, call center users do not have consistent seating and i am using roaming profiles.
I have the primary hdd of each machine will all perms except FC set to Domain Users. On login, a script copies the app from a central share to the local machine, creating a folder on the top level of C: and putting the app in there; it also creates a shortcut to that app on the user’s desktop (their profile). On logout, both these items are deleted.
I did it this way because i was having severe perm problems otherwise – it used to check the timestamp of the app and only copy it if it was a newer version, but the app was always owned by the previous user to log into that workstation and couldn’t be overwritten by the current user, so it failed.
This silly method of “sweeping up behind” seems to be working – except every now and then, for no apparent reason, a user gets the shortcut on their desktop but not the app, nor the folder it’s to go in. They try the shortcut and get “can’t find…” and sure enough, target folder/app is not there. Rechecking C: perms, i see Domain Users have write/modify etc. on the drive.
Long explanation there. Cheers if you’re still reading.
Why the inconsistent failure? Is this a race condition? Once login scripts are running, the user is deffo recognized as a Domain User, aren’t they…? It’s copying the shortcut, so why not the app (using xcopy in the script for both)? Any insights would be greatly appreciated.