Jump to content

gregfx

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by gregfx

  1. Thanks Mazin, works a treat Greg
  2. Hi, I'm having a little trouble getting a cleanup.cmd to run correctly. What I have done is copy a range of batch codes to the desktop to run certain programs from my install directory(which is in my sysprep folder) if the customer requires them. What I then wanted to do was run sysprep with a cleanup.cmd file to wipe the batch files from the desktop when the end user fires up the machine. The batch files remained after testing on a virtual PC. So I just added pause to the cmd file to see what was happening and I'm getting an access denied error for all users: This is my cleanup.cmd file. It's very basic but suits what I need to do which is just dump around 6 batch files. cmdow @ /HID DEL "%AllUsersProfile%\Desktop\"*".bat" EXIT Can anyone tell me where I'm missing something? Do I need to add access privileges somewhere? Thanks Greg Edit Little more of the puzzle is clearer. Unchecking read only off the All Users directory obviously solves the problem. How then can I set up a .cmd file to uncheck the directory for read only and then when the end user fires up the machine that all correct Windows directory functions are in place? Or is there an easier way to accomplish what I'm trying to do?
  3. Thanks pmshah, i've thought of the cleanup command but not real sure about the structure. Is there a tutorial or something? I'm also going to try with the detached program option in my winnt.sif and see if that workz. I'll keep you posted. Greg edit Detached program workz perfect mundo
  4. Hi, 1st post so please excuse the noobiness Successfully created a multiboot DVD due to all all the exceptional postings on this forum. I have one currently unsolvable issue which hopefully someone can help with. As an OEM there is now a Microsoft program which bypasses Activation validation for OEM's wishing to download and install all MS critical patches etc for the end users PC before delivery to them. It saves having to temporarily activate etc and works exceptionally well, particularly after slipstreaming Ryan's update pack into our install. Currently I have it set in under a GuiRunOnce batch file in my Winnt.sif. Problem is that it runs at around T12 which is far too early as Windows isn't installed fully at this stage. I've tried under a RunOnceEx.exe format but that runs for the end user as well as us and we don't want that too happen. Where or what do I need to do to have it only run on our install routine only and not an end user? Perhaps around T35 or so. Also I have the same issue with the Microsoft Interactive Training module that needs to be installed as part of the OEM preinstall routine. When I had it as part of GuiRunOnce command I received an error once Windows had finished installing and on the first boot that Windows couldn't find "logon.bat" which is the batch file I ran to install Interactive training. It is obviously deleted on first boot. I check and it hasn't been installed earlier obviously due to the GuiRunOnce coming in too early. thanks for any assistance forthcoming regards Greg
×
×
  • Create New...