Unknown's avatar

About PC Paramedic, Inc.

I am computer technician and have been working in the field for over 25 years. I grew up with computers at home and we had them before my school had any.

Increase Max File Path beyond 254 characters

Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from common Win32 file and directory functions. However, you must opt-in to the new behavior.

Add the following registry(REGEDIT.EXE) entry and reboot the computer

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] “LongPathsEnabled”=dword:00000001

https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

MS Edge – Allow sites to be reloaded in Internet Explorer mode – extend beyond 30 days

When adding a website to the “Internet Explorer mode Pages” of MS Edge, it will be removed/expire after 30 days. This will extend it to 2099

  1. Sign OUT of MS Edge that is syncing a profile
  2. exit Edge
  3. download vbs script below
  4. Edit it the script by searching for the line that starts with AddPages and add websites, separate each with a pipe |
  5. Save the file and run the vbs script

https://lesferch.github.io/IEModeExpiryFix/

Grant access to files and folders with icacls

  1. take ownership of files and folders
    Open File Explorer
    right-click on folder and select Properties
    click on Security tab
    Click Advanced button
    At top, next to Owner: click Change
    type Everyone, Click OK
    put check mark in – Replace owner on subcontainers and object, click OK
  2. Open Command prompt
    navigate into same folder
    type – icacls * /grant:r everyone:(oi)(ci)F /t /c

/t – current directory and sub
/c – continue even if there are errors
/grant:r – replace all permissions with Everyone group
(OI) – Object inherit. Objects in this container will inherit this ACE.
(CI) – Container inherit. Containers in this parent container will inherit this ACE.