Систему поднял. Но я так понял,что RSAT не подходит, т.к. это клиентская машина.
В отчетах системы написано,что:"пар-ра GPO для этого ПК обработаны успешно. Обработаны и применены новые пар-ры" У меня в основном скрипты, которые на работают((
К примеру вот этот:
читать дальше »
@echo off
cls
:: TMP
attrib -r -s -h "%tmp%\*.*" /s /d
for /d %%B in ("%tmp%\*") do (
rd /s /q "%%B"
)
for %%B in ("%tmp%\*.*") do (
del /s /f /q "%%B"
)
:: Рабочий стол
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.doc" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.docx" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.docm" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.xls" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.xlsx" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.xlsm" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.txt" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.rar" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.zip" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.7z" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.pdf" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.jpg" /s /d
attrib -r -s -h "%USERPROFILE%\Рабочий стол\*.jpeg" /s /d
for /d %%B in ("%USERPROFILE%\Рабочий стол\*") do (
rd /s /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.doc") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.docx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.docm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.xls") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.xlsx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.xlsm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.txt") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.rar") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.zip") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.7z") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.pdf") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.jpg") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Рабочий стол\*.jpeg") do (
del /s /f /q "%%B"
)
:: Desktop
attrib -r -s -h "%USERPROFILE%\Desktop\*.doc" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.docx" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.docm" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.xls" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.xlsx" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.xlsm" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.txt" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.rar" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.zip" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.7z" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.pdf" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.jpg" /s /d
attrib -r -s -h "%USERPROFILE%\Desktop\*.jpeg" /s /d
for /d %%B in ("%USERPROFILE%\Desktop\*") do (
rd /s /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.doc") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.docx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.docm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.xls") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.xlsx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.xlsm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.txt") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.rar") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.zip") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.7z") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.pdf") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.jpg") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Desktop\*.jpeg") do (
del /s /f /q "%%B"
)
:: Мои документы
attrib -r -s -h "%USERPROFILE%\Мои документы\*.doc" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.docx" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.docm" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.xls" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.xlsx" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.xlsm" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.txt" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.rar" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.zip" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.7z" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.pdf" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.jpg" /s /d
attrib -r -s -h "%USERPROFILE%\Мои документы\*.jpeg" /s /d
for /d %%B in ("%USERPROFILE%\Мои документы\*") do (
rd /s /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.doc") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.docx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.docm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.xls") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.xlsx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.xlsm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.txt") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.rar") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.zip") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.7z") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.pdf") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.jpg") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Мои документы\*.jpeg") do (
del /s /f /q "%%B"
)
:: My Documents
attrib -r -s -h "%USERPROFILE%\My Documents\*.doc" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.docx" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.docm" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.xls" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.xlsx" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.xlsm" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.txt" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.rar" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.zip" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.7z" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.pdf" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.jpg" /s /d
attrib -r -s -h "%USERPROFILE%\My Documents\*.jpeg" /s /d
for /d %%B in ("%USERPROFILE%\My Documents\*") do (
rd /s /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.doc") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.docx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.docm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.xls") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.xlsx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.xlsm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.txt") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.rar") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.zip") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.7z") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.pdf") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.jpg") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\My Documents\*.jpeg") do (
del /s /f /q "%%B"
)
:: Documents
attrib -r -s -h "%USERPROFILE%\Documents\*.doc" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.docx" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.docm" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.xls" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.xlsx" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.xlsm" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.txt" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.rar" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.zip" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.7z" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.pdf" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.jpg" /s /d
attrib -r -s -h "%USERPROFILE%\Documents\*.jpeg" /s /d
for /d %%B in ("%USERPROFILE%\Documents\*") do (
rd /s /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.doc") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.docx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.docm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.xls") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.xlsx") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.xlsm") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.txt") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.rar") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.zip") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.7z") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.pdf") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.jpg") do (
del /s /f /q "%%B"
)
for %%B in ("%USERPROFILE%\Documents\*.jpeg") do (
del /s /f /q "%%B"
)
Подключение сетевых дисков и куча всего((