Raoul90 Posted May 15, 2011 Share Posted May 15, 2011 (edited) Hi,I want to disable the PCA Service.The service handles these screens:And in my FirstLogon script there are a couple of programs that make that screen popup. So I want to disable the service during Windows 7 Setup, if possible?The regkey:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PcaSvc]"Start"=dword:00000004I allready had this ones in one of my autounattend.xml files, but I cant find it anymore, I know its possible without creating a .reg and them importing it, should be possible to do it directly from command prompt.Thanks in advance!edit:Think I found it: <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>cmd /c "cmdow @ /HID & reg add HKLM\SYSTEM\CurrentControlSet\Services\PcaSvc /v Start /t REG_DWORD /d 4 /f</Path> </RunSynchronousCommand> </RunSynchronous> </component> Edited May 15, 2011 by Raoul90 Link to comment Share on other sites More sharing options...
Tripredacus Posted May 16, 2011 Share Posted May 16, 2011 Couldn't you, in your script first stop the service? If it is set to automatic, you won't need to re-enable it after running your programs, as it should start up by itself after the next reboot. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now