Logon or Startup Script - Which changes a local folder's permissions
Posted on 2008-11-04
Recently a bad CRM application update was pushed, causing users to not be able to launch the application. This update cannot be rolled back.
The culprit folder was quickly discovered, and the remedy was to change the permissions on this folder to users/full control.
We used Altiris to push a VBS script which renames this folder from Cache to Cache_Old - this way when users log onto the application folder it is recreated with "file owner" permissions.
Regardless, Altiris is not yet setup correctly and only corrected 40% of the enterprise workstations.
Would there be a way to configure a .vbs script (logon or startuo) that can activley change the permissions of the folder without giving the user local admin rights, or having to manaually adjust each workstation?
If it helps, the path to the culprit folder is:
C:\Documents and Settings\All Users\Application Data\SalesLogix\Cache
I'm still very novice and a beginner in scripting and can only configure simple add printer scripts or similar - so any simplified help is greatly appeciated.