![]() ![]() Logs -> Microsoft -> Windows -> Bits-Client, the operational log definitely shows that the BITS service is creating jobs with "an owner NT AUTHORITY\NETWORK SERVICE". Is there something in particular I should look for? If I look under Applications and Services I took a look through my event viewer and saw some errors associated with the failing of downloading of updates, but that's about it. So unless I inadvertently changed a security setting installing those, no changes were ![]() I installed it for the sole purpose of WSUS, which I installed via roles along with IIS. So I can't copy and paste errors from my server, it is a disconnected server. ![]() The only way I can do that now with this situation is to stop and start the BITS service. That it has that are bad, the annoying thing is I have to kill them 10 at a time (thus I want to script it). As you know, BITS can only download 10 items at a time, once you have 10 transient errors it will no longer download. Running the /reset /allusers command also would not cancel the jobs, which is what lead me to PowerShell. "BITSAdmin is deprecated and is not guaranteed to be available in future versions of Windows.Īdministrative tools for the BITS service are now provided by BITS PowerShell cmdlets" When I run bitsadmin from the command line I get the follow statement: So my statement about deprecation comes directly from W2K8 R2. Principal/CTO, Onsite Technology Solutions, Houston, Texas Microsoft MVP - Software Distribution (2005-2010) Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA (And, until the PowerShell cmdlet provides the FULL functionality provided by BITSADMIN, I'd suggest it's a BAD idea toĪs for clearing out your queue: BITSADMIN /RESET /ALLUSERS is still the supported command for use with WSUS and it works perfectly on my Windows Server 2008 R2 (BITS 3.0) -based WSUS 3.0 SP2 server. On a R2 server, and BITSADMIN is still present in the BITS 3.0 native installation on my Windows Server 2008 R2 -based WSUS server. WSUS only requires BITS v2.0, BITS v3.0 is installed by default I'm not sure where you get the information that BITSADMIN is deprecated!? - unless you've performed an unneeded BITS upgrade on your WSUS server, which could also be a source of the issue itself. Try BITSADMIN /LIST /ALLUSERS /VERBOSE to get the full dump of the BITS queue - but if you have =100= entries in that queue that's significant. Note: Your issue with only getting 10 jobs at a time is a limitation of the PowerShell cmdlet you're using. Ergo, my first question is who changed what security configurations on the server - because it works perfectly in a native installation without changes. Fundamentally it's an access issue, which suggests to me that filesystem ACLs are incorrectlyĬonfigured. Please skip past the PowerShell stuff and go review the Application Event Log and post any actual entries from the Application Event Log with regards to these issues. ![]() In this case? I'm working toward a script that monitors my BITS queue and removes the errored downloads (a lot of downstream wsus servers ask my disconnected upstream for updates it doesn't have, and they stick in BITS till I remove them, once 10 hit I'm stuck Does anyone know of a way to accomplish the removal My guess is that even though I'm running as admin, ps is not liking that the bits jobs aren't owned by admin. To which I get 10 "Access is denied" and "UnathorizedAccessException" errors. Get-BitsTransfer -allusers | Remove-BitsTransfer Important to note that the "OwnerAccount" is "NT AUTHORITY\NETWORK SERVICE" for each job. Show's me 10 job's that are errored (problem is there is over a 100, but BITS has a depth of only 10 at a time). I run the powershell as administrator (rightĬlick, run as administrator) and import the bitstransfer module. On a W2K8 R2 EE 圆4 OS I have some errored WSUS (.226) BITS downloads that I'm trying to use powershell to clear out since bitsadmin is deprecated. Hopefully someone can help me out with this problem. So I posted over in the PowerShell forum, but it seems to have stumped people, so the suggestion was made to try and post here where people might have a little deeper knowledge of BITS: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |