Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2437
  • Last Modified:

Group Policy Setting MOC 2007 AutoRun

Microsoft shop running on 2003 AD domain with OCS 2007 and MOC 2007.
I am trying to find a way to get all Office Communicator Clients to autorun and run minimized when users log on to their machines.
I have the Office Communicator Administrative Template loaded in my group policy manager but cannot find the setting to enable AutoRun.

Is there a way for me to do this using Group Policy?
If not, what is the best way to go with a solution that includes new installs AND existing ones?

2 Solutions
Here is the registry setting that controls that setting:


You could create a custom ADM file that adds that registry key to all users.
kkohlAuthor Commented:
I haven't had any experience creating a custom ADM file.
Once I figure that out, does it show up in the group policy manager like the other settings?
This sounds like a pretty easy solution.
It will be applied via group policy, but will edit the registry of machines that it is applied to.

Here is a good guide on writing ADM files:

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

agree wtih the above poster that an ADM is the best way to go... however, if your looking to do it in a quick and nasty fashion, you can always roll it out via logon script.

Because the reg key in question is a HKCU key, the users will have access to that key - hence put it into your vbscript or (yuck) batch file logon script, and you'll update everyone as they logon, ready for thier next logon. Probably quicker if you dont know how to write an ADM, but an ADM is quicker and more managable in the long-term.
kkohlAuthor Commented:

I have successfully created a custom ADM file and have implemented the desired hive key.  It is populating correctly in each user's registry.

AutoRunWhenLogonToWindows REG_DWORD 0x00000001(1)

Yet, Communicator fails to launch.

Currently, Communicator is installed and once a user is logged in and manually launches the client, it will automatically launch each time the user logs in.  It behaves in this manner prior to the custom ADM addition.
I was hoping to gain the effect of removing the need to manually launch the client.

So far, it looks like the key is added correctly, but I am still having to manually launch...
Communicator REG_SZ "C:\Program Files\Microsoft Office Communicator\communicator.exe" /fromrunkey
You could just run PSExec command to launch communicator against a list of all your computers. =]
kkohlAuthor Commented:
I found a fix that works.  It works well enough, but still has some 'clunk' to it.

Group Policy | User Configuration | Administrative Templates | System | Logon | Run These Programs at User Logon

Enabled this policy and pointed to Communicator.exe.

Now Communicator properly launches the first time a user logs in.  This is great as it is the initially desired feature.
The 'clunk' comes from the fact that after Communicator has successfully ran the first time, it automatically logs you in each logon anyway, thereby causing two separate launch commands on future logins... the call to launch from the group policy AND the Communicator internal setting to auto sign in.
This can sometimes cause an error popup stating communicator is already running.

This is considered a very minor nuisance and I can live with this, but I may try playing more finding a way to maybe update the Run Once key.... just once :-)

kkohlAuthor Commented:
I didn't need to create a custom ADM file as my desired app was already listed.
The "fromrunkey" never really worked.


Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now