Solved

Script for Office Software Protection Platform

Posted on 2011-02-22
2
1,355 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

943 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

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now