How to Get ACL for a Folder

source: https://www.netwrix.com/how_to_get_acl_for_a_folder.html NATIVE AUDITINGNETWRIX AUDITOR FOR WINDOWS FILE SERVERS Open the Powershell ISE → Create a new script using the following code: $path = “\\pdc\Shared\Accounting” #define path to the shared folder$reportpath =”C:\data\ACL.csv” #define path to export permissions report#script scans for directories under shared folder and gets acl(permissions) for all of themdir -Recurse $path | where
Read More »

How to Block USB Drives and Removable Media using Group Policy

sorce: http://woshub.com/how-to-disable-usb-drives-using-group-policy/ When connecting a new USB device to the computer, Windows automatically detects the device and installs an appropriate driver, which means that the user can almost immediately use a connected USB drive or device. In some organizations, the use of USB-devices (flash drives, USB HDDs, SD cards and so on) is blocked for
Read More »

Generare la lista degli utenti in Active Directory su Windows Server

Tramite la Windows PowerShell è possibile generare un file di testo con la lista degli utenti presenti su Windows Server. Il comando è il seguente: dsquery * -filter “(&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))” -attr sAMAccountName name title department mail -limit 0 > users.txt Il file viene generato e salvato nella directory corrente.

Exchange Autodiscover – The Active Directory SCP

fonte: https://acbrownit.com/2014/04/04/exchange-autodiscover-episode-2-attack-of-the-exchange-server/ In a previous post I explained how you can use a SRV record to resolve certificate issues with Autodiscover when your Internal domain isn’t the same as your Email domain. This time, I’m going to explain how to fix things by making changes to Exchange and Active Directory that will allow things to function
Read More »

How to set time server for Windows server 2008, SBS2011 & 2012

fonte: https://support.cultrix.co.uk/hc/en-gb/articles/202071198-How-to-set-time-server-server-2008-SBS2011-2012- First, locate your PDC Server. Open the command prompt and type: netdom /query fsmo Log in to your PDC Server and open the command prompt. Stop the W32Time service: net stop w32time Configure the external time sources, type: w32tm /config /syncfromflags:manual /manualpeerlist:0.pool.ntp.org Make your PDC a reliable time source for the clients. Type: w32tm /config /reliable:yes Start the w32time service: net
Read More »

How To Migrate Windows Server 2008 R2 Active Directory Domain Services To Windows Server 2012

fonte:http://www.elmajdal.net/WindowsServer/How_To_Migrate_Windows_Server_2008_Active_Directory_Domain_Services_To_Windows_Server_2012.aspx   To perform the below steps, you will need to use a domain account which is member member of Domain Admins and Enterprise Admins Groups and member of the Schema Admins group. I will be using the domain Administrator account which is already a member of all these groups. Migrating your Domain Controller from
Read More »