Solved

Script for Office Software Protection Platform

Posted on 2011-02-22
2
1,339 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
Comment Utility
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
Comment Utility
Oh, and there's PowerShell way:
 
Set-Service osppsvc -StartupType Automatic

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

744 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

13 Experts available now in Live!

Get 1:1 Help Now