Windows Firewall Inbound Dynamic RPC

To create a rule that allows inbound network traffic to the RPC Endpoint Mapper service

  1. On MBRSVR1, in Group Policy Management Editor for your server GPO, in the navigation pane, right-click Inbound Rules, and then click New rule.
  2. On the Rule Type page, click Custom, and then click Next.
  3. In the This program path text box, type %systemroot%\system32\svchost.exe.
  4. Next to Services, click Customize.
  5. Click Apply to this service, select Remote Procedure Call (RPC) with a short name of RpcSs, click OK, and then click Next.
  6. On the warning about conflicting with Windows service-hardening rules, click Yes.
  7. On the Protocol and Ports page, for Protocol type, select TCP.
  8. For Local Port, select RPC Endpoint Mapper, and then click Next.
  9. On the Scope page, click Next.
  10. On the Action page, click Next.
  11. On the Profile page, clear the Private and Public check boxes, and then click Next.
  12. On the Name page, type Allow RPC Endpoint Mapper, and then click Finish.

Or:  netsh advfirewall firewall add rule name="Allow RPC" protocol=tcp service=rpcss dir=in action=allow profile=domain


 Source: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc732839(v=ws.10)
 

Windows - Send message using IP list

$ListofIPs = Get-Content "<filepath\filename>";
foreach($i in $listofips){
    msg /SERVER:$i * /TIME:300 "Message"
}


Fix Bug Phpmyadmin [sql.lib.php] + Php7.2 + Ubuntu 16.04

Edit file: 

/usr/share/phpmyadmin/libraries/sql.lib.php

Change this (line #601):

|| (count($analyzed_sql_results[‘select_expr’] == 1)

there's a missing close bracket ‘)’ before operation with 1. So i changed it to:

|| (count($analyzed_sql_results[‘select_expr’]) == 1

ntp.br ntp servers

Servidores ntp.br
a.st1.ntp.br     200.160.7.186 / 2001:12ff:0:7::186
b.st1.ntp.br     201.49.148.135
c.st1.ntp.br     200.186.125.195
d.st1.ntp.br     200.20.186.76
a.ntp.br         200.160.0.8 / 2001:12ff::8
b.ntp.br         200.189.40.8
c.ntp.br         200.192.232.8
gps.ntp.br       200.160.7.193 / 2001:12ff:0:7::193

Install MSIX with powershell

 Add-AppxPackage -Path "C:\Users\MyUserName\Downloads\affinity-designer-2.0.0.msix" -DependencyPath " https://aka.ms/Microsof...

Mais vistos