BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| WIN FAQ: Changing Permissions for Files in WINNT After Sysprep is Run |
 |
|
|
By: Cliff Hobbs
Posted On: 8/18/2003
Problem: I need to give "Users" Modify permission on a file located in C:\Winnt for an old app to run properly.
We use Ghost to image PC's. I can set the permission on the file before uploading the image, however we automate the execution of Sysprep, PC name, and addition of the PC account to the domain so that the technicians do not need to do anything after the image is dropped.
It seems that Sysprep re-permissions the file back to "Users" Read.
Is there a way to either script the "Modify" permission after Sysprep runs or is there some kind of Resource Kit utility that I can call that sets permissions on files?
Contributed By: Darryl Wagner Try using the cacls.exe or xcacls.exe utility out of the Resource Kit. You can run it from your script, or make a batch file and run once in task scheduler, or you can put the command in the runonce registry key into your unattended install.
|
 |
 |
 |
|
|