Windows 10: How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell?

Discus and support How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell? in Windows 10 Network and Sharing to solve the problem; How do I change the file location in windows 10? Here is how to do it manually: Specifically those files under This PC As I know how to edit quick... Discussion in 'Windows 10 Network and Sharing' started by JoanMontas, Aug 8, 2021.

  1. How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell?


    How do I change the file location in windows 10? Here is how to do it manually: Specifically those files under This PC As I know how to edit quick access via registry: I have modified the location like so: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Name Favorites -Value "%USERPROFILE%\OneDrive - StackOverFlow\FavoritesBut Downloads and Videos does not seems be affect i.e the shortcuts under This Pc Not under Quick AccessPlease help, Thanks!PS I know it can be done via GPO but I am looking for a more control using powershell and or cmd

    :)
     
    JoanMontas, Aug 8, 2021
    #1

  2. Downloads folder is the Documents folder

    Hi Chris,

    Thank you for posting your query on Microsoft Community.

    I suggest you to Restore to Default the folders and document settings and see if it helps.

    Step 1:

    Please follow below steps and check if it helps.

    • Go to Download folder.
    • Right click on the Download Folder and go to Properties.
    • In Properties go to Location tab.
    • In location Tab Click on Restore Default.


    Step 2:

    Please follow below steps and check if it helps.

    • Go to Documents folder.
    • Right click on the Document folder and go to Properties.
    • In Properties go to Location tab.
    • In location Tab Click on Restore Default.
    After performing above steps change the settings as you required and check if it helps.

    Hope these information helps, please get back to us for future support, we’ll be glad to assist you further.

    Thank you.
     
    Prabhavathi Patil, Aug 8, 2021
    #2
  3. Steve C Win User
    What exactly are are "My music", "My Pictures" and "My videos"

    You can't redirect the shortcut links which is the subject of the post
     
    Steve C, Aug 8, 2021
    #3
  4. biggere Win User

    How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell?

    video downloads required to be placed in "Videos" folder

    Thanks for responding. However, the settings you suggested were already in place. But I did stumble across the solution.

    The particular folder to which I was trying to save the download video to in its Properties under the Security tab was set to require restrictions. I then went to the "edit" button and added check marks to allow all the listed items and that corrected the
    problem.
     
    biggere, Aug 8, 2021
    #4
Thema:

How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell?

Loading...
  1. How do I redirect a folder programmatically? Specially Videos and Downloads? via Powershell? - Similar Threads - redirect folder programmatically

  2. I accidentally merged the Downloads Folder and the Videos folder while redirecting location...

    in Windows 10 Software and Apps
    I accidentally merged the Downloads Folder and the Videos folder while redirecting location...: I accidentally merged the Downloads folder with the Videos folder while redirecting the location of the folders from the C:/ to D:/ drives. I can't use File History to restore it. I can't move them back to previous locations or restore the folders to previous versions. I also...
  3. I accidentally merged the Downloads Folder and the Videos folder while redirecting location...

    in Windows 10 Gaming
    I accidentally merged the Downloads Folder and the Videos folder while redirecting location...: I accidentally merged the Downloads folder with the Videos folder while redirecting the location of the folders from the C:/ to D:/ drives. I can't use File History to restore it. I can't move them back to previous locations or restore the folders to previous versions. I also...
  4. How do i send a message to friends in class via powershell?

    in Windows 10 Gaming
    How do i send a message to friends in class via powershell?: So i found out that powershell was unblocked at our school and im wondering how i can send a msg with like a message box to my friends https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-send-a-message-to-friends-in-class-via/48bde8a5-283c-4b47-ae6d-2cc15178e762
  5. How do i send a message to friends in class via powershell?

    in Windows 10 Network and Sharing
    How do i send a message to friends in class via powershell?: So i found out that powershell was unblocked at our school and im wondering how i can send a msg with like a message box to my friends https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-send-a-message-to-friends-in-class-via/48bde8a5-283c-4b47-ae6d-2cc15178e762
  6. Download preferred language via PowerShell

    in Windows 10 Gaming
    Download preferred language via PowerShell: I have a number of Windows 10 20H2 computers that have a preferred language set to en-IE, but because the language pack is not downloaded the Windows Display language is set to the default of en-US. If I set the WinHTTP proxy and download the en-IE pack manually then I can...
  7. Download preferred language via PowerShell

    in Windows 10 Software and Apps
    Download preferred language via PowerShell: I have a number of Windows 10 20H2 computers that have a preferred language set to en-IE, but because the language pack is not downloaded the Windows Display language is set to the default of en-US. If I set the WinHTTP proxy and download the en-IE pack manually then I can...
  8. How to programmatically create a desktop shortcut link via Powershell or batch file command...

    in Microsoft Windows 10 Store
    How to programmatically create a desktop shortcut link via Powershell or batch file command...: Currently the *.appxbundle installs into the StartMenu, which is fine, but I'd also like to include a shortcut link on the destkop. I see from this link that it's possible to create a short-cut manually for a sideloaded or Windows Store application....
  9. Windows PowerShell - Pin and Unpin Programmatically

    in Windows 10 Customization
    Windows PowerShell - Pin and Unpin Programmatically: Hey MS Community, I'm looking for a method to programmatically unpin Microsoft Edge and pin Internet Explorer. Currently, our vendors have sites that are only supported in Internet Explorer, and will result in an error if opened with Microsoft Edge. Since the two icons are...
  10. How to redirect a file of input data in PowerShell?

    in Windows 10 Support
    How to redirect a file of input data in PowerShell?: In the past, before Windows 10 update, we had Command Prompt, but now we have PowerShell instead. I would like to know how to use a redirected file of input data into an EXE program. I used to write 'C:\Users\Owner\desktop>program.exe < input.dat' but the system says that '<'...