Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Downloads Folder? #4

Open
wumbowarrior opened this issue Feb 10, 2021 · 3 comments
Open

Redirect Downloads Folder? #4

wumbowarrior opened this issue Feb 10, 2021 · 3 comments

Comments

@wumbowarrior
Copy link

When I use this script to redirect my downloads folder, it successfully sets my oneshare folder as the new location for my downloads folder... However downloads are still going to C:\user<username>\downloads. Is there no way to fix this behavior?

@aaronparker
Copy link
Owner

In which application? Check your browser settings

@wumbowarrior
Copy link
Author

wumbowarrior commented Feb 11, 2021

Actually, looking at this, I'm not sure why I said it was working. I think I had modified the script in order to work, but it won't work in production because of user context. I took the one published in your github and tried it just as is, and I get a ton of failures, and no data is copied. I've attached the log below. We are just trying to redirect the downloads folder to OneDrive. Intune supports KFM redirection through policy now, but it only supports Desktop, Documents, and Pictures. To my relief I discovered someone had already done the work, but it doesn't seem to be working for me?

It appears to me that, while the Downloads folder guid has been defined, it is not present in the "validateset" property of the "knownFolder" parameter. I'm also not able to manually add it to that set, as I'm not sure what it's checking.

-132575385749052449.log

@wumbowarrior
Copy link
Author

Also the scheduled task is not running silently... I don't think there is a way for the scheduled task to run silently without running as system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants