Avatar of Nitin Rohitgi
Nitin Rohitgi
 asked on

How to create Outlook archive using VB or command line to automate the solution

I want to automate this process via Command or any other tool
Outlook

Avatar of undefined
Last Comment
Shaun Vermaak

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Tahir Qureshi

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
John

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Shaun Vermaak

My solution of doing it via GPO or resulting Registry setting is also a valid solution. In fact, it is the only one that can be automated and can be done via command line as per OP's requirements
reg add HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\Preferences /v ArchiveOld /t REG_DWORD /d 1

Open in new window

archive.jpg
Alexei Kuznetsov

@Shaun, this is not the solution. Nitin clearly asks for the command line/VB script to automate the backup procedure (aka Archiving).
Shaun Vermaak

How to create Outlook archive using VB or command line to automate the solution
I want to automate this process via Command or any other tool
No, automate the creation of Outlook archiving, not trigger the process. Even if that is so, what makes the other answers more correct, mine does the exact same setting as other two just automated?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck