Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn
myITforum.com, Powered by You.
you are not logged in

Articles

Newslinks

Links

Downloads

Site Services

Community Forums

Discussion Lists

Article Search

Newsletter

Web Blogs

FAQs

Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us

Register

Login

BRONZE PARTNER:

BRONZE PARTNER:



Industry News:




  Home : Articles : Windows print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
WIN FAQ: Changing Permissions for Files in WINNT After Sysprep is Run


Bookmark and Share

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.

  myITforum.com ©2010 | Legal | Privacy