This is part of a script we use to fix clients from similar issues we have
seen in the past, including BITS error on Windows 7 systems. You go through
the steps manually or create a batch file and download the referenced
executables.
::*****************************************************************************************************************************************************************************
echo Change AppData in USERS key.
REG ADD
"HKU\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders" /V AppData /T REG_MULTI_SZ /D "%%USERPROFILE%%\AppData\Roaming" /F
echo.
echo removing old retry install task..
schtasks /delete /TN "\Microsoft\Configuration Manager\Configuration
Manager Client Retry task"
Echo removing and cleaning client instances...
echo Please wait....
start /w %~dp0CCMCLEAN.EXE /Q
echo.
rmdir /s /q %windir%\ccmsetup
rmdir /s /q %windir%\ccm
echo Removing CCM Name space if exist.. and setting services
::powershell.exe -ExecutionPolicy ByPass -file %~dp0Remove-CCMspace.ps1
-nologo -noprofile
powershell.exe -noprofile -command "& {Get-ChildItem
"c:\ProgramData\Microsoft\Crypto\RSA\*\19c*" | Remove-Item -force}"
-ExecutionPolicy bypass
echo.
echo Restting WMI and registering DLLs...
net stop ccmexec /y
net stop VMAuthdService /y
net stop winmgmt /y
WINMGMT /ResetRepository
c:
cd %systemroot%\system32\wbem
echo Renaming WMI repository..
If exist %windir%\system32\wbem\repository.old rmdir /s /q repository.old
rename %windir%\system32\wbem\repository repository.old
echo registering WMI DLLs..
for /f %%s in (' dir /b *.dll' ) do regsvr32 /s %s
::restarting services..
net start winmgmt
wmiprvse /regserver
:: configuring services startup type.
sc config BITS start= Auto
sc config Schedule start= Auto
net start VMAuthdService
net start ccmexec
net start Schedule
Net start BITS
echo.
::Removing C:\Windows\SMSCFG.ini for fresh CM install
Del %windir%\SMSCFG.ini /Q /F
echo.
echo Cleaning all instances of CCMSETUP MSI..
%~dp0msizap.exe PS
%~dp0msizap.exe TWA! {8864FB91-94EE-4F16-A144-0D82A232049D}
On Tue, Aug 5, 2014 at 7:58 AM, King, Jason <[email protected]> wrote:
> We have FEP on all boxes and I have 7K other clients installed and
> working just fine. I have about 400+ with issues and this is a good chunk
> of them.
>
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . .
>
> Jason King | Solutions Design Team
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Jason Wallace
> *Sent:* Tuesday, August 5, 2014 10:52 AM
> *To:* [email protected]
> *Subject:* Re: [mssms] RE: SCCM 2012 R2 Client Install Issue
>
>
>
> Then do you have something nasty interfering with disk access? This often
> has the letters McAfee nearby
>
>
> On 5 Aug 2014, at 16:33, "King, Jason" <[email protected]> wrote:
>
> I checked that and it has well over 400gb Free
>
>
>
>
>
> <image001.png>
>
>
>
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . . . . . . .
>
> Jason King | Solutions Design Team
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *James Massardo
>
> *Sent:* Tuesday, August 5, 2014 9:32 AM
> *To:* [email protected]
> *Subject:* [mssms] RE: SCCM 2012 R2 Client Install Issue
>
>
>
> This might have something to do with it.
>
>
>
> (errorCode=GetLastError()) == ERROR_DISK_FULL, HRESULT=80070005
> (e:\nts_sccm_release\sms\setup\ccmsetup\ccmsetup.cpp,6932)
> ccmsetup 8/4/2014 5:21:20 PM 5644 (0x160C)
>
>
>
> Thanks,
>
> James Massardo
>
>
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *King, Jason
> *Sent:* Tuesday, August 5, 2014 8:22 AM
> *To:* [email protected]
> *Subject:* [mssms] SCCM 2012 R2 Client Install Issue
>
>
>
> Has anyone else had this issue with client installs. I have several
> clients that I cannot get the client to install. I have tried with client
> push or copying the client local with several command line options. When I
> attempt to install the client it gives me an error in the CCMSETUP.log.
> Download Update: A recoverable error has occurred. A retry attempt will be
> made. Does this continually. When I have copied the client locally and
> just tried to run ccmsetup without any command line options I get an error
> This operating system does not contain the correct version of BITS. BITS
> 2.5 or later is required. These are windows 7 machines and I have verified
> that the version of bits is well above 2.5 and installed. I have added
> the logs to this email for your viewing pleasure. Any help is greatly
> appreciated.
>
>
>
> ……………………………………………………………………………………………………………..
>
> Jason King | Solutions Design Team
>
>
> Please consider the environment before printing this email.
>
>
>
>
> ------------------------------
>
>
> CONFIDENTIALITY NOTICE: This email contains information from the sender
> that may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise
> protected from disclosure. This email is intended for use only by the
> person or entity to whom it is addressed. If you are not the intended
> recipient, any use, disclosure, copying, distribution, printing, or any
> action taken in reliance on the contents of this email, is strictly
> prohibited. If you received this email in error, please contact the sending
> party by reply email, delete the email from your computer system and shred
> any paper copies.
>
> Note to Patients: There are a number of risks you should consider before
> using e-mail to communicate with us. See our Privacy & Security page on
> www.henryford.com
> <https://urldefense.proofpoint.com/v1/url?u=http://www.henryford.com&k=DRaZFQufJSh%2Bz2CJu01vGA%3D%3D%0A&r=EP6UuLzy5Kkj6OM7S%2FXJ%2Fg%3D%3D%0A&m=MCjIjRPLjeFqgzJHtccEHIUfAx5Q7C1csL4e9q6mVH0%3D%0A&s=cdf6838bf42d268c4585de6c70377f32a8d796c3ce7224cdd6dd62c064a5fd2b>
> for more detailed information as well as information concerning MyChart,
> our new patient portal. If you do not believe that our policy gives you the
> privacy and security protection you need, do not send e-mail or Internet
> communications to us.
>
>
>
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
>
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
>
>
>
>
>
>
>