นัดดา • View topic - How to delete System32\ar-SA language folders
It is currently Mon 20 Aug 2018 8:42 am

All times are UTC + 7 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to delete System32\ar-SA language folders
PostPosted: Mon 20 Jun 2016 10:49 am 
Offline
Site Admin

Joined: Fri 01 May 2009 8:55 pm
Posts: 2065
rem takeown /r=recursive /f=filename
rem icacls /t=recursive /c=continues on errors
rem rmdir /s=recursive


takeown /r /f "C:\Windows\System32\ar-SA"
takeown /r /f "C:\Windows\System32\bg-BG"
takeown /r /f "C:\Windows\System32\cs-CZ"
takeown /r /f "C:\Windows\System32\da-DK"
takeown /r /f "C:\Windows\System32\de-DE"
takeown /r /f "C:\Windows\System32\el-GR"
takeown /r /f "C:\Windows\System32\es-ES"
takeown /r /f "C:\Windows\System32\et-EE"
takeown /r /f "C:\Windows\System32\fi-FI"
takeown /r /f "C:\Windows\System32\fr-FR"
takeown /r /f "C:\Windows\System32\hr-HR"
takeown /r /f "C:\Windows\System32\hu-HU"
takeown /r /f "C:\Windows\System32\it-IT"
takeown /r /f "C:\Windows\System32\ja-JP"
takeown /r /f "C:\Windows\System32\ko-KR"
takeown /r /f "C:\Windows\System32\lt-LT"
takeown /r /f "C:\Windows\System32\lv-LV"
takeown /r /f "C:\Windows\System32\nb-NO"
takeown /r /f "C:\Windows\System32\nl-NL"
takeown /r /f "C:\Windows\System32\pl-PL"
takeown /r /f "C:\Windows\System32\pt-BR"
takeown /r /f "C:\Windows\System32\pt-PT"
takeown /r /f "C:\Windows\System32\ro-RO"
takeown /r /f "C:\Windows\System32\ru-RU"
takeown /r /f "C:\Windows\System32\sk-SK"
takeown /r /f "C:\Windows\System32\sl-SI"
takeown /r /f "C:\Windows\System32\sr-Latn-CS"
takeown /r /f "C:\Windows\System32\sv-SE"
takeown /r /f "C:\Windows\System32\tr-TR"
takeown /r /f "C:\Windows\System32\uk-UA"
takeown /r /f "C:\Windows\System32\zh-CN"
takeown /r /f "C:\Windows\System32\zh-HK"
takeown /r /f "C:\Windows\System32\zh-TW"


icacls "C:\Windows\System32\ar-SA" /t /c /grant Administrators:F
icacls "C:\Windows\System32\bg-BG" /t /c /grant Administrators:F
icacls "C:\Windows\System32\cs-CZ" /t /c /grant Administrators:F
icacls "C:\Windows\System32\da-DK" /t /c /grant Administrators:F
icacls "C:\Windows\System32\de-DE" /t /c /grant Administrators:F
icacls "C:\Windows\System32\el-GR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\es-ES" /t /c /grant Administrators:F
icacls "C:\Windows\System32\et-EE" /t /c /grant Administrators:F
icacls "C:\Windows\System32\fi-FI" /t /c /grant Administrators:F
icacls "C:\Windows\System32\fr-FR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\hr-HR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\hu-HU" /t /c /grant Administrators:F
icacls "C:\Windows\System32\it-IT" /t /c /grant Administrators:F
icacls "C:\Windows\System32\ja-JP" /t /c /grant Administrators:F
icacls "C:\Windows\System32\ko-KR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\lt-LT" /t /c /grant Administrators:F
icacls "C:\Windows\System32\lv-LV" /t /c /grant Administrators:F
icacls "C:\Windows\System32\nb-NO" /t /c /grant Administrators:F
icacls "C:\Windows\System32\nl-NL" /t /c /grant Administrators:F
icacls "C:\Windows\System32\pl-PL" /t /c /grant Administrators:F
icacls "C:\Windows\System32\pt-BR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\pt-PT" /t /c /grant Administrators:F
icacls "C:\Windows\System32\ro-RO" /t /c /grant Administrators:F
icacls "C:\Windows\System32\ru-RU" /t /c /grant Administrators:F
icacls "C:\Windows\System32\sk-SK" /t /c /grant Administrators:F
icacls "C:\Windows\System32\sl-SI" /t /c /grant Administrators:F
icacls "C:\Windows\System32\sr-Latn-CS" /t /c /grant Administrators:F
icacls "C:\Windows\System32\sv-SE" /t /c /grant Administrators:F
icacls "C:\Windows\System32\tr-TR" /t /c /grant Administrators:F
icacls "C:\Windows\System32\uk-UA" /t /c /grant Administrators:F
icacls "C:\Windows\System32\zh-CN" /t /c /grant Administrators:F
icacls "C:\Windows\System32\zh-HK" /t /c /grant Administrators:F
icacls "C:\Windows\System32\zh-TW" /t /c /grant Administrators:F


rmdir /s "C:\Windows\System32\ar-SA"
rmdir /s "C:\Windows\System32\bg-BG"
rmdir /s "C:\Windows\System32\cs-CZ"
rmdir /s "C:\Windows\System32\da-DK"
rmdir /s "C:\Windows\System32\de-DE"
rmdir /s "C:\Windows\System32\el-GR"
rmdir /s "C:\Windows\System32\es-ES"
rmdir /s "C:\Windows\System32\et-EE"
rmdir /s "C:\Windows\System32\fi-FI"
rmdir /s "C:\Windows\System32\fr-FR"
rmdir /s "C:\Windows\System32\hr-HR"
rmdir /s "C:\Windows\System32\hu-HU"
rmdir /s "C:\Windows\System32\it-IT"
rmdir /s "C:\Windows\System32\ja-JP"
rmdir /s "C:\Windows\System32\ko-KR"
rmdir /s "C:\Windows\System32\lt-LT"
rmdir /s "C:\Windows\System32\lv-LV"
rmdir /s "C:\Windows\System32\nb-NO"
rmdir /s "C:\Windows\System32\nl-NL"
rmdir /s "C:\Windows\System32\pl-PL"
rmdir /s "C:\Windows\System32\pt-BR"
rmdir /s "C:\Windows\System32\pt-PT"
rmdir /s "C:\Windows\System32\ro-RO"
rmdir /s "C:\Windows\System32\ru-RU"
rmdir /s "C:\Windows\System32\sk-SK"
rmdir /s "C:\Windows\System32\sl-SI"
rmdir /s "C:\Windows\System32\sr-Latn-CS"
rmdir /s "C:\Windows\System32\sv-SE"
rmdir /s "C:\Windows\System32\tr-TR"
rmdir /s "C:\Windows\System32\uk-UA"
rmdir /s "C:\Windows\System32\zh-CN"
rmdir /s "C:\Windows\System32\zh-HK"
rmdir /s "C:\Windows\System32\zh-TW"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: