Merge pull request #261 from Norrodar/master
Better ReadMe + New Functions + Start Batchpull/395/head
commit
79e8f395d9
@ -0,0 +1,2 @@
|
||||
Write-Host "Clear last used files and folders"
|
||||
Remove-Item %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*.automaticDestinations-ms -FORCE -ErrorAction SilentlyContinue
|
@ -0,0 +1,14 @@
|
||||
$Keys = @(
|
||||
|
||||
# Deactivate showing of last used files
|
||||
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HomeFolderDesktop\NameSpace\DelegateFolders\{3134ef9c-6b18-4996-ad04-ed5912e00eb5}"
|
||||
|
||||
# Deactivate showing of last used folders
|
||||
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HomeFolderDesktop\NameSpace\DelegateFolders\{3936E9E4-D92C-4EEE-A85A-BC16D5EA0819}"
|
||||
)
|
||||
|
||||
#This writes the output of each key it is removing and also removes the keys listed above.
|
||||
ForEach ($Key in $Keys) {
|
||||
Write-Output "Removing $Key from registry"
|
||||
Remove-Item $Key -Recurse
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# "This Computer"-Button starts the explorer on the following path:
|
||||
# LaunchTo Value Description
|
||||
# 1 Computer (Harddrives, Network, etc.)
|
||||
# 2 Fast Access
|
||||
# 3 Downloads (The Download-Folder)
|
||||
|
||||
Write-Host "Set Explorers Entry Point"
|
||||
$LaunchTo = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
||||
Set-ItemProperty $LaunchTo LaunchTo -Value 1
|
Loading…
Reference in New Issue