Security issues with unattended installation (Windows Deployment Services)


if type of problem has been posted, sorry, searched hours not find anything

system: windows server 2008r2

i have been plying around unattended installation (fresh bare metal). under normal circumstances systems should boot hard disk.  in case of install changes systems should use pxe install boot program , corresponding files. therefore choose to:

  1. all systems boot pxe first, second local hard drive
  2. the default boot program fro both x86 , amd64 abortpxe.com
  3. if wand system install use 'wdsutil /verbose /set-device /device:test02 /bootprogram:boot\x64\pxeboot.n12 /wdsclientunattend:wdsclientunattend\try_1.xml' set specific boot program
    'wdsutil /get-alldevices' shows correct setting
  4. the server configured 'wdsutil /set-server /resetbootprogram:yes'

the wdsclientunattend file contains credential user "deploy". security reasons want have user limited rights. here catch - if user administrator pxe server reset /bootprogram: value "". if "deploy" not member of administrators setting /bootprogram:boot\x64\pxeboot.n12 remain , system go next boot/install cycle.

could point me right direction to

  1. what minimal permission need give user "deploy"
  2. how can give permission user (i'm pretty bad active directory, please detailed)
  3. also nice pointer how can minimize rights of user "deploy" further - instance not want able login account; reseting pxe , file access user needs allowed

thanks help

my final solution - done on command line

 

# pre create computer account
wdsutil /add-device /device:test03 /id:00-15-17-4f-53-d2

# set deployment options
wdsutil /verbose /set-device /device:test03 /bootprogram:boot\x64\pxeboot.n12 /wdsclientunattend:wdsclientunattend\try_1.xml

# check options
wdsutil /get-device /device:test03

# set permissions on computer account (necessary domain join)
dsacls "cn=test03,cn=computers,dc=mshpc,dc=crtdc,dc=local" /i:t /g mshpc\deploy:ca;"reset password";
dsacls "cn=test03,cn=computers,dc=mshpc,dc=crtdc,dc=local" /i:t /g mshpc\deploy:rpwp;"account restrictions";
dsacls "cn=test03,cn=computers,dc=mshpc,dc=crtdc,dc=local" /i:t /g mshpc\deploy:rpwp;"netbootmachinefilepath";

#install

#after join successfull remove special rights
dsacls "cn=test03,cn=computers,dc=mshpc,dc=crtdc,dc=local" /r mshpc\deploy

 

regards

michael

 

note: reasons had copied wrong commands. /i:s "subobjects" - command used during testing on "cn=computers,dc=mshpc,dc=crtdc,dc=local" object. sorry confusion



Windows Server  >  Management



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...