Solved

Script for Office Software Protection Platform

Posted on 2011-02-22
2
1,372 Views
Last Modified: 2012-05-11
Great day to all,
Does anyone know of an script that is out on the net that I can use to push through the GPO or a bat,vbs file that I can place in the users start up folder that would change "Office Software Protection Platform" service from Manual to Automaitc.
0
Comment
Question by:melvinsanders
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
marek1712 earned 500 total points
ID: 34954079
Many different ways
First (space between option and value IS required):
sc config osppsvc start= auto

Open in new window

Second (as per http://smallvoid.com/article/winnt-services-regedit.html ):
 
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\osppsvc]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,\
  6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,43,00,6f,00,6d,00,6d,00,6f,\
  00,6e,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,4d,00,69,00,63,00,72,00,\
  6f,00,73,00,6f,00,66,00,74,00,20,00,53,00,68,00,61,00,72,00,65,00,64,00,5c,\
  00,4f,00,66,00,66,00,69,00,63,00,65,00,53,00,6f,00,66,00,74,00,77,00,61,00,\
  72,00,65,00,50,00,72,00,6f,00,74,00,65,00,63,00,74,00,69,00,6f,00,6e,00,50,\
  00,6c,00,61,00,74,00,66,00,6f,00,72,00,6d,00,5c,00,4f,00,53,00,50,00,50,00,\
  53,00,56,00,43,00,2e,00,45,00,58,00,45,00,22,00,00,00
"DisplayName"="Office Software Protection Platform"
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
"ObjectName"="NT AUTHORITY\\NetworkService"
"Description"="Office Software Protection Platform Service (unlocalized description)"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\osppsvc\Security]
"Security"=hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,70,00,05,00,00,00,00,00,14,00,9d,00,00,00,01,01,00,00,00,00,00,\
  05,14,00,00,00,00,00,14,00,9d,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,\
  00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,00,00,18,00,ff,\
  01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,00,14,00,8d,01,\
  02,00,01,01,00,00,00,00,00,05,06,00,00,00,01,01,00,00,00,00,00,05,12,00,00,\
  00,01,01,00,00,00,00,00,05,12,00,00,00

Open in new window

0
 
LVL 11

Expert Comment

by:marek1712
ID: 34954099
Oh, and there's PowerShell way:
 
Set-Service osppsvc -StartupType Automatic

Open in new window

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question