Arşiv Sahibi

Active Directory : Disable or enable Active Directory replication

1) Click Start 2) Click Run 3) Type cmd and then click OK. 4) To disable outbound replication, type the following text, and then press ENTER: repadmin /options +DISABLE_OUTBOUND_REPL 5) To re enable outbound replication, type the following text, and then press ENTER: repadmin /options -DISABLE_OUTBOUND_REPL

Powershell: Delete inactive computers from Active Directory.

In your Active Directory structure, computers that are registered but not used for a long time can cause confusion and poor performance in time; therefore, it is important to identify and erase them. Inactive computers should not only be deleted from active directory, but also from dns. The fact that a computer that is no

Powershell: Active Directory Logon Errors.

It is important in terms of security to monitor logon events on our servers. We can periodically run this PowerShell script to see if there is any suspecious logon attempt. logonFails.ps1

Powershell: Add new user accounts in Active Directory.

You would like to create bulk Active Directory user accounts; you can modify your csv file according to the below structure and run the PowerShell script. Your user accounts will be created within the respective Organizational Unit. Notice that if you have “Fine Grained Password Policy” you might need to disable it during this process

Cacti: URL polling

It refers to extracting data from device web interface. 1. Login to the device web interface and choose “code view” in the mouse right click menu in google chrome web browser. You may use any other browser as well, having the same menu option. pull_data.php We extract the temperature value with “id=361″. Now we test

Linux: How to disable IpTables?

To stop the iptables: # /etc/init.d/iptables stop In order to disable the iptables while booting: #chkconfig iptables off to start the iptables: # /etc/init.d/iptables start In order to activate the iptables while booting: #chkconfig iptabes on

Chrome: How to run in kiosk mode?

Open up Chrome’s settings. Under “Users” click “Add new user.” Give the new profile a name and picture. Make sure “Create a desktop shortcut for this user” is checked. Click “Create.” Right-click the newly-created shortcut and select “Properties.” In the “Target” field, add “–kiosk” (no quotes) to the end. Click “Apply.”

Raspberry Pi : VNC server installation

In some cases it is very useful to access Raspberry pi directly and control the desktop. We’ll see in this post how to perform VNC installation. 1. Get connected to raspberry pi via ssh terminal 2. Run the command below: 3. TightVNC will ask you to enter a password which will be used for authentication.

Powershell: Create active directory domain users

You want to create bulk user accounts according to the list you have. Your csv file should be in the form given below and if there is a “fine grained password policy” applied in your active directory, you need to make sure the given passwords in your csv file are all compatible with this policy

Powershell: Adding security group membership to active directory users and computers

PowerShell script to add members to Active Directory Security Group.