vikram singh program manager microsoft corporation pc19
TRANSCRIPT
Resource Quantity
File I/O 47,286
Copy-on-Write (COW) Pages 4,656 (~18MB)
Memory Pages (Total) 15,967 (~60MB)
Registry Operations 38,508
Threads 367
Win
dow
s Se
rvic
e • Continuous activity from boot to shutdown
• Service Control Manager (SCM) programming model
• Can specify dependency
• Continuous activity from boot to shutdown
• Service Control Manager (SCM) programming model
• Can specify dependency Sc
hedu
led
Task
• Short duration action
• Idle activity• Take action
on user login• Standalone
executable or out-of-process COM server
• Generally execute in user session
• Short duration action
• Idle activity• Take action
on user login• Standalone
executable or out-of-process COM server
• Generally execute in user session
Service Name Description Trigger Type
AELookupSvc Processes application compatibility cache requests for applications as they are launched
Custom ETW
BDESVC Provides BitLocker client services for user interface and auto-unlocking of data volumes
Custom ETW
BTHSERV The Bluetooth service supports discovery and association of remote Bluetooth devices.
Device
SensorsMTPMonitor Monitors MTP (Media Transfer Protocol) sensors (such as a cell phone with a GPS receiver) to communicate sensor data to programs
Device
TabletInputService Enables Tablet PC pen and ink functionality Device
WinDefend Protection against spyware and potentially unwanted software
Group Policy
[DllImport(“advapi32.dll”, SetLastError=true)]Public static extern bool ChangeServiceConfig2(
IntPtr hService,uint32 dwInfoLevel,IntPtr lpInfo
);
Const uint32 SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO = 6
// Example UPS Service
protected override void OnStart (string[] args){
IntPtr ServiceHandle;IntPtr RequiredPrivilegesString;
// set required privilegesstring RequiredPrivileges = “SeShutdownPrivilege\0\0”;
RequiredPrivilegesString = Marshal.StringToHGlobalAuto(RequiredPrivileges);
ChangeServiceConfig2(this.ServiceHandle,
SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO,RequiredPrivilegesString);
}
Task Scheduler(schedule)
Task Scheduler(schedule)
Power Efficiency Diagnostics
(powercfg.exe)
Power Efficiency Diagnostics
(powercfg.exe)
KernelKernel
Detects Idle ConditionDetects Idle Condition
Launches TaskLaunches Task
Please fill
out your
evaluation for
this session at:
This session will be available as a recording at:
www.microsoftpdc.com
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.