Skip to content
Home » General

General

General Tech Information, How-To’s, Tips, Tools, and Guides

DESTINATION PATH TOO LONG – ERROR

We are in 2024, entering into 2025, and most people still suffer from this ridiculous error, even after enabling long file names in GPEdit and also in the Registry.



To get around it, use ROBOCOPY

Open a command prompt as administrator

cd into the directory you want to copy from

know the path to the directory you want to copy the files to.

execute the command

the format will look like this:
robocopy . “D:\DestinationDirectory” /E /COPYALL /R:0

robocopy .
means robocopy everything in this directory and its sub directories

SPEED UP YOUR SYNOLOGY WITH THIS

By default your MTU is 1500. Here is how you increase it to 9000 to enable Jumbo Frames, with no network impact. It will speed up your system because it does not have to repeatedly send the header info on every small packet.

Login into your Synology

Go to Control Panel

Select Network

Then go to Network Interface

Select Lan 1

Then press Edit

Checkmark MTU and set the value to 9000

Click Ok

Click Yes

Then do the same for Lan 2

Thats it. You now have jumbo frames

UNABLE TO ADD MOVIES TO PLEX ON A SYNOLOGY

This is a common issue when you first install the synology.

To fix it you simply need to allow the proper permissions on the Share.

Log into your synology

Click Control Panel

Edit your Shares

And set the permissions as shown here:

Plex needs Read/Write access

Save it

Now you can go back to your Synology Plex App

Add the library

You will most likely find your files in Volume 1 \ Plex

FASTEST WAY TO COPY FILES BETWEEN TWO SYNOLOGY NAS DEVICES

Windows is slow…takes weeks to copy 15TB between two devices if you use explorer. Here is how you copy the files in hours instead of weeks.

On your Windows 11 computer

Open Explorer

Navigate to Synology 1

Map a Drive from your Windows 11 pc to the Synology Share
ex. Drive X will be \\Synology1\Share

Now do the same for Synology 2 and the share you want to map.
ex. Drive Y will be \\Synology2\Share

On your Windows 11 pc, now open PowerShell (not as Administrator, just open PowerShell)

Type:
robocopy ‘X:\FolderYouAreCopyingFrom’ ‘Y:\FolderYouAreCopyingTo’ /S /E /MT:32 /NFL /NDL /NJH /NJS

example: robocopy ‘X:\SourceCode\Documents’ ‘Y:\NewSourceCodeRepo\Documents’ /S /E /MT:32 /NFL /NDL /NJH /NJS /V

You will copy thousands of files per second over a 1GbE network

DOCKER ON VMWARE ESXI

By default you cannot run it here.

However if you:

Shutdown the VM

Browse to the VM’s folder within VMWare’s Datastore Browser

Download the VM’s .vmx file

Open it with a text editor

add this to the bottom:
vhv.enable = “TRUE”

Save the file

Upload it back to the storage manager and overwrite the original .vmx

Power the VM back on, it will now work

FLEXING COPILOT – INSTALL PYTHON ON WINDOWS

I have been finding out copilot’s limitations recently and to handle some items, I need to run python, using copilot generated code, so i can parse the data in my sharepoint library. For this article we will look at how to install python.

Open Windows Store

Search for Python

Click Install/Get

Once it is installed you can open a Command Prompt by:
Click Search in your Windows 11 task bar at the bottom of the screen

Type cmd

Then lets try to install some python packages at the C:\ prompt. You can do this by typing
pip install PyPDF2 pandas

If it installs, your python installation is successful

AUTOMATIC UPDATES FOR UBUNTU 22.04

Setting up automatic updates is critical if you want to maintain a secure environment. Make sure you have automatic backups that occur prior to the updates, so you have a rollback plan.

Here are the commands to set it up.

Open a terminal:
sudo su –
apt install unattended-upgrades
systemctl status unattended-upgrades
apt install update-notifier-common
nano /etc/apt/apt.conf.d/50unattended-upgrades

Now remove the // before each of these lines, and change the values to make them relevant for your system
Unattended-Upgrade::Mail “youremailaddress@yourdomain.com”;
Unattended-Upgrade::MailReport “on-change”;
Unattended-Upgrade::Remove-Unused-Kernel-Packages “true”;
Unattended-Upgrade::Remove-Unused-Kernel-Packages “true”;
Unattended-Upgrade::Remove-Unused-Dependencies “true”;
Unattended-Upgrade::Automatic-Reboot “true”;
Unattended-Upgrade::Automatic-Reboot-WithUsers “true”;
Unattended-Upgrade::Automatic-Reboot-Time “06:00”;
Unattended-Upgrade::OnlyOnACPower “true”;

Save and Exit the file

nano /etc/apt/apt.conf.d/20auto-upgrades

Now replace the contents of the file with the info below:
APT::Periodic::Update-Package-Lists “1”;
APT::Periodic::Unattended-Upgrade “1”;

Save the File and Exit

dpkg-reconfigure -plow unattended-upgrades

Reboot your system instead of running a service restart

That’s it!

INSTALL TOR ON KALI 2024.1

This is a quick guide on how to install tor on the newest version of Kali Linux. By default the version that I am running does not have it.

Open a terminal and Type:
sudo apt-get update
sudo apt install tor -y
sudo apt install torbrowser-launcher -y

Now to run Tor you will need to open a second terminal

In the first terminal type:
tor
Press Enter. This will start the service

In the second terminal, type:
torbrowser-launcher
Press Enter

This will open the Browser

Try navigating to my Onion site to test it out:
longleycr37tvhhrxmbs3buk3ze6vtpyouz3gy6uytdqqfvoiqrf3yyd.onion

HOW TO ACCESS TOR SAFELY

This is a quick How-To on installing Tails OS to a USB Drive, so you can use TOR on any computer, Anywhere

To start, on your computer:

Download BalenaEtcher and install it

Visit https://tails.net/ to get your copy of Tails, which was created by the makers of TOR

Download Tails, the latest version

Insert a USB into your Computer

Open BalenaEtcher

Click Flash From File

Select Tails

Select Target

Select your USB Drive

Click Flash!

Once it is done being flashed, you can put it in a computer to use

Boot/Reboot the computer

Select your USB Drive on startup

Tails will begin!

Once you are in Tails, to use TOR, click Activities in the Top Left

Select Tor Browser

Connect the circuit to the tor network.

Once connected to Tor you can test it by visiting my website:

Go to https://jaylongley.com and navigate to the Contact Page

Note that UBlock Origin has found trackers on my website. It finds google analytics and whatnot. This is supposed to happen. You will see why in a minute.

There you will see a tor address. Copy that address

Open a new tab in Tor

Place the Onion address that you received from my contact page, and navigate there

You will see my darkweb page appear

Now note UBlock Origin, has NO trackers here. To use Tor and ensure your safety, only work with pages and sites that do not track you!

Happy Surfing