Re: Setting the auto-archiving folder via script



1. 001f0324 is the value for the archive path, at least on Outlook 2003. I
checked a few systems and didn't find a value 001f032c in any profile,
regardless of the version of Outlook.
2. The final zero (also known as the null terminator) is a marker that
indicates the end of the string in the byte array.

"Thomas" <Thomas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7C993BB1-3407-4577-92E9-9BC24570ABFE@xxxxxxxxxxxxxxxx
Bonjour from France,

I'm trying to write a script (in javascript) to be added to the logon
script
of the users of the company I'm working in.

This script will have to set a different auto-archiving folder than the
one
set by default.

This parameter is located in the Windows registry in the followings keys :
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\ "Profile name"
0a0d020000000000c000000000000046\001f032c and 001f0324

This key is a Binary Key.

When I edit the value of that key, I notice that it's composed of the
ascii
codes of every character composing the folder name in unicode format. So
'c:\archive\archive.pst' should appear coded as :

'63 00 3A 00 5C 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5C 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2E 00 70 00 73 00 74 00'

BUT

It appears coded with a zero at the end :

'63 00 3a 00 5c 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5c 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2e 00 70 00 73 00 74 00 00 00'

My two questions about the auto-archiving parameter in the registry are :

1 : What is the difference between the '001f032c' key and the '001f0324'
key ?
2 : What is the meaning of the zero terminating the folder name ?

Thanks a lot.

Thomas.


.



Relevant Pages

  • Re: Automating set up?
    ... > I would like to know that their folder is automatically created, ... > up the mapping in a logon script unless there is a better way. ... My Documents will be a SUBDIRECTORY of the Profile directory here. ... Herb Martin> ...
    (microsoft.public.win2000.active_directory)
  • RE: Simple Script??
    ... Well, it is not the most elegant solution I have ever written, but the script ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Simple Script??
    ... I had a typo in the path...Your script is AWESOME THANKS AGAIN!!!! ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XPsp2 and WMP10 and default profiles - a solution
    ... This script needs to be referenced in the SysPrep.inf file, ... >> default user profile. ... >> and Windows Media Player 10 installed, XP always creates a Windows Media ... >> it ignores the default user profile folder and uses the Administrator ...
    (microsoft.public.windowsxp.setup_deployment)
  • RE: Simple Script??
    ... But when i run it the script fails. ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)