User Tools

Site Tools


материалы_по_windows

This is an old revision of the document!


Материалы по Windows

Uptime and Start/Stop info

Программирование

Развертывание Active Directory

Развертывание средств администрирования Active Directory

Установка (30-40 минут)

C:\>dism /online /get-features

dism /online /enable-feature /featurename:RemoteServerAdministrationTools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-LDS

dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DNS

dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Features
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP

Запуск

  • dsa.msc - Active Directory Users and Computers
  • dnsmgmt.msc - Manage DNS
  • gpmc.msc - Manage GPO

Развертывание сервиса RADIUS

Подключение к сфере KERBEROS

!!! Синхронизировать время по NTP !!!

!!! Пользователи должны быть также заведены локально в SAM с произвольным паролем !!!

!!! В Windows 7 при логине явно указывать имя user2@CORPX.UN

!!! cmd.exe запускать с правами администратора

C:\>ksetup /setrealm CORPX.UN

C:\>ksetup /addkdc CORPX.UN server.corpX.un

C:\>ksetup /setcomputerpassword 12345678

C:\>ksetup /mapuser * *

Отключение функций авто запуска

Немедленный поиск обновлений на WSUS

C:\>wuauclt /DetectNow

Просмотр кэша DNS

ipconfig /displaydns

Аналог команды "grep"

C:\>netstat -an | find "3389"

Настройка почтовых клиентов

Настройка обозревателей Internet

DHCP, TFTP, DNS, SNTP и Syslog для Windows

Периодическое выполнение заданий

  • Select Start –> Settings –> Control Panel and double click on Scheduled Tasks.
  • Double click on Add Scheduled Task.
  • Click Next and Browse on the following screen. Find php.exe. Choose Daily on and click Next.
  • Click Next again without changing the time or date settings.
  • Click Next and Finish to close the wizard.
  • Right click on the task you just created, and select Properties.
  • Select the Schedule tab.
  • Make sure Daily is selected and click the Advanced button.
  • Check the Repeat checkbox, set it for 5 minutes and set the duration for 24 hours.
  • Click Ok
  • In the Run textbox enter the following text making sure to use the appropriate paths.
c:\xampp\php\php.exe c:\xampp\htdocs\cacti\poller.php

Подключение сетевых дисков по протоколу WebDAV

Установка и настройка инициатора iSCSI

RCMD Clients

802.1X authentication

Удаленное назначение ip адреса устройству по протоколу RARP

Run cmd as Administrator

C:\arp -s 195.19.56.254 00-05-5d-57-fe-a5

Использование Logon скриптов

C:\>notepad C:\Windows\SYSVOL\sysvol\corpX.un\scripts\logon.cmd
echo %username% %computername% %time% %date% logged on >> \\gate\share\logon.txt

MSSQL

материалы_по_windows.1495092493.txt.gz · Last modified: 2017/05/18 10:28 by val