GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST2274/Resources/ |
Upload File : |
# # This script works on a variety of settings that are easiest done from the # local machine to make it remotely manageable by a management workstation. # Ensure Server Manager remoting is enabled Configure-SMRemoting.exe -Enable # Set some firewall rules # Enable ping requests in and out Set-NetFirewallRule –Name “FPS-ICMP4-ERQ-In” –Enabled True Set-NetFirewallRule –Name “FPS-ICMP6-ERQ-In” –Enabled True Set-NetFirewallRule –Name “FPS-ICMP4-ERQ-Out” –Enabled True Set-NetFirewallRule –Name “FPS-ICMP6-ERQ-Out” –Enabled True # Enable remote volume management - firewall rules need to be set on both # source and destination computers # ***NOTE*** Policy must also be set on system to "Allow remote access # to the Plug and Play interface" # This is done with gpedit.msc locally or gpedit for domain policy Set-NetFirewallRule –Name “RVM-VDS-In-TCP” –Enabled True Set-NetFirewallRule –Name “RVM-VDSLDR-In-TCP” –Enabled True Set-NetFirewallRule –Name “RVM-RPCSS-In-TCP” –Enabled True # Enable DCOM management requests in Set-NetFirewallRule –Name “ComPlusNetworkAccess-DCOM-In” –Enabled True # Enable remote service management Set-NetFirewallRule –Name “RemoteSvcAdmin-In-TCP” –Enabled True Set-NetFirewallRule –Name "RemoteSvcAdmin-NP-In-TCP” –Enabled True Set-NetFirewallRule –Name “RemoteSvcAdmin-RPCSS-In-TCP” –Enabled True # Enable Remote Event Log Management Set-NetFirewallRule –Name "RemoteEventLogSvc-In-TCP” –Enabled True Set-NetFirewallRule –Name “RemoteEventLogSvc-NP-In-TCP” –Enabled True Set-NetFirewallRule –Name “RemoteEventLogSvc-RPCSS-In-TCP” –Enabled True # Enable Remote Scheduled Tasks Management Set-NetFirewallRule –Name “RemoteTask-In-TCP” –Enabled True Set-NetFirewallRule –Name “RemoteTask-RPCSS-In-TCP” –Enabled True # Enable Windows Firewall Remote Management Set-NetFirewallRule –Name “RemoteFwAdmin-In-TCP” –Enabled True Set-NetFirewallRule –Name “RemoteFwAdmin-RPCSS-In-TCP” –Enabled True # Enable WMI management requests in Set-NetFirewallRule –Name “WMI-WINMGMT-In-TCP” –Enabled True # Set some services to automatically start and start them. Set-Service -Name PlugPlay -StartupType Automatic Start-Service PlugPlay Set-Service -Name RemoteRegistry -StartupType Automatic Start-Service RemoteRegistry Set-Service -Name vds -StartupType Automatic Start-Service vds # Enable Remote Desktop (Get-WmiObject Win32_TerminalServiceSetting -Namespace root\cimv2\TerminalServices).SetAllowTsConnections(1,1) | Out-Null (Get-WmiObject -Class "Win32_TSGeneralSetting" -Namespace root\cimv2\TerminalServices -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(0) | Out-Null $srvr = Read-Host "Enter name to assign to this computer:" (Get-WmiObject win32_computersystem).rename($srvr) $domain = Read-Host "Enter domain this computer should join (you will be prompted for credentials):" Add-Copmuter -DomainName $domain Write-Host -ForegroundColor Yellow "System will now be rebooted." Shutdown -r -t 5