Jump to content

Recommended Posts

Posted (edited)

This guide provides a valuable assistance in slimming Windows installation using WinToolKit and RTSevenLite. Before begin, type diskmgmt.msc in StartMenu and add a new NTFS partition with at least 20GB where extract the Windows 7 DVD, WinToolKit and RTSevenLite. This allow us to have a clean file system to format quickly in case of bugs or power loss.
 

Start RTSevenLite and set temporary directory into new partition, then choice source directory and remove features as is in RT7Lite.txt. Don't forget to setup Un-Attended! For last, start WinToolKit, set temporary directory as before, and remove 'Microsofot Windows PE' from boot.wim using WIM manager, include also Autounattend.xml. From intall.wim instead remove what you don't need loading WinToolkit.ini profile. Remember to include Chrome or Firefox installer, I've removed IE, and clean winsxs with Component Removal.

Now you can burn final ISO and install it in less of ten minutes!  :welcome:

 

http://www.wincert.net/forum/files/file/18-one-cd-windows-setup/

Edited by mickyz
Posted (edited)

This script removes any locked directory, run as Administrator with script.cmd "dir to delete".

@echo off
takeown /F %1 /R
icacls %1 /T /Q /grant "%UserName%":f
del /f/s/q %1 > nul
rmdir /s/q %1

Edited by mickyz
  • 8 months later...
Posted

This script removes any locked directory, run as Administrator with script.cmd "dir to delete".

@echo off

takeown /F %1 /R

icacls %1 /T /Q /grant "%UserName%":f

del /f/s/q %1 > nul

rmdir /s/q %1

 

howto delete just one special folder?

Posted

 

This script removes any locked directory, run as Administrator with script.cmd "dir to delete".

@echo off

takeown /F %1 /R

icacls %1 /T /Q /grant "%UserName%":f

del /f/s/q %1 > nul

rmdir /s/q %1

 

howto delete just one special folder?

 

 

the script is written to delete specific folder

just put the name of 'folder to be deleted' in the "dir to delete" area                 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...