Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script for Office Software Protection Platform

Posted on 2011-02-22
2
Medium Priority
?
1,514 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

963 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