Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


kiwidj

Corrupt permissions on XP SP3 C: drive using unattended build and WinP

1 post in this topic

Hi I'm having issues with out unattended build process, basically this has been working fine for XP SP1 & SP2 but for some reason this has stopped working correctly for SP3.

Basically the issue is the build will complete successfully but when you view the permissions set on C: there are corrupt permissions there, such as:

C:

Administrators (HOSTNAME\Administrators) : Full Control

S-1-5-21-918433936-2086638591-69549339-1108 : Modify

S-1-5-21-918433936-2086638591-69549339-1112 : Read & Execute

It's obviously not matching the SID with the group (SYSTEM & Users I think) but I'm not sure why.. the permission on the folders below are set correctly??

Here's the build process we're using (this has been done in vbscript but I've listed it here in batch script for readability..):

diskpart

select disk 0
clean
create partition primary
select partition 1
active
format quick fs=ntfs label="SYSTEM"
assign letter=c
exit

md c:\Source
md c:\Source\Control
copy M:\Deploy\Builds\OPTIMIZED\subbuild\unattend.txt c:\Source\Control\*.*
md c:\Sysprep
copy M:\Deploy\Builds\OPTIMIZED\subbuild\sysprep.inf c:\Sysprep\*.*
imagex /apply M:\Build\Source\WindowsXPSP3.wim 1 C:


md c:\drivers
copy "C:\Source\Control\Build.cmd" "X:\Build.cmd" : (See below for build.cmd details..)
x:\Build.cmd
peshutdown /reboot

BUILD.CMD

cscript //nologo M:\Control\updatedrvpath.vbs C:\Source\Control\unattend.txt c:\drivers

cscript //nologo M:\Control\updatedrvpath.vbs C:\SysPrep\SysPrep.inf c:\drivers

C:\Source\OS\i386\winnt32.exe /unattend1:C:\Source\Control\unattend.txt /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /s:C:\Source\OS\i386 /syspart:c: /tempdrive:c: /copysource:lang /debug4:C:\source\OSdebug.log

I've tested the wim (I386) source is okay and not corrupt, have created a new version of the unattend.txt using MDT2008 Update 1 and this also gives me the same corrupt permissions.. so it must me an issue with my process and with SP3??

This also does not seem to be hardware specific, virtual or physical I get the same results..

Any ideas why this might be happening??

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.