Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

How to remove BITS transfer jobs initiated by SCCM client in Windows 7

$
0
0

I'm not sure if this is the right forum for this question, but it is about a pesky package stuck in no-man's land using SCCM 2007 R2.  Client is 32-bit Windows 7 Enterprise.  An image I've created has three BITS transfer jobs stuck in limbo.  Here is a dump from powershell run as administrator:

 

 

C:\Windows\system32>powershell

Windows PowerShell

Copyright (C) 2009 Microsoft Corporation. All rights reserved.

 

PS C:\Windows\system32> import-module bitstransfer

PS C:\Windows\system32> get-bitstransfer -allusers

 

JobId          DisplayName     TransferType   JobState        OwnerAccount

-----          -----------     ------------   --------        ------------

7537dda7-b1a... CcmSetup BIT... Download       Suspended       NT AUTHORITY...

90e5eb77-df8... SMS Client S... Download       Suspended       NT AUTHORITY...

6dc1fbbb-70f... CCMDTS Job     Download        Error          NT AUTHORITY...

 

 

PS C:\Windows\system32> $b = get-bitstransfer -allusers

PS C:\Windows\system32> remove-bitstransfer -Bitsjob $b

Remove-BitsTransfer : Access is denied. (Exception from HRESULT: 0x80070005 (E_

ACCESSDENIED))

At line:1 char:20

+ remove-bitstransfer <<<< -Bitsjob $b

   + CategoryInfo         : PermissionDenied: (:) [Remove-BitsTransfer], Una

  uthorizedAccessException

   + FullyQualifiedErrorId : RemoveBitsTransferAuthException,Microsoft.Backgr

  oundIntelligentTransfer.Management.ClearBitsTransferCommand

 

Remove-BitsTransfer : Access is denied. (Exception from HRESULT: 0x80070005 (E_

ACCESSDENIED))

At line:1 char:20

+ remove-bitstransfer <<<< -Bitsjob $b

   + CategoryInfo         : PermissionDenied: (:) [Remove-BitsTransfer], Una

  uthorizedAccessException

   + FullyQualifiedErrorId : RemoveBitsTransferAuthException,Microsoft.Backgr

  oundIntelligentTransfer.Management.ClearBitsTransferCommand

 

Remove-BitsTransfer : Access is denied. (Exception from HRESULT: 0x80070005 (E_

ACCESSDENIED))

At line:1 char:20

+ remove-bitstransfer <<<< -Bitsjob $b

   + CategoryInfo         : PermissionDenied: (:) [Remove-BitsTransfer], Una

  uthorizedAccessException

   + FullyQualifiedErrorId : RemoveBitsTransferAuthException,Microsoft.Backgr

  oundIntelligentTransfer.Management.ClearBitsTransferCommand

 

PS C:\Windows\system32>

 

 

I also tried removing the jobs one at a time.  I also tried using BitsAdmin to cancel the jobs.  I can't remove, cancel, retry, resume jobs created by NT Authority\System.  I can't start a command prompt as System using AT like I used to in XP, so I got tricky and downloaded PSExec and started an interactive copy of cmd.exe running in the System security context.  I confirmed this by entering 'whoami'.  When I attempt to delete the jobs using the cmdlets above, I get an error stating I am not connected to the network and I have to be connected to the network to run and BitsTransfer cmdlet.  At this point I attempted to connect to the admin share on a domain controller using net use with the /user: switch and my domain admin account.  This locked my network account immediately!

So, how does one delete bits transfer jobs initiated by System in Windows 7? 

 

Thanks,

Tom


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>