I'm trying to create a log in script that will allow me to configure Outlook clients across our company using a PFR file.
I've created the reg file that will delete the First-Run value and add the appropiate "ImportPRF" srting key. I'm both manualy and through login script have apply this reg file and it works. The values are modify as expecter. After this I start Outlook but the startup wizard still comes up.
I've dougle check the value of the ImportPRF key to make sure that the path is correct and I've also manually open the prf file trough that same path and it works (getting the prompt warning me about changes on the profile).
I also notice that every time I start Outlook the ImportPRF key is deleted from the registry, meaning that Outlook process the request but for some reason doesn't actually applies the file.
Any ideas????
here are the Reg file and the lof in script...
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup]
"First-Run"=-
"FirstRun"=-
"ImportPRF"="%logonserver%\share\outlook.prf "
If not exist "%USERPROFILE%\flag.txt" (
regedit /s %logonserver%\netlogon\outlook\outlook.reg
"%PROGRAMFILES%\Microsoft Office\OFFICE11\OUTLOOK.EXE"
Copy %logonserver%\netlogon\outlook\flag.txt "%USERPROFILE%"
)
I've created the reg file that will delete the First-Run value and add the appropiate "ImportPRF" srting key. I'm both manualy and through login script have apply this reg file and it works. The values are modify as expecter. After this I start Outlook but the startup wizard still comes up.
I've dougle check the value of the ImportPRF key to make sure that the path is correct and I've also manually open the prf file trough that same path and it works (getting the prompt warning me about changes on the profile).
I also notice that every time I start Outlook the ImportPRF key is deleted from the registry, meaning that Outlook process the request but for some reason doesn't actually applies the file.
Any ideas????
here are the Reg file and the lof in script...
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup]
"First-Run"=-
"FirstRun"=-
"ImportPRF"="%logonserver%\share\outlook.prf "
If not exist "%USERPROFILE%\flag.txt" (
regedit /s %logonserver%\netlogon\outlook\outlook.reg
"%PROGRAMFILES%\Microsoft Office\OFFICE11\OUTLOOK.EXE"
Copy %logonserver%\netlogon\outlook\flag.txt "%USERPROFILE%"
)