Hellooooooooo
Technical User
Hello Everyone.
I'm wanting to change the default location the outlook 03 uses to store opened attachment for each loged on user.
Iv'e found the Registry entry that I need to alter:
strKey="HKCU\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder"
objShell.RegWrite strKey, "D:\Documents And Settings\%UserName%\Local Settings\Temporary Internet Files", "REG_EXPAND_SZ"
I have a logon script in vbs that sets loads of settings on logon. Im stuck now, Ive changed the Drive to D:, however I can tink how to get the %UsernName% to pick up the current loggen on user. With out this it's doing me head in.
Is there a simple way to get the script to entry the current user into the %Username% field, so that each user will have a folder created on the D: with the outlook attachment saved to it.
Due to some great legacy software, I cant change to default user profile location the the D:
Any pointers whould be grand.
Cheers
Marty
One for the scrip gods out there i think.
Cheers
Marty
I'm wanting to change the default location the outlook 03 uses to store opened attachment for each loged on user.
Iv'e found the Registry entry that I need to alter:
strKey="HKCU\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder"
objShell.RegWrite strKey, "D:\Documents And Settings\%UserName%\Local Settings\Temporary Internet Files", "REG_EXPAND_SZ"
I have a logon script in vbs that sets loads of settings on logon. Im stuck now, Ive changed the Drive to D:, however I can tink how to get the %UsernName% to pick up the current loggen on user. With out this it's doing me head in.
Is there a simple way to get the script to entry the current user into the %Username% field, so that each user will have a folder created on the D: with the outlook attachment saved to it.
Due to some great legacy software, I cant change to default user profile location the the D:
Any pointers whould be grand.
Cheers
Marty
One for the scrip gods out there i think.
Cheers
Marty