Scripting - File Server migration using robocopy command

In the past we managed 2008 to 2016 migration and so I am taking note about robocopy syntax that it was useful during this project. (focused on file servers migration)

Approach was replicating root folder on new server, enabling share (on new server), stopping old share folder and finally launching this command (from old file  server) for final folder synchronization.

robocopy local_drive:\localfoldername \\remote_server\remote_share_name /E /COPYALL /SEC /MIR /ZB /W:1 /R:1 /LOG:C:\locallogfolder\SYNC_OLDSERVER_VS_NEWSERVER_DATE_TIME.LOG /TEE 

/SEC it replicate security permissions

/Tee it enable video logging real time display

/SECFIX it fix security permissions

Meanwhile I am adding  old blog articles links:

Backup - Robocopy and real time monitoring of any file changes

https://www.alessandromazzanti.com/2016/09/backup-robocopy-and-real-time.html

Scritping - Using robocopy to replicate files to remote location on scheduled tasks and sending final log and status email

https://www.alessandromazzanti.com/2014/01/scritping-use-robocopy-to-replicate.html

Backup – Lista dei comandi di Robocopy

https://www.alessandromazzanti.com/2013/02/backup-lista-dei-comandi-di-robocopy.html

Tips - How to migrate file server share and permissions

https://www.alessandromazzanti.com/2015/11/tips-how-to-migrate-file-server-share.html

Scripting - Inviare una mail da riga di comando in windows

https://www.alessandromazzanti.com/2011/01/inviare-una-mail-da-riga-di-comando-in.html

Veeam - How to restore all your infrastructure having only Veeam Backups

I am taking note about an interesting article that simple explain on how proceeding to restore your all infrastructure having only Veeam Backups available.

https://www.veeam.com/blog/restoring-infrastructure-from-scratch-with-veeam.html

Tips - Windows 10 /Outlook Emoticons shortcuts

 There is an easy and quick way to insert Emoticons using Windows 10/Outlook.

You simply need to press


 Windows button in conjunction with . (DOT/period button) 








Script - How to enumerate/export, to .CSV, shared Folder/Subfolders Security permissions

It is important to verify shared folder permissions to find any misconfiguration.

I found an interesting script that easily enumerates all shared folders and it creates a .csv file (for reporting purposes).

Here it is relative script and link:

https://social.technet.microsoft.com/wiki/contents/articles/51422.how-to-export-folder-permissions-to-excel-or-csv-file.aspx

This powershell script enumerates all folder and subfolders permissions of a folder and exporting it to ,csv file.


An alternative article (that I did no test)





Freeware - Blue Screen View tool #Nirsoft

Blue screen view è un’utile strumento che permette di consultare i report generati dagli errori delle BSOD (Sleep of Death), cioè le famose schermate blu di blocco tipiche dei computer Windows che compaiono quando il sistema operativo va in crash per qualche motivo. 
Con l’ausilio di questo programma sarà possibile capire la natura del problema e successivamente di porvi rimedio se possibile. 

BlueScreenView Nirsoft 


 ------------------- 
 Blue screen view is an useful tool that allows you to browse reports, generated by BSOD, that is O.S. windows typical screen appearing when computer crashes. 
This tool will give you an aid determining root problem cause (and fix it) 

BlueScreenView Nirsoft 

Security - RemotePotato0 0-Day vulnerability

There is 0-day a vulnerability that affect all Windows versions permitting to gain Domain Admin permissions.

This attack use NTLM (old authentication protocol that was substituted by Kerberos), Microsoft suggest to disable NTLM (or configure servers to block NTLM relay). For the moment no patches are available (and it is not clear if Microsoft will never release it)

Meanwhile you can create 0patch account and install their patches.

Consider that O.S./SW no longer supported could benefits 0Patch platform patches/fixes

 https://blog.0patch.com/2022/01/free-micropatches-for-remotepotato0.html

[original article]

https://www.hwupgrade.it/news/sistemi-operativi/falla-0-day-remotepotato0-su-windows-cos-e-e-come-risolvere-temporaneamente_103969.html

https://www.securityinfo.it/2022/01/14/microsoft-non-si-muove-patch-ufficiosa-per-la-falla-remote-potato0