Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Run login script to modify registry

$
0
0

Despite the fact I'm trying to move away from it several of my users insist on using the horrible Mozilla Thunderbird to get their IMAP mail from Google.

While I don't have a problem with using the program as such I do have a problem with the way it stores IMAP mail in the users roaming profile.

To try and stop it doing this I tryed to add the imap folder to the excluded folders gpo but this presents me with another problem in that the folder is buried in the profile folder with a path of {randomStuff}.default

I have a very simple script that will find this path and add to the correct registry path but my next problem is it needs admin rights to run.

Powershell
$profiles=Get-ChildItem$env:APPDATA\Thunderbird\Profiles\# This entry is currently in the exclusions list and I just want to add to it$excluded="%appdata%\Microsoft\Microsoft...

Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>