Tuesday, December 20, 2022

Install the Active Directory Users and Computers Using the Command Line

You can install the Active Directory console on Windows 10 via the Сommand prompt (DISM tool) or with PowerShell. To verify if the RSAT ActiveDirectory feature is installed, open a command prompt as an administrator, and run the command:

DISM.exe /Online /Get-CapabilityInfo /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

Capability Identity : Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Name : Rsat.ActiveDirectory.DS-LDS.Tools
State : Not Present
Display Name : RSAT: Active Directory Domain Services and Lightweight Directory Services Tools
Description : Active Directory Domain Services (AD DS) and Active Directory Lightweight Directory Services (AD LDS) Tools include snap-ins and command-line tools for remotely managing AD DS and AD LDS on Windows Server.
Download Size : 5.23 MB
Install Size : 17.35 MB

dsa.msc windows 10

The screenshot above shows the RSAT Active Directory feature is not installed. To install, you need to run the command:

DISM /Online /Add-Capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

active directory snap in

Now check the status of AD RSAT. It should be changed to State: Installed.

install dsa.msc

Use PowerShell cmdlets to install the Active Directory snap-in on Windows 10.

Get RSAT Active Directory component status:

Get-WindowsCapability -Online | Where-Object {$_.Name -like "RSAT.ActiveDirectory*"}

Install it:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

mmc active directory

RSAT components are downloaded over the Internet from Windows Update servers. 

This will install the Bitlocker tab that lets you see codes assigned to the users machines if you use this feature

Add-WindowsCapability -Online -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0

It is installed in Windows Administrative Tools

Tuesday, December 13, 2022

Reopen a browser tab that was accidently closed

CTRL + SHIFT + T    (Chrome or Edge)

or if in Edge, 

Right click a tab and select "Reopen Closed Tab"

Tuesday, November 29, 2022

Connect PTZ Optics camera to OBS using network RTSP

Cameras like PTZ Optics or similar can be connected to OBS using the RTSP protocol.

In the PTZ optics cameras, there is an RTSP protocol enabled.  

If you want to connect your cameras via the network, you can use this method:

By default, it uses port 554


Make sure that RTSP is enabled and changes applied



Create a media source in OBS

DESELECT "LocalFile"

DESELECT "Restart Playback when source become available"

and put in the following information in the "INPUT" box

rtsp://CamerIP:554/1

Select "OK" 

Wait a couple of seconds, the video should show up. , there is a network delay in this video, so unless all your cameras use the same methodology it may or may not be the right solution for you.

Sunday, September 18, 2022

Stream SRT with OBS or between OBS instances

Send SRT video between OBS instances across internet or local LAN

tl;dr;

  • On your source OBS, open the OBS "stream" settings

    SERVER:  replace the IP/FQDN and port to reflect your system
    srt://Destination_WAN_or_LAN_IP_Address:PORT?latency=200000

    STREAM KEY:
    leave entry blank

  • On the destination OBS (OBS receiving the SRT feed)
  • create a "media source"
  • UNCHECK "Local File"
  • Uncheck "Restart playback when source becomes active"
  • for "INPUT" put in the following syntax

    srt://LocalOBS_IP:PORT?mode=listener&latency=5000
  • If you are sending this video across the internet, Open firewall ports on internet for your receiving OBS to allow the UDP port into your network and point it to the IP of your OBS that is receiving the video
  • Click start stream, video should show up

DETAILED instructions

On your source OBS system

  • go to the stream settings and put in the following:

    srt://Destination_WAN_or_LAN_IP_Address:PORT?latency=200000

    Example syntax.  This example in this document uses port 37491.
    srt://333.444.555.666:37491?latency=200000

A screenshot of a computer

AI-generated content may be incorrect.

SET OBS TO RECIEVE SRT VIDEO

  • In OBS, we'll create a new scene called "SRT LISTENER" 
  • create a Media Source 

A screenshot of a computer

AI-generated content may be incorrect.

Inside MEDIA SOURCE

  • UNCHECK "Local File"
  • Uncheck "Restart playback when source becomes active"
  • in "INPUT" we'll put in the following syntax
    srt://LocalOBS_IP:PORT?mode=listener&latency=5000

    "LocalOBS_IP" is the local IP of the computer running your receiving OBS application.

If the computer's IP is 192.168.0.5, the IP we put in the OBS system.  This example uses port 37491.

    srt://192.168.0.5:37491?mode=listener&latency=5000

A screenshot of a computer

AI-generated content may be incorrect.

Select OK to save your changes.

Now you need to open the port in your firewall of your receiving network connection.
You will need to open a UDP port and point it to the IP of your OBS receiving computer. 

In this example, if you were sending the video across the internet, you would open port 37491 and point it to 192.168.0.5
Search for instructions for your router's firewall configuration settings to get details how to do this.

Assuming the receiving end is ready, press "START STREAMING" on your source OBS and it show the green box in the lower right corner of OBS.

A screenshot of a video recording program

AI-generated content may be incorrect.