MSFN Forum: Access denied after building WinPE - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Access denied after building WinPE Rate Topic: -----

#1 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 December 2007 - 02:10 PM

I got a little Problem here, I'm trying to build some scripts for WinBuilder (ever heard of 'VistaPE'? that project is using it too). VistaPE is nice, but I wanted something more along the guidelines of MS. So I tried to recreate the batch files MS delivers with the WAIK within WinBuilder scripts.

Everything went nice and the image is bootable. There is just one disturbing thing, there seem to be files in the building directory, that I don't have any write access to. After installing all the packages available, when I try to delete my working directory, I end up with "access denied" messages (using 'del /F /S /Q workdir').

The funny thing is, not even the "system" account has any write rights on those files, according to the security/permissions tab of the file properties.

So my only way to get rid of the directory is to boot to another OS and delete the files from there.

Did anyone else run into this problem?


#2 User is offline   chantszhim 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 12-November 03

Posted 01 May 2008 - 12:26 PM

I got this problem too! Still cannot be solved till now...

#3 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 01 May 2008 - 02:28 PM

I forgot to make a follow-up to this post. Here is how I solved the problem for me:
Use a working copy of the base image (thats what copype.cmd is for). Mount the working copy of the image with /mountrw to an empty directory. Make your customizations, /unmount /commit and /export the image after that to get the size down (set /compress as you need).

just don't use the /apply method (applying the image to a folder and recapturing it), I found no way to get arround the ACL issues.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy