2012 server msi deploy log me in by gpo

I need instructions for this and examples of the cmd file so I have a base script to work from.  I don't need to modify login scripts?

It's a single site, single 2012 ad domain and he's the basic path:



IF EXIST "C:\Program Files (x86)\LogMeIn" GOTO end
IF EXIST "C:\Program Files\LogMeIn" GOTO end

msiexec.exe /i \\DC\LMIMSI\logmein.msi /quiet DEPLOYID=00_s9hirc63byhvgdfmbh4yjwi2vhwf615fcchh0 INSTALLMETHOD=5 FQDNDESC=1

net user  administrator XXXXXXXXXX /add
net localgroup Administrators administrator /add

thanks metal fubar!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
Based on what you have listed it looks fine for your script. You need to put that in a .bat or .cmd file format. From there test to make sure that that script does work correctly. Once the applicaiton has installed properly, you need to create a GPO and setup a computer startup script.

Once you have done that link the GPO to the OU where the computers reside.

Make sure that the bat/cmd file is in a network location where authenticated user have read/execute

See the TechNet below.

metalfubarAuthor Commented:
thanks will for the quick response.  

so i can leave the script format exactly as is and save as .cmd and perform the aboves tasks?

metalfubarAuthor Commented:
where do i add the change user?
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

metalfubarAuthor Commented:
that works Will accept its prompting me for UAC?  I want it to silently install so the local admins creds are not working?

this is great and i can now rollout to all clients.
Will SzymkowskiSenior Solution ArchitectCommented:
You have a couple things you can do. Set a GPO on all machines to disable UAC. Or Add extra lines of code at the top of your current script to disable UAC via cmd prompt. If you want it enabled just enable it at the end of your script. See the below link for details on how to Enable or Disable UAC via command line.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
metalfubarAuthor Commented:
i'll need the syntax for the 2012 server?  also, won't I have to reboot 3 times per workstation to  reenable it with LMI which also requires a reboot?

what about psexec in the script?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.