can't delete folder created with Robocopy (solution provided)
I had a pickle of a time deleting a destination folder on my drive that I created by an incorrect syntax of robocopy.
here is what I ran:
robocopy "c:\sourcefolder" "d:\destfolder /s /e"
Notice that i put the quote AFTER the /s /e options, (correct syntax should have been: robocopy "c:\sourcefolder" "d:\destfolder" /s /e
If you run that though, (with the wrong syntax), you get a folder on the destination side that you can NOT delete. (not from explorer, command prompt, etc..)
After an hour or so of chkdsk's, lots of rmdir, re-applying permissions, installing unlockers, rebooting into safeomde, etc.. I finally figured it out.
You have to type from the command prompt:
rmdir /s "d:\destfolder /"
Hope this helps someone.
-E
- Changed type Vivian Xing Monday, November 16, 2009 7:26 AM
Reply:
You diamond!
I've been battling with this for ages.
I can't confirm the incorrect syntax I originally used with Robocopy but the rmdir command line you gave deleted my "un-deletable" folder straight away - and this was on Server 2008 R2 standard.
Further to the above I had a folder in the same directory with an identical name with 19GB of data in it, this was untouched by the command so I'm very happy.
Thanks again
Steve
------------------------------------
Reply:
I tried every solution I could find on the internet to delete corrupted directories in XP Home: none worked. This included checking permissions, checking long path names, booting in Safe Mode and running DOS commands rmdir /s, chkdsk, subst, changing attributes, etc. I finally found Robocopy which is provided free by Microsoft in their "Windows Resource Kits". In order to get Robocopy to work I created a new directory "JUNK" on the C: dirve with nothing in the directory. The JUNK directory was used as the SOURCE directory for the Robocopy command and the directories I could not delete were one and two levels below the "CORRUPT" DESTINATION directory. I entered the following command at the DOS prompt:
robocopy C:\JUNK C:\CORRUPT /E /PURGE
Problem solved. Robocopy copied nothing to the DESTINATION folder but it did purge the corrupted directories. The /E switch may not be necessary but I used it anyway.
Chuck Stephens
------------------------------------
Reply:
Thanks heaps, I did the same thing with /MIR inside destination quotation marks.
I glad you worked it out and posted solution.
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
Thanks alot!
I made the same mistake with robocopy. I would never have figured out how to delete the folders. In my case I used rmdir /s "D:\destfolder /MIR /Z /"
then rmdir /s "D:\destfolder /MIR /"
and finally rmdir /s "D:\destfolder /"
/Peter N.
- Edited by norpet Thursday, December 4, 2014 9:34 AM
------------------------------------
Reply:
This is the ONLY thing that worked for me:
ROBOCOPY source destination /MIR
cminias
------------------------------------
Reply:
This solution also worked for me! While nothing else worked.
I created a folder using the wrong syntax
robocopy "c:\sourcefolder" "d:\destfolder /s /sec /mov"
Notice that i put the quote AFTER the /s /e /mov options, (correct syntax should have been: robocopy "c:\sourcefolder" "d:\destfolder" /s /sec /mov
I was then stucked with a corrupted folder structure that was impossible to delete except with the simple trick!
Thanks Chuck Stephens!
------------------------------------
Reply:
- Edited by Mortivicar Saturday, August 13, 2016 2:56 PM
------------------------------------
Reply:
~if this were /. this sig would be funny
------------------------------------
Reply:
------------------------------------
Activated "Site Notebook" feature prevents saving site as template when "Notebook" link is deleted from Quick Launch
Submitting this for prosperity. This was a weird one.
Had a customer who wanted to save a subsite as a template. No big deal, but customer kept receiving a standard "Sorry, something went wrong" error. Found this gem in a non-verbose ULS trace:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.SPSolutionExporter.WriteNavBarIntoOnet(XmlWriter xmlWriter, SPNavigationNodeCollection navigationNodes, String name, String id, String url, String webUrl, Boolean bReservedId)
at Microsoft.SharePoint.SPSolutionExporter.WriteNavBarsIntoOnet(XmlWriter xmlWriter)
at Microsoft.SharePoint.SPSolutionExporter.SiteTemplateExportDocElemAndAttrs(Guid[] featureGuids, String[] comments, ScopedXmlWriter scopedSiteDefinitionWriter)
at Microsoft.SharePoint.SPSolutionExporter.ExportSiteDefinition(Guid[] featureGuids, String[] comments)
at Microsoft.SharePoint.SPSolutionExporter.GenerateSolutionFiles()
at Microsoft.SharePoint.SPSolutionExporter.ExportWebAsSolution()
The "WriteNavBarIntoOnet" method was my first clue. The subsite was inheriting its parent top link bar, so I tried dis-inheriting it to no avail, and the same error message.
I started doing all the deep-dive stuff...verbose ULS, procmon trace, etc. Verbose ULS had a few messages that looked like "Creating output stream for XML file at 'C:\Users\(service account)\AppData\Local\Temp\SPSolutionExporter-(guid)\(solution exporter category)\Feature.xml'". Procmon didn't appear to show any issues with the service account writing to the folder, so I started looking at all the XML files it dumped, hoping to find maybe some malformed XML pointing back at a bad web part or some such.
Buried inside the solution exporter folder, in oneWebTemplate\one\Feature.xml, I discovered your standard-looking feature XML template, with one fascinating aberration:
<NavBars>
<NavBar ID="1002" Url="" Name="SharePoint Top Navigation Bar"/>
<NavBar ID="1031" Url="/projects/683817/SL-1B" Name="Home"/>
<NavBar Name="Notebook"/>
</NavBars>
As you may have guessed, if you've spent any time modifying feature XML, <NavBar Name="Notebook"/> doesn't validate against schema because the "ID" attribute is mandatory. So how to fix this?
Deactivate the "Site Notebook" feature. I tried this because, well, where else would "Notebook" come into play in a site, and the site feature contains the phrase "...and places a link to it on the Quick Launch...". Customer's Quick Launch was, indeed, missing a "Notebook" link.
You probably already know this, but deactivating that feature does not delete an existing OneNote notebooks in the Site Assets library, so this is relatively benign.
Hope this helps someone out!
Credentials issue on terminal server!
I get a terminal server with a mapped drive (this folder reside on a mac). the users have restricted access on the terminal server. Each time, we change the users account password, we have to enter the credentials for the mapped drive and for the MS Office 365 too.
Any help would be appreciated.
P Jacques
- Edited by P.Jacques Thursday, April 27, 2017 3:55 PM
Windows 7 Client Not Reporting to WSUS
We updated from Server 2008R2 to 2012 a few months ago and our clients are hit or miss on reporting for windows updates. I have tried many thing manually but it seems the only way to get them to report back is to run the Windows Troubleshooter on the client. We use FOG (partclone) to deploy a Sysprepped image to the devices. It seem like many that were deployed under the old server are the ones that are stuck.
My question is, Is there a script that does what the troubleshooter does or how can I replicate it as I am not able to silently run the troubleshooter. I am including my Windows Update log from one of the machines. Thank you in advance for any help.
2017-04-26 08:49:08:241 708 e74 Misc =========== Logging initialized (build: 7.6.7601.19161, tz: -0500) =========== 2017-04-26 08:49:08:241 708 e74 Misc = Process: C:\Windows\system32\svchost.exe 2017-04-26 08:49:08:241 708 e74 Misc = Module: c:\windows\system32\wuaueng.dll 2017-04-26 08:49:08:241 708 e74 Service ************* 2017-04-26 08:49:08:241 708 e74 Service ** START ** Service: Service startup 2017-04-26 08:49:08:241 708 e74 Service ********* 2017-04-26 08:49:08:304 708 e74 Agent * WU client version 7.6.7601.19161 2017-04-26 08:49:08:304 708 e74 Agent * Base directory: C:\Windows\SoftwareDistribution 2017-04-26 08:49:08:304 708 e74 Agent * Access type: No proxy 2017-04-26 08:49:08:304 708 e74 Agent * Network state: Connected 2017-04-26 08:49:53:574 708 e74 Report CWERReporter::Init succeeded 2017-04-26 08:49:53:574 708 e74 Agent *********** Agent: Initializing Windows Update Agent *********** 2017-04-26 08:49:53:574 708 e74 Agent * Prerequisite roots succeeded. 2017-04-26 08:49:53:574 708 e74 Agent *********** Agent: Initializing global settings cache *********** 2017-04-26 08:49:53:574 708 e74 Agent * WSUS server: http://10.130.0.39:8530 2017-04-26 08:49:53:574 708 e74 Agent * WSUS status server: http://10.130.0.39:8530 2017-04-26 08:49:53:574 708 e74 Agent * Target group: (Unassigned Computers) 2017-04-26 08:49:53:574 708 e74 Agent * Windows Update access disabled: No 2017-04-26 08:49:53:605 708 e74 DnldMgr Download manager restoring 0 downloads 2017-04-26 08:49:53:621 708 e74 AU ########### AU: Initializing Automatic Updates ########### 2017-04-26 08:49:53:636 708 e74 AU AU setting next detection timeout to 2017-04-26 13:49:53 2017-04-26 08:49:53:636 708 e74 AU # WSUS server: http://10.130.0.39:8530 2017-04-26 08:49:53:636 708 e74 AU # Detection frequency: 22 2017-04-26 08:49:53:636 708 e74 AU # Approval type: Scheduled (Policy) 2017-04-26 08:49:53:636 708 e74 AU # Scheduled install day/time: Every day at 5:00 2017-04-26 08:49:53:636 708 e74 AU # Auto-install minor updates: Yes (Policy) 2017-04-26 08:49:53:636 708 e74 AU # Will interact with non-admins (Non-admins are elevated (User preference)) 2017-04-26 08:49:53:667 708 e74 AU Setting AU scheduled install time to 2017-04-27 10:00:00 2017-04-26 08:49:53:948 708 e74 Report *********** Report: Initializing static reporting data *********** 2017-04-26 08:49:53:948 708 e74 Report * OS Version = 6.1.7601.1.0.65792 2017-04-26 08:49:53:948 708 e74 Report * OS Product Type = 0x00000030 2017-04-26 08:49:53:964 708 e74 Report * Computer Brand = Hewlett-Packard 2017-04-26 08:49:53:964 708 e74 Report * Computer Model = HP Compaq Elite 8300 SFF 2017-04-26 08:49:53:964 708 e74 Report * Bios Revision = K01 v02.05 2017-04-26 08:49:53:964 708 e74 Report * Bios Name = Default System BIOS 2017-04-26 08:49:53:964 708 e74 Report * Bios Release Date = 2012-05-07T00:00:00 2017-04-26 08:49:53:964 708 e74 Report * Locale ID = 1033 2017-04-26 08:49:55:134 708 e74 AU Successfully wrote event for AU health state:0 2017-04-26 08:49:55:134 708 e74 AU Initializing featured updates 2017-04-26 08:49:55:134 708 e74 AU Found 0 cached featured updates 2017-04-26 08:49:55:149 708 e74 AU Successfully wrote event for AU health state:0 2017-04-26 08:49:55:149 708 e74 AU Successfully wrote event for AU health state:0 2017-04-26 08:49:55:149 708 e74 AU AU finished delayed initialization 2017-04-26 08:49:55:149 708 e74 AU ############# 2017-04-26 08:49:55:149 708 e74 AU ## START ## AU: Search for updates 2017-04-26 08:49:55:149 708 e74 AU ######### 2017-04-26 08:49:55:259 708 e74 AU <<## SUBMITTED ## AU: Search for updates [CallId = {C478979C-0238-49C5-A9BA-920559B1D86C}] 2017-04-26 08:49:55:524 708 c38 PT WARNING: Cached cookie has expired or new PID is available 2017-04-26 08:49:55:524 708 c38 PT Initializing simple targeting cookie, clientId = 68b5c092-0e71-4588-8f2d-cf45dfb9e036, target group = , DNS name = 228-lmc-109550.mmsd.local 2017-04-26 08:49:55:524 708 c38 PT Server URL = http://10.130.0.39:8530/SimpleAuthWebService/SimpleAuth.asmx 2017-04-26 08:49:55:680 708 c38 Report Uploading 1 events using cached cookie, reporting URL = http://10.130.0.39:8530/ReportingWebService/ReportingWebService.asmx 2017-04-26 08:49:55:680 708 c38 Report Reporter successfully uploaded 1 events. 2017-04-26 08:49:55:680 708 c38 Agent ************* 2017-04-26 08:49:55:680 708 c38 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 08:49:55:680 708 c38 Agent ********* 2017-04-26 08:49:55:680 708 c38 Agent * Online = No; Ignore download priority = No 2017-04-26 08:49:55:680 708 c38 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1" 2017-04-26 08:49:55:680 708 c38 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed 2017-04-26 08:49:55:680 708 c38 Agent * Search Scope = {Machine} 2017-04-26 08:51:44:143 708 c38 Agent Update {5CC25303-143F-40F3-A2FF-803A1DB69955}.2 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {7FE4630A-0330-4B01-A5E6-A77C7AD34EB0}.102 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {9F3DD20A-1004-470E-BA65-3DC62D982958}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {28BC880E-0592-4CBF-8F95-C79B17911D5F}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {68623613-134C-4B18-BCEC-7497AC1BFCB0}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {1E602215-B397-46CA-B1A8-7EA0059517BC}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {ED036C16-1BD6-43AB-B546-87C080DFD819}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {935C5617-D17A-37CC-DBCF-423E5BEAB8EA}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {0580151D-FD22-4401-AA2B-CE1E3AE62BC9}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {0FA1201D-4330-4FA8-8AE9-B877473B6441}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {CD5FFD1E-E932-4E3A-BF74-18BF0B1BBD83}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {BC48031F-9353-4DB2-A305-541E324374E2}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E7BA9D21-4C88-4F88-94CB-A23488E59EBD}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {5E870422-BD8F-4FD2-96D3-9C5D9AAFDA22}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {5EF2C723-3E0B-4F87-B719-78B027E38087}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {B54E7D24-7ADD-428F-8B75-90A396FA584F}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {6D992428-3B47-4957-BB1A-157BD8C73D38}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {4E487029-F550-4C22-8B31-9173F3F95786}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {23F5EB29-DDC6-4263-9958-CF032644DEEA}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {7FFF3336-2479-4623-A697-BCEFCF1B9F92}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {2B496C37-F722-4E7B-8467-A7AD1E29E7C1}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {35C4463B-35DC-42AC-B0BA-1D9B5C505DE2}.103 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {89068F3D-2B20-52B8-7FF9-CF27AB16E84D}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {523A2448-8B6C-458B-9336-307E1DF6D6A6}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {704A0A4A-518F-4D69-9E03-10BA44198BD5}.112 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {B567E54E-648B-4AC6-9171-149A19A73DA8}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E6CF1350-C01B-414D-A61F-263D14D133B4}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {504AE250-57C5-484A-8A10-A2C35EA0689B}.102 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {8184D953-8366-4E13-8566-DF0E15ACA108}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {116A3557-3847-4858-9F03-38E94B977456}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {BD282A5B-D44A-4EF0-9BBA-2B9AD8B7C99E}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {01CE995B-6E10-404B-8511-08142E6B814E}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {0BBD2260-7478-4553-A791-21AB88E437D2}.203 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {8FDC8B60-9E7C-4275-8668-198F89A64DF6}.202 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {57742761-615A-4E06-90BB-008394EAEA47}.201 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {6966A762-0C7C-4261-BD07-FB12B4673347}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {B3D0AF68-8A86-4BFC-B458-AF702F35930E}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {78F4E068-1609-4E7A-AC8E-174288FA70A1}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {4F93EB69-8B97-4677-8DE4-D3FCA7ED10E6}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {477B856E-65C4-4473-B621-A8B230BB70D9}.105 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {CBFD1E71-9D9E-457E-A8C5-500C47CFE9F3}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {A0DD7E72-90EC-41E3-B370-C86A245CD44F}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {CA9E8C72-81C4-11DC-8284-F47156D89593}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {8BC19572-A4B6-4910-B70D-716FECFFC1EB}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {0A4C6C73-8887-4D7F-9CBE-D08FA8FA9D1E}.51 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {BFE5B177-A086-47A0-B102-097E4FA1F807}.103 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {FE729F7E-3945-11DC-8E0C-CD1356D89593}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {892C0584-8B03-428F-9A74-224FCD6887C0}.202 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E7441A84-4561-465F-9E0E-7FC16FA25EA7}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {2425DE84-F071-4358-AAC9-6BBD6E0BFAA7}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {C9834186-A976-472B-8384-6BB8F2AA43D9}.102 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {48CE8C86-6850-4F68-8E9D-7DC8535CED60}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {8508AF86-B85E-450F-A518-3B6F8F204EEA}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {03C7C488-F8ED-496C-B6E0-BE608ABB8A79}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {23B3DA8B-060E-4517-A431-3CB10F040794}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {B0C3B58D-1997-4B68-8D73-AB77F721D099}.202 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {4756F399-B049-8E6E-94E9-FF63D0E236A7}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {FA5EF799-B817-439E-ABF7-C76BA0CACB75}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E54F3C9B-EEC3-48F4-A791-EF1E2B0586D0}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {AFD77D9E-F05A-431C-889A-34C23C9F9AF5}.103 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {2AF51AA0-509A-4B1D-9218-7E7508F05EC3}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {EC9AACA2-F868-4F06-B201-FB8EEFD84CEF}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {68C5B0A3-D1A6-4553-AE49-01D3A7827828}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {A36724A5-DA1A-47B2-B8BE-95E7CD9BC909}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {26A5D0A5-B108-46F1-93FA-F2A9CF10D029}.102 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {41DCE4A6-71DD-4A02-BB36-76984107376D}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {22BF57A8-4FE1-425F-BDAA-32B4F655284B}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {F8C3C9A9-10DE-4F09-BC16-5EB1B861FB4C}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {5C9376AB-8CE6-464A-B136-22113DD69801}.2 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {04D85AC2-C29F-4414-9CB6-5BCD6C059070}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {7C40E8C2-01AE-47F5-9AF2-6E75A0582518}.2 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {EBFC1FC5-71A4-4F7B-9ACA-3B9A503104A0}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {3689BDC8-B205-4AF4-8D4A-A63924C5E9D5}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {9F9B1ACE-A810-11DB-BAD5-F7F555D89593}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {DD6318D7-1CFF-44ED-A0B1-9D410C196792}.201 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {B4832BD8-E735-4761-8DAF-37F882276DAB}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {BEC76BE5-7AA9-497F-B70B-5FD1CFD1E3B1}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {EEF074E9-61D6-4DAC-B102-3DBE15FFF3EA}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {CAE7E4F1-A4D2-4C5F-B54C-1C7B210EC885}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {0F3412F2-3405-4D86-A0FF-0EDE802227A8}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E1C753F2-9F79-4577-B75B-913F4230FEEE}.200 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {9476D3F6-A119-4D6E-9952-8AD28A55BBA6}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E3FDE9F8-14D6-4B5C-911C-FBA9E0FC9887}.101 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {E88A19FB-A847-4E3D-9AE2-13C2B84F58A6}.100 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:143 708 c38 Agent Update {C96C35FC-A21F-481B-917C-10C4F64792CB}.102 has no local extended metadata. Not returning it. 2017-04-26 08:51:44:159 708 c38 Agent * Found 0 updates and 4 categories in search; evaluated appl. rules of 3650 out of 8607 deployed entities 2017-04-26 08:51:44:159 708 c38 Agent ********* 2017-04-26 08:51:44:159 708 c38 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 08:51:44:159 708 c38 Agent ************* 2017-04-26 08:51:44:174 708 c38 Report REPORT EVENT: {51CDF4EA-28F8-4C84-8CFD-85B71172B999} 2017-04-26 08:49:55:149-0500 1 202 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Reboot completed. 2017-04-26 08:51:44:174 708 284 AU >>## RESUMED ## AU: Search for updates [CallId = {C478979C-0238-49C5-A9BA-920559B1D86C}] 2017-04-26 08:51:44:174 708 284 AU # 0 updates detected 2017-04-26 08:51:44:174 708 284 AU ######### 2017-04-26 08:51:44:174 708 284 AU ## END ## AU: Search for updates [CallId = {C478979C-0238-49C5-A9BA-920559B1D86C}] 2017-04-26 08:51:44:174 708 284 AU ############# 2017-04-26 08:51:44:174 708 284 AU Featured notifications is disabled. 2017-04-26 08:51:44:174 708 284 AU Setting AU scheduled install time to 2017-04-27 10:00:00 2017-04-26 08:51:44:174 708 284 AU Successfully wrote event for AU health state:0 2017-04-26 08:51:44:174 708 284 AU Successfully wrote event for AU health state:0 2017-04-26 08:51:44:174 708 e74 AU ############# 2017-04-26 08:51:44:174 708 e74 AU ## START ## AU: Search for updates 2017-04-26 08:51:44:174 708 e74 AU ######### 2017-04-26 08:51:44:174 708 e74 AU <<## SUBMITTED ## AU: Search for updates [CallId = {ABF024F3-54B7-4C6D-91BE-228A82253029}] 2017-04-26 08:51:44:221 708 c38 Agent ************* 2017-04-26 08:51:44:221 708 c38 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 08:51:44:221 708 c38 Agent ********* 2017-04-26 08:51:44:221 708 c38 Agent * Online = Yes; Ignore download priority = No 2017-04-26 08:51:44:221 708 c38 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1" 2017-04-26 08:51:44:221 708 c38 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed 2017-04-26 08:51:44:221 708 c38 Agent * Search Scope = {Machine} 2017-04-26 08:51:44:221 708 c38 Setup Checking for agent SelfUpdate 2017-04-26 08:51:44:221 708 c38 Setup Client version: Core: 7.6.7601.19161 Aux: 7.6.7601.19161 2017-04-26 08:51:44:237 708 c38 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080: 2017-04-26 08:51:44:377 708 c38 Misc Microsoft signed: NA 2017-04-26 08:51:44:377 708 c38 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\TMP4172.tmp with dwProvFlags 0x00000080: 2017-04-26 08:51:44:424 708 c38 Misc Microsoft signed: NA 2017-04-26 08:51:44:440 708 c38 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab with dwProvFlags 0x00000080: 2017-04-26 08:51:44:455 708 c38 Misc Microsoft signed: NA 2017-04-26 08:51:44:455 708 c38 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab with dwProvFlags 0x00000080: 2017-04-26 08:51:44:455 708 c38 Misc Microsoft signed: NA 2017-04-26 08:51:44:564 708 c38 Setup Determining whether a new setup handler needs to be downloaded 2017-04-26 08:51:44:564 708 c38 Setup SelfUpdate handler is not found. It will be downloaded 2017-04-26 08:51:44:564 708 c38 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.320" 2017-04-26 08:51:44:580 708 c38 Setup Setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.320" is already installed. 2017-04-26 08:51:44:580 708 c38 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.320" 2017-04-26 08:51:44:596 708 c38 Setup Setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.320" is already installed. 2017-04-26 08:51:44:596 708 c38 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.320" 2017-04-26 08:51:44:611 708 c38 Setup Setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.320" is already installed. 2017-04-26 08:51:44:611 708 c38 Setup SelfUpdate check completed. SelfUpdate is NOT required. 2017-04-26 08:51:44:814 708 c38 PT +++++++++++ PT: Synchronizing server updates +++++++++++ 2017-04-26 08:51:44:814 708 c38 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://10.130.0.39:8530/ClientWebService/client.asmx 2017-04-26 08:51:52:973 708 2c0 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77} 2017-04-26 08:51:52:973 708 2c0 Agent AddTargetedServiceMapping: EE79282D-E8F5-4CB4-98B8-FA67FFBDE084 -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 08:51:52:989 708 2c0 Agent WARNING: could not delete Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\ee79282d-e8f5-4cb4-98b8-fa67ffbde084 service registry key 0x80070002 2017-04-26 08:51:52:989 708 2c0 Agent WARNING: Failed to delete service from the backup store, error = 0x80070002 2017-04-26 08:51:52:989 708 2c0 Agent RemoveTargetedServiceMapping: EE79282D-E8F5-4CB4-98B8-FA67FFBDE084 -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 08:52:46:885 708 c38 PT WARNING: Exceeded max server round trips: 0x80244010 2017-04-26 08:52:46:885 708 c38 PT WARNING: Sync of Updates: 0x80244010 2017-04-26 08:52:46:885 708 c38 PT WARNING: SyncServerUpdatesInternal failed: 0x80244010 2017-04-26 08:52:46:885 708 c38 Agent * WARNING: Failed to synchronize, error = 0x80244010 2017-04-26 08:52:46:885 708 c38 Agent * WARNING: Exit code = 0x80244010 2017-04-26 08:52:46:885 708 c38 Agent ********* 2017-04-26 08:52:46:885 708 c38 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 08:52:46:885 708 c38 Agent ************* 2017-04-26 08:52:46:885 708 c38 Agent WARNING: WU client failed Searching for update with error 0x80244010 2017-04-26 08:52:46:885 708 284 AU >>## RESUMED ## AU: Search for updates [CallId = {ABF024F3-54B7-4C6D-91BE-228A82253029}] 2017-04-26 08:52:46:885 708 284 AU # WARNING: Search callback failed, result = 0x80244010 2017-04-26 08:52:46:885 708 284 AU # WARNING: Failed to find updates with error code 80244010 2017-04-26 08:52:46:885 708 284 AU ######### 2017-04-26 08:52:46:885 708 284 AU ## END ## AU: Search for updates [CallId = {ABF024F3-54B7-4C6D-91BE-228A82253029}] 2017-04-26 08:52:46:885 708 284 AU ############# 2017-04-26 08:52:46:885 708 284 AU Successfully wrote event for AU health state:0 2017-04-26 08:52:46:885 708 284 AU AU setting next detection timeout to 2017-04-26 18:52:46 2017-04-26 08:52:46:885 708 284 AU AU was unable to detect updates for more than 48 hours 2017-04-26 08:52:46:885 708 284 AU Setting AU scheduled install time to 2017-04-27 10:00:00 2017-04-26 08:52:46:885 708 284 AU Successfully wrote event for AU health state:0 2017-04-26 08:52:46:885 708 284 AU Successfully wrote event for AU health state:0 2017-04-26 08:52:51:893 708 c38 Report REPORT EVENT: {0466F8FE-88D7-44A6-9E03-9B3719E101A5} 2017-04-26 08:52:46:885-0500 1 148 101 {00000000-0000-0000-0000-000000000000} 0 80244010 AutomaticUpdates Failure Software Synchronization Windows Update Client failed to detect with error 0x80244010. 2017-04-26 08:52:51:893 708 c38 Report REPORT EVENT: {E73FFC23-7E9B-45D6-9DC6-B61AD88E5DCC} 2017-04-26 08:52:46:885-0500 1 149 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Failure Software Synchronization Unable to Connect: Windows is unable to connect to the automatic updates service and therefore cannot download and install updates according to the set schedule. Windows will continue to try to establish a connection. 2017-04-26 08:52:52:033 708 c38 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8 2017-04-26 08:52:52:033 708 c38 Report WER Report sent: 7.6.7601.19161 0x80244010(0) 0000000-0000-0000-0000-000000000000 Scan 0 1 AutomaticUpdates {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} 0 2017-04-26 08:57:34:935 708 c38 Report Uploading 2 events using cached cookie, reporting URL = http://10.130.0.39:8530/ReportingWebService/ReportingWebService.asmx 2017-04-26 08:57:34:935 708 c38 Report Reporter successfully uploaded 2 events. 2017-04-26 09:00:30:341 708 100c DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77} 2017-04-26 09:00:30:341 708 100c Agent AddTargetedServiceMapping: 0BA6F392-7297-4923-B32A-D55D01B70B55 -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 09:00:31:838 4044 13f8 Misc =========== Logging initialized (build: 7.6.7601.19161, tz: -0500) =========== 2017-04-26 09:00:31:838 4044 13f8 Misc = Process: C:\Windows\system32\CompatTelRunner.exe 2017-04-26 09:00:31:838 4044 13f8 Misc = Module: C:\Windows\system32\wuapi.dll 2017-04-26 09:00:31:760 4044 13f8 COMAPI ------------- 2017-04-26 09:00:31:838 4044 13f8 COMAPI -- START -- COMAPI: Search [ClientId = ] 2017-04-26 09:00:31:838 4044 13f8 COMAPI --------- 2017-04-26 09:00:31:870 708 c38 Agent ************* 2017-04-26 09:00:31:870 4044 13f8 COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = ] 2017-04-26 09:00:31:870 708 c38 Agent ** START ** Agent: Finding updates [CallerId = <<PROCESS>>: CompatTelRunner.exe] 2017-04-26 09:00:31:870 708 c38 Agent ********* 2017-04-26 09:00:31:870 708 c38 Agent * Online = Yes; Ignore download priority = No 2017-04-26 09:00:31:870 708 c38 Agent * Criteria = "(CategoryIDs contains '405706ED-F1D7-47EA-91E1-EB8860039715' AND Type='Driver' AND VersionOverride='10.0.10586.2.0.0.256.1') OR (CategoryIDs contains '34F268B4-7E2D-40E1-8966-8BB6EA3DAD27' AND Type='Driver' AND VersionOverride='10.0.10586.2.0.0.256.1') OR (CategoryIDs contains '05EEBF61-148B-43CF-80DA-1C99AB0B8699' AND Type='Driver' AND VersionOverride='10.0.10586.2.0.0.256.1')" 2017-04-26 09:00:31:870 708 c38 Agent * ServiceID = {0BA6F392-7297-4923-B32A-D55D01B70B55} Third party service 2017-04-26 09:00:31:870 708 c38 Agent * Search Scope = {Machine} 2017-04-26 09:00:31:870 708 c38 Agent GetTargetedServiceMapping: 0BA6F392-7297-4923-B32A-D55D01B70B55 -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 09:00:32:275 708 c38 PT +++++++++++ PT: Starting category scan +++++++++++ 2017-04-26 09:00:32:275 708 c38 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://10.130.0.39:8530/ClientWebService/client.asmx 2017-04-26 09:00:32:447 708 c38 PT +++++++++++ PT: Synchronizing server updates +++++++++++ 2017-04-26 09:00:32:447 708 c38 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://10.130.0.39:8530/ClientWebService/client.asmx 2017-04-26 09:00:32:447 708 c38 PT WARNING: Cached cookie has expired or new PID is available 2017-04-26 09:00:32:447 708 c38 PT Initializing simple targeting cookie, clientId = 68b5c092-0e71-4588-8f2d-cf45dfb9e036, target group = , DNS name = 228-lmc-109550.mmsd.local 2017-04-26 09:00:32:447 708 c38 PT Server URL = http://10.130.0.39:8530/SimpleAuthWebService/SimpleAuth.asmx 2017-04-26 09:00:32:587 708 c38 Agent * Found 0 updates and 5 categories in search; evaluated appl. rules of 5 out of 5 deployed entities 2017-04-26 09:00:32:587 708 c38 Agent ********* 2017-04-26 09:00:32:587 708 c38 Agent ** END ** Agent: Finding updates [CallerId = <<PROCESS>>: CompatTelRunner.exe] 2017-04-26 09:00:32:587 708 c38 Agent ************* 2017-04-26 09:00:32:587 4044 11a4 COMAPI >>-- RESUMED -- COMAPI: Search [ClientId = ] 2017-04-26 09:00:32:587 4044 11a4 COMAPI - Updates found = 0 2017-04-26 09:00:32:587 4044 11a4 COMAPI --------- 2017-04-26 09:00:32:587 4044 11a4 COMAPI -- END -- COMAPI: Search [ClientId = ] 2017-04-26 09:00:32:587 4044 11a4 COMAPI ------------- 2017-04-26 09:00:32:650 708 103c Agent WARNING: could not delete Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\0ba6f392-7297-4923-b32a-d55d01b70b55 service registry key 0x80070002 2017-04-26 09:00:32:650 708 103c Agent WARNING: Failed to delete service from the backup store, error = 0x80070002 2017-04-26 09:00:32:650 708 103c Agent RemoveTargetedServiceMapping: 0BA6F392-7297-4923-B32A-D55D01B70B55 -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 09:00:37:595 708 c38 Report REPORT EVENT: {120B1BC7-F27D-4A36-A92B-6AE4146D9BC8} 2017-04-26 09:00:32:587-0500 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 <<PROCESS>>: CompatTelRunner.ex Success Software Synchronization Windows Update Client successfully detected 0 updates. 2017-04-26 09:06:27:862 708 c38 Report Uploading 1 events using cached cookie, reporting URL = http://10.130.0.39:8530/ReportingWebService/ReportingWebService.asmx 2017-04-26 09:06:27:862 708 c38 Report Reporter successfully uploaded 1 events.
Reply:
Here is a client that never reported to WSUS
2017-04-26 05:59:38:009 712 e70 AU AU setting next sqm report timeout to 2017-04-27 10:59:37 2017-04-26 05:59:38:402 712 e70 AU Forced install timer expired for AUInstallType = 4 2017-04-26 05:59:38:402 712 e70 AU UpdateDownloadProperties: 0 download(s) are still in progress. 2017-04-26 05:59:38:625 712 e70 AU Setting AU scheduled install time to 2017-04-27 10:00:00 2017-04-26 05:59:38:625 712 e70 AU Successfully wrote event for AU health state:0 2017-04-26 05:59:38:625 712 e70 AU Will do the detection after current detection completes 2017-04-26 06:00:22:569 712 e70 AU Initiating Install-at-shutdown 2017-04-26 06:00:22:569 712 e70 Shutdwn user declined update at shutdown 2017-04-26 06:00:22:585 712 e70 AU Successfully wrote event for AU health state:0 2017-04-26 06:00:22:725 712 e70 AU AU initiates service shutdown 2017-04-26 06:00:22:725 712 e70 AU ########### AU: Uninitializing Automatic Updates ########### 2017-04-26 06:00:22:741 712 16ec Agent * WARNING: Failed to filter search results, error = 0x8024000B 2017-04-26 06:00:23:707 712 16ec Agent ********* 2017-04-26 06:00:23:707 712 16ec Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 06:00:23:707 712 16ec Agent ************* 2017-04-26 06:00:30:660 712 e70 Report REPORT EVENT: {75E87523-74DB-4207-BA8C-3FF6A036CA2D} 2017-04-25 08:34:24:675-0500 1 202 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Reboot completed. 2017-04-26 06:00:33:513 712 e70 Service ********* 2017-04-26 06:00:33:513 712 e70 Service ** END ** Service: Service exit [Exit code = 0x240001] 2017-04-26 06:00:33:529 712 e70 Service ************* 2017-04-26 08:04:18:997 712 18b0 Misc =========== Logging initialized (build: 7.6.7601.19161, tz: -0500) =========== 2017-04-26 08:04:19:069 712 18b0 Misc = Process: C:\Windows\system32\svchost.exe 2017-04-26 08:04:19:070 712 18b0 Misc = Module: c:\windows\system32\wuaueng.dll 2017-04-26 08:04:18:997 712 18b0 Service ************* 2017-04-26 08:04:19:071 712 18b0 Service ** START ** Service: Service startup 2017-04-26 08:04:19:096 712 18b0 Service ********* 2017-04-26 08:04:20:445 712 18b0 Agent * WU client version 7.6.7601.19161 2017-04-26 08:04:21:765 712 18b0 Agent * Base directory: C:\Windows\SoftwareDistribution 2017-04-26 08:04:21:781 712 18b0 Agent * Access type: No proxy 2017-04-26 08:04:21:886 712 18b0 Agent * Network state: Connected 2017-04-26 08:04:58:467 712 624 Report CWERReporter::Init succeeded 2017-04-26 08:04:58:467 712 624 Agent *********** Agent: Initializing Windows Update Agent *********** 2017-04-26 08:04:58:475 712 624 Agent * Prerequisite roots succeeded. 2017-04-26 08:04:58:476 712 624 Agent *********** Agent: Initializing global settings cache *********** 2017-04-26 08:04:58:476 712 624 Agent * WSUS server: http://10.130.0.39:8530 2017-04-26 08:04:58:476 712 624 Agent * WSUS status server: http://10.130.0.39:8530 2017-04-26 08:04:58:476 712 624 Agent * Target group: (Unassigned Computers) 2017-04-26 08:04:58:476 712 624 Agent * Windows Update access disabled: No 2017-04-26 08:04:58:493 712 624 Agent * Found 1 persisted download calls to restore 2017-04-26 08:04:58:569 712 624 DnldMgr Download manager restoring 0 downloads 2017-04-26 08:04:58:581 712 624 Agent * Successfully loaded 1 persisted download calls. 2017-04-26 08:04:58:951 712 18b0 Report *********** Report: Initializing static reporting data *********** 2017-04-26 08:04:58:951 712 18b0 Report * OS Version = 6.1.7601.1.0.65792 2017-04-26 08:04:58:951 712 18b0 Report * OS Product Type = 0x00000030 2017-04-26 08:04:58:958 712 18b0 Report * Computer Brand = Hewlett-Packard 2017-04-26 08:04:58:958 712 18b0 Report * Computer Model = HP Compaq Elite 8300 SFF 2017-04-26 08:04:58:972 712 18b0 Report * Bios Revision = K01 v02.05 2017-04-26 08:04:58:972 712 18b0 Report * Bios Name = Default System BIOS 2017-04-26 08:04:58:972 712 18b0 Report * Bios Release Date = 2012-05-07T00:00:00 2017-04-26 08:04:58:972 712 18b0 Report * Locale ID = 1033 2017-04-26 08:04:59:186 712 624 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77} 2017-04-26 08:04:59:186 712 624 Agent AddTargetedServiceMapping: ED00FC8A-1B09-432A-A199-CE73DF4E990A -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 08:04:59:305 712 624 Agent WARNING: could not delete Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\ed00fc8a-1b09-432a-a199-ce73df4e990a service registry key 0x80070002 2017-04-26 08:04:59:305 712 624 Agent WARNING: Failed to delete service from the backup store, error = 0x80070002 2017-04-26 08:04:59:305 712 624 Agent RemoveTargetedServiceMapping: ED00FC8A-1B09-432A-A199-CE73DF4E990A -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 08:04:59:491 712 1804 PT WARNING: Cached cookie has expired or new PID is available 2017-04-26 08:04:59:491 712 1804 PT Initializing simple targeting cookie, clientId = e861d642-4164-42b1-9e59-338fe7911204, target group = , DNS name = 026-216-111725.mmsd.local 2017-04-26 08:04:59:492 712 1804 PT Server URL = http://10.130.0.39:8530/SimpleAuthWebService/SimpleAuth.asmx 2017-04-26 08:04:59:578 712 1804 Report Uploading 1 events using cached cookie, reporting URL = http://10.130.0.39:8530/ReportingWebService/ReportingWebService.asmx 2017-04-26 08:04:59:589 712 1804 Report Reporter successfully uploaded 1 events. 2017-04-26 08:05:11:375 712 18b0 AU ########### AU: Initializing Automatic Updates ########### 2017-04-26 08:05:11:382 712 18b0 AU AU setting next detection timeout to 2017-04-26 13:05:11 2017-04-26 08:05:11:382 712 18b0 AU # WSUS server: http://10.130.0.39:8530 2017-04-26 08:05:11:382 712 18b0 AU # Detection frequency: 22 2017-04-26 08:05:11:382 712 18b0 AU # Approval type: Scheduled (Policy) 2017-04-26 08:05:11:382 712 18b0 AU # Scheduled install day/time: Every day at 5:00 2017-04-26 08:05:11:382 712 18b0 AU # Auto-install minor updates: Yes (Policy) 2017-04-26 08:05:11:382 712 18b0 AU # Will interact with non-admins (Non-admins are elevated (User preference)) 2017-04-26 08:05:11:436 712 18b0 AU Setting AU scheduled install time to 2017-04-27 10:00:00 2017-04-26 08:05:11:449 712 18b0 AU Successfully wrote event for AU health state:0 2017-04-26 08:05:11:450 712 18b0 AU Initializing featured updates 2017-04-26 08:05:11:450 712 18b0 AU Found 0 cached featured updates 2017-04-26 08:05:11:450 712 18b0 AU Successfully wrote event for AU health state:0 2017-04-26 08:05:11:451 712 18b0 AU Successfully wrote event for AU health state:0 2017-04-26 08:05:11:451 712 18b0 AU AU finished delayed initialization 2017-04-26 08:05:11:451 712 18b0 AU ############# 2017-04-26 08:05:11:451 712 18b0 AU ## START ## AU: Search for updates 2017-04-26 08:05:11:451 712 18b0 AU ######### 2017-04-26 08:05:11:494 712 18b0 AU <<## SUBMITTED ## AU: Search for updates [CallId = {22FB27FF-9406-433C-B74D-C0B375A7CDDA}] 2017-04-26 08:05:11:494 712 1804 Agent ************* 2017-04-26 08:05:11:494 712 1804 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-26 08:05:11:531 712 1804 Agent ********* 2017-04-26 08:05:11:531 712 1804 Agent * Online = No; Ignore download priority = No 2017-04-26 08:05:11:531 712 1804 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1" 2017-04-26 08:05:11:531 712 1804 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed 2017-04-26 08:05:11:531 712 1804 Agent * Search Scope = {Machine} 2017-04-26 08:15:09:648 712 18e4 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77} 2017-04-26 08:15:09:648 712 18e4 Agent AddTargetedServiceMapping: 9D9002CB-1EDF-44B6-8C0D-4268ED4C259C -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 08:15:10:241 6412 189c Misc =========== Logging initialized (build: 7.6.7601.19161, tz: -0500) =========== 2017-04-26 08:15:10:241 6412 189c Misc = Process: C:\Windows\system32\CompatTelRunner.exe 2017-04-26 08:15:10:241 6412 189c Misc = Module: C:\Windows\system32\wuapi.dll 2017-04-26 08:15:10:179 6412 189c COMAPI ------------- 2017-04-26 08:15:10:241 6412 189c COMAPI -- START -- COMAPI: Search [ClientId = ] 2017-04-26 08:15:10:241 6412 189c COMAPI --------- 2017-04-26 08:15:10:288 6412 189c COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = ] 2017-04-26 08:20:10:860 712 18e4 Agent WARNING: could not delete Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\9d9002cb-1edf-44b6-8c0d-4268ed4c259c service registry key 0x80070002 2017-04-26 08:20:10:861 712 18e4 Agent WARNING: Failed to delete service from the backup store, error = 0x80070002 2017-04-26 08:20:10:861 712 18e4 Agent RemoveTargetedServiceMapping: 9D9002CB-1EDF-44B6-8C0D-4268ED4C259C -> 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 2017-04-26 11:57:33:921 712 18b0 AU Will do the detection after current detection completes
------------------------------------
Batch script for finding files and replacing a text string in them - not working correctly
Hi All,
I need some help about the following cmd script which is supposed to do the following task on Windows 7 SP1 machines:
Searching for certain configuration files and replace a text string in it. So I am searching for the files with dir and putting them into a temp.tmp. After that I am reading it through loop and trying to make the change.
dir /s /a /b "c:\path\*.ini" > %userprofile%\temp.tmp
for /F "tokens=* delims=," %%G IN (%userprofile%\temp.tmp) DO (
setlocal enableextensions disabledelayedexpansion
set "config="%%G""
set "Value_to_change=Y"
for /f "tokens=*" %%l in ('type "%config%"^&cd.^>"%config%"'
) do for /f "tokens=1 delims== " %%a in ("%%~l"
) do if /i "%%~a"=="Param_to_change" (
>>"%config%" echo(Param_to_change=%Value_to_change%
) else (
>>"%config%" echo(%%l
)
type "%config%"
endlocal
)
But does not work as expected. The result is
The system cannot find the path specified.
The system cannot find the path specified.
If I put the path to ini file, i.e bypassing the search and loop - I works.
@echo off
set path_to_file="C:\path_to_file\file.ini"
setlocal enableextensions disabledelayedexpansion
set "config="%path_to_file%""
set "Value_to_change=Y"
for /f "tokens=*" %%l in ('type "%config%"^&cd.^>"%config%"'
) do for /f "tokens=1 delims== " %%a in ("%%~l"
) do if /i "%%~a"=="Param_to_change" (
>>"%config%" echo(Param_to_change=%Value_to_change%
) else (
>>"%config%" echo(%%l
)
type "%config%"
endlocal
This works as expected!
What am I missing!?.
Thank you very much for your guidance and help!
- Changed type Bill_Stewart Saturday, June 24, 2017 6:25 PM
- Moved by Bill_Stewart Saturday, June 24, 2017 6:26 PM This is not "fix/edit/rewrite gallery script for me" forum
Reply:
I doubt anyone is going to help you rewrite your shell script (cmd.exe batch file) so that it "works" (however you define that). That's not the purpose of this forum.
It would be a much better idea to rewrite the logic of the script using PowerShell instead of trying to get this done in the tortured batch language syntax.
-- Bill Stewart [Bill_Stewart]
------------------------------------
USMT - Network data
currently all our Windows 7 computers are storing data on network share through Folder redirection
We are reimaging the computer to Windows 10 ( Wipe and load )... and plan is not to use folder redirect anymore and store data locally here after
Is it possible to use USMT for Harlink in this scenario to get the data backup?
How USMT will behave during scan state and load state when we have data stored in network location through folder redirection ?
Can USMT capture data stored in Network location ?
verification
device cal activation
Issue with Line chart
I was trying to create line chart using CSR approach, for this I used highchart framework.
I referred this link for line chart.
Here is my list :
Here is the code :
/* Title: barCharts Description:This code can be used to create charts using Highcharts.js framework Author: Sachchin Annam */ document.write('<script src="/imisscpl/dw/SiteAssets/Charts/highcharts.js"><\/script>') document.write('<script src="/imisscpl/dw/SiteAssets/Charts/exporting.js"><\/script>') // Declare the variables. var csrCharts = csrCharts || {}; csrCharts.colors = ['#612ab3', '#c2242e', '#4876ff','#ffc125','#00406d','#fa3d0d','#cd3700','#ff8247']; csrCharts.ChartTitle =[]; csrCharts.KKR = []; csrCharts.RCB = []; csrCharts.RR= []; csrCharts.CSK= []; csrCharts.MI= []; csrCharts.DC= []; csrCharts.KXIP= []; csrCharts.DD= []; csrCharts.Desc = ''; // Override the rendering. csrCharts.FieldRenderSetup = function () { var override = {}; override.Templates = {}; override.Templates.Header = csrCharts.CustomHeader; override.Templates.Item = csrCharts.CustomItem; override.Templates.Footer = csrCharts.CustomFooter; SPClientTemplates.TemplateManager.RegisterTemplateOverrides(override); }; csrCharts.CustomItem = function (ctx) { csrCharts.ChartTitle.push(ctx.CurrentItem.Title);//columns names csrCharts.KKR.push(parseInt(ctx.CurrentItem.KKR));//columns names csrCharts.RCB.push(parseInt(ctx.CurrentItem.RCB));//columns names csrCharts.CSK.push(parseInt(ctx.CurrentItem.CSK));//columns names csrCharts.RR.push(parseInt(ctx.CurrentItem.RR));//columns names csrCharts.MI.push(parseInt(ctx.CurrentItem.MI));//columns names csrCharts.DC.push(parseInt(ctx.CurrentItem.DC));//columns names csrCharts.KXIP.push(parseInt(ctx.CurrentItem.KXIP));//columns names csrCharts.DD.push(parseInt(ctx.CurrentItem.DD));//columns names return ''; } csrCharts.CustomHeader = function (ctx) { return "<div id='container'></div>"; } // Override the footer. csrCharts.CustomFooter = function () { debugger; var colors = Highcharts.getOptions().colors; colors = ['#612ab3', '#c2242e', '#4876ff','#ffc125','#00406d','#fa3d0d','#cd3700','#ff8247']; Highcharts.chart('container', { title: { text: 'IPL Statistics' }, subtitle: { text: 'Season1-5' }, yAxis: { title: { text: 'Number of Employees' } }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'middle' }, plotOptions: { series: { pointStart:csrCharts.ChartTitle[0], } }, series: [{ name: 'KKR', data: csrCharts.KKR, color:colors[0] }, { name: 'RCB', data: csrCharts.RCB, color:colors[1] }, { name: 'RR', data: csrCharts.RR, color:colors[2] }, { name: 'CSK', data: csrCharts.CSK, color:colors[3] },{ name: 'MI', data: csrCharts.MI, color:colors[4] },{ name: 'DC', data: csrCharts.DC, color:colors[5] },{ name: 'KXIP', data: csrCharts.KXIP, color:colors[6] },{ name: 'DD', data: csrCharts.DD, color:colors[7] } ] }); return ''; } $(document).ready(csrCharts.FieldRenderSetup()); And here is the Output :
I tried to debug the code and able to data in array but don't what's going wrong in the code.
Please help me
Reply:
Hi,
I have created the list with following schema:
Added following items:
After that created the page added following references on SharePoint page using script editor web part:
<!-- ### Chart HTML.::Start::---- ### --> <div> <!-- ### JavaScript JS Add-ons Modules.::Start::---- ### --> <script type="text/javascript" src="/sites/amitkumarmca04_blogspot_com/SiteAssets/jquery-3.1.1.min.js"></script> <script type="text/javascript" src="/sites/amitkumarmca04_blogspot_com/SiteAssets/CreateChart.js"></script> <!-- ### JavaScript JS Add-ons Modules.::End::---- ### --> <!-- ### JQury Highchards JS Add-ons Modules.::Start::---- ### --> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <!-- ### JQury Highchards JS Add-ons Modules.::End::---- ### --> <style> #container { min-width: 310px; max-width: 800px; height: 400px; margin: 0 auto } </style> <div id="container"></div> </div> <!-- ### Chart HTML.::Start::---- ### --> The code of CreateChart.js is:
/**************************************************************************** Sample.CreateChart.js provide functionality for access CreateChart.js JS-Addon. *****************************************************************************/ /* * Version: 0.0.0.5 * Created By: Amit Kumar * CreatedDate: 04/21/2017 (MM/DD/YYYY) * Modified By: Amit Kumar * ChangeDate: 04/21/2017 (MM/DD/YYYY) */ var Sample = {}; Sample.CreateChart = { ConfigLists: {}, Config_List_Data: [] , FieldCollection: [] ,IS_TESTING_ENABLED: true /* This function has been used to write message on console */ , WriteMessage: function (message) { if (typeof console != 'undefined') { console.log(message); } } /* This function has been used to write error message on console */ , WriteErrorMessage: function (message) { Sample.CreateChart.WriteMessage('Error=>' + message); } /* This function has been used to write message on console including DATETIME */ , WriteTestMessage: function (message) { if (Sample.CreateChart.IS_TESTING_ENABLED) { Sample.CreateChart.WriteMessage('[' + new Date().toUTCString() + '] => ' + message); } } /* This function has been used to set the configuration data required on initial load of page. */ , ConfigureData: function () { Sample.CreateChart.Config_List_Data = []; Sample.CreateChart.ConfigLists["ScoreList"] = { ListId: '2A059A17-487E-4CC0-8E79-73F63926D542', ListTitle: 'ScoreList', Columns: [ { displayName: 'Id', InernalName: "ID", Id: "Id", FieldType: "Number" }, { displayName: 'Title', InernalName: "Title", Id: "Title", FieldType: "Text" }, { displayName: 'KKR', InernalName: "KKR", Id: "Value", FieldType: "Number" }, { displayName: 'RCB', InernalName: "RCB", Id: "Value", FieldType: "Number" } ] }; } ,IsNullOrEmpty : function (value) { if (value == null || typeof (value) == 'undefined' || value == '') return true; else return false; } /* This function has been used to set the list items in the form of object on the basis of columns present in the ConfigLists object for particular list */ , ListItemsLoaded: function (itemsLoadResult) { var flatList = []; var enumerator = itemsLoadResult.Items.getEnumerator(); var columns; // get corresponding columns for the given list ID for (var conf in Sample.CreateChart.ConfigLists) { if (Sample.CreateChart.ConfigLists[conf].ListId == itemsLoadResult.ListId) { columns = Sample.CreateChart.ConfigLists[conf].Columns; } } while (enumerator.moveNext()) { var currentListItem = enumerator.get_current(); var resultJson = {}; // Helper to identify column type of the list item var toClass = {}.toString // (1) var objListItem; var listData = []; for (var i = 0; i < columns.length; i++) { var columnValue = ""; try { // Check if property exists to prevent exceptions var column = currentListItem.get_item(columns[i].InernalName); var columnType = toClass.call(column); // only identifable indicator for an lookup column ([object (SP.FieldLookupValue)]) if (columnType == '[object Object]') { columnValue = column.get_lookupValue(); // in addition to the "normal" columns, also save the underlying lookup ID to allow joining resultJson[columns[i] + 'Id'] = column.get_lookupId(); } else { columnValue = column; } resultJson[columns[i].InernalName] = columnValue; } catch (err) { Sample.CreateChart.WriteErrorMessage("Sample.CreateChart.ListItemsLoaded :: Error while getting column '" + columns[i].FieldName + "', Error: " + err.toString()); } } flatList.push(resultJson); } return flatList; } /* This function has been used to get the data from Config list using JSOM without where clause */ , GetScoreListData: function (listTitle, listId) { var deferred = $.Deferred(); var clientContext = new SP.ClientContext.get_current(); var website = clientContext.get_web(); var oList = clientContext.get_web().get_lists().getByTitle(listTitle); var query = new SP.CamlQuery(); //The Query object. This is used to query for data in the List var camlQuery = ""; camlQuery = "<View><\/View>"; query.set_viewXml(camlQuery); var items = oList.getItems(query); clientContext.load(website); clientContext.load(oList); clientContext.load(items); clientContext.executeQueryAsync( Function.createDelegate(this, function () { var result = {}; result["ListId"] = listId; result["Items"] = items; // extract all columns for all items and build objects out of it => override items property with transformed data result["Items"] = Sample.CreateChart.ListItemsLoaded(result); deferred.resolve(result); }), Function.createDelegate(this, function (sender, args) { deferred.reject('Request failed. ' + args.get_message()); CreateChart.WriteErrorMessage('Sample.CreateChart.GetConfigListData :: Request failed. ' + args.get_message() + ', StackTrace:' + args.get_stackTrace()); }) ); return deferred.promise(); } , GetUniqueDetailsFromObject: function (input, uniqueItem) { var lookup = {}; var items = input; var result = []; var name = ''; for (var item, i = 0; item = items[i++];) { switch (uniqueItem.toLowerCase()) { case 'kkr': name = item.KKR; break; case 'rcb': name = item.RCB; break; } if (!(name in lookup)) { lookup[name] = 1; result.push(name); } } return result; //array of unique items } ,CreateChartOnPage : function() { var arrSeries = [] var objSeries = null; for (var i = 0; i < Sample.CreateChart.ConfigLists["ScoreList"].Columns.length; i++) { if (Sample.CreateChart.ConfigLists["ScoreList"].Columns[i].InernalName != "ID" && Sample.CreateChart.ConfigLists["ScoreList"].Columns[i].InernalName != "Title" ) { objSeries = null; objSeries = new Object(); objSeries.name = Sample.CreateChart.ConfigLists["ScoreList"].Columns[i].displayName; objSeries.data = Sample.CreateChart.GetUniqueDetailsFromObject(Sample.CreateChart.Config_List_Data, Sample.CreateChart.ConfigLists["ScoreList"].Columns[i].InernalName); arrSeries.push(objSeries); } } Highcharts.chart('container', { title: { text: 'IPL Statistics' }, subtitle: { text: 'Session 1-5' }, yAxis: { title: { text: 'Number of Employees' } }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'middle' }, plotOptions: { series: { pointStart: 2010 } }, series: arrSeries /* series: [{ name: 'Installation', data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175] }, { name: 'Manufacturing', data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434] }, { name: 'Sales & Distribution', data: [11744, 17722, 16005, 19771, 20185, 24377, 32147, 39387] }, { name: 'Project Development', data: [null, null, 7988, 12169, 15112, 22452, 34400, 34227] }, { name: 'Other', data: [12908, 5948, 8105, 11248, 8989, 11816, 18274, 18111] }] */ }); } /* This function has been used to call functions, which required to fill configuration data and data required on page load */ ,Init: function () { //--Configure required data Sample.CreateChart.ConfigureData(); var loadingDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose('Loading...', 'Please wait while request is in progress...', 150, 400); //--Now get data from Config List----::Start::----------// var pConfig = Sample.CreateChart.GetScoreListData(Sample.CreateChart.ConfigLists["ScoreList"].ListTitle, Sample.CreateChart.ConfigLists["ScoreList"].ListId); pConfig.done(function (result) { try { // result is an SP.List because that is what we passed to resolve()! var list = result; Sample.CreateChart.Config_List_Data = null; if (!Sample.CreateChart.IsNullOrEmpty(list) && list.Items.length > 0) { Sample.CreateChart.Config_List_Data = []; Sample.CreateChart.Config_List_Data = list.Items; Sample.CreateChart.CreateChartOnPage(); } } catch (err) { Sample.CreateChart.WriteErrorMessage("Sample.CreateChart.Init > Catch :: " + err.toString()); } finally { loadingDialog.close(); } }); pConfig.fail(function (result) { // result is a string because that is what we passed to reject()! var error = result; Sample.CreateChart.WriteErrorMessage("Sample.CreateChart.Init > p.fail :: " + error); loadingDialog.close(); }); //--Now get data from Config List----::Start::----------// } /* This function has been used to call INIT function, when all required SharePoint JS add-ons loaded on page */ ,Start : function(){ // to support synchronous and asynchronous updates of the site first load all scripts and finally execute functions if scripts are loaded // sequentially load all relevant scripts SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function(){}); SP.SOD.executeFunc('sp.runtime.js', null, function(){}); SP.SOD.executeFunc('init.js', null, function(){}); SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.ClientContext', function(){}); // nested checks, if relevant scripts are already loaded ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(Sample.CreateChart.Init, "sp.ui.dialog.js"); },"init.js"); },"sp.runtime.js"); }, "sp.js"); } /* This function has been used to call function on Document.Ready */ ,DocumentLoaded: function () { SP.SOD.loadMultiple(['sp.js', 'sp.runtime.js', 'strings.js', 'init.js', 'sp.ui.dialog.js'], Sample.CreateChart.Start); } }; //-----------Document.Ready----::Start::------------------// $(document).ready(function () { Sample.CreateChart.DocumentLoaded(); }); //-----------Document.Ready----::End::------------------// With the help of above code HighChart being rendered on SharePoint page:
Please try above code in SharePoint page and let me know, if you required any help on this.
Thanks, Amit Kumar, LinkedIn Profile ** My Blog
Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful
------------------------------------
Reply:
- Edited by Sachchin Friday, April 21, 2017 4:58 PM
------------------------------------
Reply:
Hi Sachchin,
In which out of the box form (View/Display/Add/Edit) , you are trying to use JSLink.
Thanks, Amit Kumar, LinkedIn Profile ** My Blog
Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful
- Edited by Amit.AK.Kumar Monday, April 24, 2017 7:25 AM
------------------------------------
Reply:
Hi Sachchin,
I have converted above mentioned JS into JSLink and performing following operations in JSLink:
1. On Pre-render event, i am trying to add reference of JQuery/Highchartjs:
JSLinkSecurity.OnPreRender = JSLinkSecurity.Functions.InitiateScopeList;
In the InitiateScopeList function, i am calling JSLinkSecurity.Functions.AddJQuery function:
JSLinkSecurity.Functions.AddJQuery = function (ctx) { absoluteSiteUrl = _spPageContextInfo.webAbsoluteUrl; var siteUrl = window.location.protocol + "//" + window.location.host + "/"; //=> // check if jQuery is available, otherwise reload it if (!window.jQuery) { var jq = document.createElement('script'); jq.type = 'text/javascript'; jq.src = siteUrl + JQuery_URL; document.getElementsByTagName('head')[0].appendChild(jq); } if (!window.Highcharts) { var hCJS = document.createElement('script'); hCJS.type = 'text/javascript'; hCJS.src = HighJS_URL; document.getElementsByTagName('head')[0].appendChild(hCJS); //---Check pop-up html loaded or not----::Start::-------------- var chkHCJS = setInterval(function () { if (window.Highcharts) { var hCEJS = document.createElement('script'); hCEJS.type = 'text/javascript'; hCEJS.src = ExportJS_URL; document.getElementsByTagName('head')[0].appendChild(hCEJS); clearInterval(chkHCJS); } }, 300); //---Check pop-up html loaded or not----::Start::-------------- } JSLinkSecurity.Functions.DocumentLoaded(); } After adding the references of required JS Add-ons, i am calling function JSLinkSecurity.Functions.DocumentLoaded, to get the data from list, which used later point to render the chard.2. Currently i am overriding Footer template in View form of list:
JSLinkSecurity.Templates.Footer = '<div id="container"></div>';
In the above code block, i am adding container for HightChart, which will be used later to render the chart.
The output is:
Complete code for your reference:
/* This Script can be reference via the List Property of a WebPart to display chart * Version: 0.0.1.1 * Created By: Amit Kumar * Modified By: Amit Kumar * ChangeDate: 04/24/2017 (MM/DD/YYYY) */ //----------Declare and Initialze global variables----------::Start::-------------- var CURRENT_CONTEXT = ''; var CURRENT_WEB = ''; var SP_LIST = ''; var JSLink_URL = "/SiteAssets/JSLink_Chart.js"; var JQuery_URL = 'sites/amitkumarmca04_blogspot_com/SiteAssets/jquery-3.1.1.min.js'; var HighJS_URL = 'https://code.highcharts.com/highcharts.js'; var ExportJS_URL = 'https://code.highcharts.com/modules/exporting.js'; var CURRENT_FIELD_VALUE = ''; var CURRENT_FIELD_ID = ''; var CURRENT_LIST_TITLE = ''; var CURRENT_LIST_TITLE = ''; //----------Declare and Initialze global variables----------::Start::-------------- Type.registerNamespace('JSLinkSecurity') JSLinkSecurity.Templates = JSLinkSecurity.Templates || {} JSLinkSecurity.Functions = JSLinkSecurity.Functions || {} JSLinkSecurity.ConfigLists = {}; JSLinkSecurity.Config_List_Data= []; JSLinkSecurityFieldCollection= []; JSLinkSecurity.IS_TESTING_ENABLED = true; JSLinkSecurity.Functions.HideFields = function (ctx) { if (ctx != null) { var chkDefaultValue = setInterval(function () { if ($('.csrHide').length != 0) { $('.csrHide').hide(); clearInterval(chkDefaultValue); } }, 100); } } /* This function has been used to write message on console */ JSLinkSecurity.Functions.WriteMessage= function (message) { if (typeof console != 'undefined') { console.log(message); } } /* This function has been used to write error message on console */ JSLinkSecurity.Functions.WriteErrorMessage= function (message) { JSLinkSecurity.Functions.WriteMessage('Error=>' + message); } /* This function has been used to write message on console including DATETIME */ JSLinkSecurity.Functions.WriteTestMessage= function (message) { if (JSLinkSecurity.Functions.IS_TESTING_ENABLED) { JSLinkSecurity.Functions.WriteMessage('[' + new Date().toUTCString() + '] => ' + message); } } /* This function has been used to set the configuration data required on initial load of page. */ JSLinkSecurity.Functions.ConfigureData= function () { JSLinkSecurity.Config_List_Data = []; JSLinkSecurity.ConfigLists["ScoreList"] = { ListId: '2A059A17-487E-4CC0-8E79-73F63926D542', ListTitle: 'ScoreList', Columns: [ { displayName: 'Id', InernalName: "ID", Id: "Id", FieldType: "Number" }, { displayName: 'Title', InernalName: "Title", Id: "Title", FieldType: "Text" }, { displayName: 'KKR', InernalName: "KKR", Id: "Value", FieldType: "Number" }, { displayName: 'RCB', InernalName: "RCB", Id: "Value", FieldType: "Number" } ] }; } JSLinkSecurity.Functions.IsNullOrEmpty =function (value) { if (value == null || typeof (value) == 'undefined' || value == '') return true; else return false; } /* This function has been used to set the list items in the form of object on the basis of columns present in the ConfigLists object for particular list */ JSLinkSecurity.Functions.ListItemsLoaded= function (itemsLoadResult) { var flatList = []; var enumerator = itemsLoadResult.Items.getEnumerator(); var columns; // get corresponding columns for the given list ID for (var conf in JSLinkSecurity.ConfigLists) { if (JSLinkSecurity.ConfigLists[conf].ListId == itemsLoadResult.ListId) { columns = JSLinkSecurity.ConfigLists[conf].Columns; } } while (enumerator.moveNext()) { var currentListItem = enumerator.get_current(); var resultJson = {}; // Helper to identify column type of the list item var toClass = {}.toString // (1) var objListItem; var listData = []; for (var i = 0; i < columns.length; i++) { var columnValue = ""; try { // Check if property exists to prevent exceptions var column = currentListItem.get_item(columns[i].InernalName); var columnType = toClass.call(column); // only identifable indicator for an lookup column ([object (SP.FieldLookupValue)]) if (columnType == '[object Object]') { columnValue = column.get_lookupValue(); // in addition to the "normal" columns, also save the underlying lookup ID to allow joining resultJson[columns[i] + 'Id'] = column.get_lookupId(); } else { columnValue = column; } resultJson[columns[i].InernalName] = columnValue; } catch (err) { JSLinkSecurity.Functions.WriteErrorMessage("Sample.CreateChart.ListItemsLoaded :: Error while getting column '" + columns[i].FieldName + "', Error: " + err.toString()); } } flatList.push(resultJson); } return flatList; } /* This function has been used to get the data from Config list using JSOM without where clause */ JSLinkSecurity.Functions.GetScoreListData= function (listTitle, listId) { var deferred = $.Deferred(); var clientContext = new SP.ClientContext.get_current(); var website = clientContext.get_web(); var oList = clientContext.get_web().get_lists().getByTitle(listTitle); var query = new SP.CamlQuery(); //The Query object. This is used to query for data in the List var camlQuery = ""; camlQuery = "<View><\/View>"; query.set_viewXml(camlQuery); var items = oList.getItems(query); clientContext.load(website); clientContext.load(oList); clientContext.load(items); clientContext.executeQueryAsync( Function.createDelegate(this, function () { var result = {}; result["ListId"] = listId; result["Items"] = items; // extract all columns for all items and build objects out of it => override items property with transformed data result["Items"] = JSLinkSecurity.Functions.ListItemsLoaded(result); deferred.resolve(result); }), Function.createDelegate(this, function (sender, args) { deferred.reject('Request failed. ' + args.get_message()); JSLinkSecurity.Functions.WriteErrorMessage('Sample.CreateChart.GetConfigListData :: Request failed. ' + args.get_message() + ', StackTrace:' + args.get_stackTrace()); }) ); return deferred.promise(); } JSLinkSecurity.Functions.GetUniqueDetailsFromObject= function (input, uniqueItem) { var lookup = {}; var items = input; var result = []; var name = ''; for (var item, i = 0; item = items[i++];) { switch (uniqueItem.toLowerCase()) { case 'kkr': name = item.KKR; break; case 'rcb': name = item.RCB; break; } if (!(name in lookup)) { lookup[name] = 1; result.push(name); } } return result; //array of unique items } JSLinkSecurity.Functions.CreateChartOnPage = function() { var arrSeries = [] var objSeries = null; for (var i = 0; i < JSLinkSecurity.ConfigLists["ScoreList"].Columns.length; i++) { if (JSLinkSecurity.ConfigLists["ScoreList"].Columns[i].InernalName != "ID" && JSLinkSecurity.ConfigLists["ScoreList"].Columns[i].InernalName != "Title" ) { objSeries = null; objSeries = new Object(); objSeries.name = JSLinkSecurity.ConfigLists["ScoreList"].Columns[i].displayName; objSeries.data = JSLinkSecurity.Functions.GetUniqueDetailsFromObject(JSLinkSecurity.Config_List_Data, JSLinkSecurity.ConfigLists["ScoreList"].Columns[i].InernalName); arrSeries.push(objSeries); } } Highcharts.chart('container', { title: { text: 'IPL Statistics' }, subtitle: { text: 'Session 1-5' }, yAxis: { title: { text: 'Number of Employees' } }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'middle' }, plotOptions: { series: { pointStart: 2010 } }, series: arrSeries }); } /* This function has been used to call functions, which required to fill configuration data and data required on page load */ JSLinkSecurity.Functions.Init= function () { //--Configure required data JSLinkSecurity.Functions.ConfigureData(); var loadingDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose('Loading...', 'Please wait while request is in progress...', 150, 400); //--Now get data from Config List----::Start::----------// var pConfig = JSLinkSecurity.Functions.GetScoreListData(JSLinkSecurity.ConfigLists["ScoreList"].ListTitle, JSLinkSecurity.ConfigLists["ScoreList"].ListId); pConfig.done(function (result) { try { // result is an SP.List because that is what we passed to resolve()! var list = result; JSLinkSecurity.Config_List_Data = null; if (!JSLinkSecurity.Functions.IsNullOrEmpty(list) && list.Items.length > 0) { JSLinkSecurity.Config_List_Data = []; JSLinkSecurity.Config_List_Data = list.Items; //---Check pop-up html loaded or not----::Start::-------------- var chkChartDIV = setInterval(function () { if ($("#container").length > 0) { JSLinkSecurity.Functions.CreateChartOnPage(); clearInterval(chkChartDIV); } }, 300); //---Check pop-up html loaded or not----::Start::-------------- } } catch (err) { JSLinkSecurity.Functions.WriteErrorMessage("Sample.CreateChart.Init > Catch :: " + err.toString()); } finally { loadingDialog.close(); } }); pConfig.fail(function (result) { // result is a string because that is what we passed to reject()! var error = result; JSLinkSecurity.Functions.WriteErrorMessage("Sample.CreateChart.Init > p.fail :: " + error); loadingDialog.close(); }); //--Now get data from Config List----::Start::----------// } /* This function has been used to call INIT function, when all required SharePoint JS add-ons loaded on page */ JSLinkSecurity.Functions.Start = function(){ // to support synchronous and asynchronous updates of the site first load all scripts and finally execute functions if scripts are loaded // sequentially load all relevant scripts SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function(){}); SP.SOD.executeFunc('sp.runtime.js', null, function(){}); SP.SOD.executeFunc('init.js', null, function(){}); SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.ClientContext', function(){}); // nested checks, if relevant scripts are already loaded ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(function(){ ExecuteOrDelayUntilScriptLoaded(JSLinkSecurity.Functions.Init, "sp.ui.dialog.js"); },"init.js"); },"sp.runtime.js"); }, "sp.js"); } /* This function has been used to call function on Document.Ready */ JSLinkSecurity.Functions.DocumentLoaded= function () { SP.SOD.loadMultiple(['sp.js', 'sp.runtime.js', 'strings.js', 'init.js', 'sp.ui.dialog.js'], JSLinkSecurity.Functions.Start); } JSLinkSecurity.Functions.LoadJSCSSFile = function (filename, filetype) { if (filetype == "js") { //if filename is a external JavaScript file var fileref = document.createElement('script') fileref.setAttribute("type", "text/javascript") fileref.setAttribute("src", filename) } if (typeof fileref != "undefined") document.getElementsByTagName("head")[0].appendChild(fileref) } /* This function has been used to add reference of JQuery framework, if not present */ JSLinkSecurity.Functions.AddJQuery = function (ctx) { absoluteSiteUrl = _spPageContextInfo.webAbsoluteUrl; var siteUrl = window.location.protocol + "//" + window.location.host + "/"; //=> // check if jQuery is available, otherwise reload it if (!window.jQuery) { var jq = document.createElement('script'); jq.type = 'text/javascript'; jq.src = siteUrl + JQuery_URL; document.getElementsByTagName('head')[0].appendChild(jq); } if (!window.Highcharts) { var hCJS = document.createElement('script'); hCJS.type = 'text/javascript'; hCJS.src = HighJS_URL; document.getElementsByTagName('head')[0].appendChild(hCJS); //---Check pop-up html loaded or not----::Start::-------------- var chkHCJS = setInterval(function () { if (window.Highcharts) { var hCEJS = document.createElement('script'); hCEJS.type = 'text/javascript'; hCEJS.src = ExportJS_URL; document.getElementsByTagName('head')[0].appendChild(hCEJS); clearInterval(chkHCJS); } }, 300); //---Check pop-up html loaded or not----::Start::-------------- } JSLinkSecurity.Functions.DocumentLoaded(); } /* This function has been called from the FIELDS and >using AddJQuery function to add Jquery reference */ JSLinkSecurity.Functions.InitiateScopeList = function () { //Add jqery and links JSLinkSecurity.Functions.AddJQuery(ctx); } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //**********************Minimal Download Strategy(MDS) code block and JSLink code block**************::Start::*************** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /* This function OnPreRender event fires before the DOM is loaded. >using InitiateScopeList function */ JSLinkSecurity.OnPreRender = JSLinkSecurity.Functions.InitiateScopeList; JSLinkSecurity.OnPostRender = JSLinkSecurity.Functions.HideFields; /* This function has been used to override the content of list view form for First Name field */ JSLinkSecurity.Functions.CustomItem = function (ctx) { var result = ''; if (ctx != null && ctx.CurrentItem != null) { result = "<span class='csrHide'>" + ctx.CurrentItem.FirstName + "</span>"; return result; } } JSLinkSecurity.Templates.Footer = '<div id="container"></div>'; //JSLinkSecurity.Templates.Item = JSLinkSecurity.Functions.CustomItem; /* This function has been used to register the namespace as per Minimal Download Strategy(MDS) */ JSLinkSecurity.Functions.RegisterField = function () { SPClientTemplates.TemplateManager.RegisterTemplateOverrides(JSLinkSecurity) } /* This function has been used to register the JS file as per Minimal Download Strategy(MDS) */ JSLinkSecurity.Functions.MdsRegisterField = function () { var thisUrl = _spPageContextInfo.webServerRelativeUrl + JSLink_URL; JSLinkSecurity.Functions.RegisterField(); RegisterModuleInit(thisUrl, JSLinkSecurity.Functions.RegisterField) } /* This code block used to find Minimal Download Strategy(MDS) enabled on the site or not >on the basis of that it's registring the JS file */ if (typeof _spPageContextInfo != "undefined" && _spPageContextInfo != null) { //-- MDS enabled on our site JSLinkSecurity.Functions.MdsRegisterField() } else { //-- MDS no enabled on our site JSLinkSecurity.Functions.RegisterField() } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //**********************Minimal Download Strategy(MDS) code block and JSLink code block**************::End::*************** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Please try above code in View form of list and let me know, if you required any help on this.
Thanks, Amit Kumar, LinkedIn Profile ** My Blog
Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful
------------------------------------
Reply:
------------------------------------
I want to reinstall my product key for windows 7 ultimate
Reply:
S.Sengupta, Windows Insider MVP
------------------------------------
Reply:
Have you tried searching for the resolution on this?
Do you need to find your existing key?
1.Open up File Explorer (Shortcut: Windows+E), then enter this: Control Panel\All Control Panel Items\System
2.Look for the numbers at the bottom under Product ID.
------------------------------------
Why the computer automatically locks the screen instead of running the screensaver?
Hi All,
I setup the screensaver to run after 3 mins of idle.
On Power Management, Display will dim after 10mins, off the display after 15 mins and sleep to never.
What happen is, after 3mins the screensaver did not run but it locks the screen instead.
Can anyone explain or give an idea why it is happening?
Thanks,
Chouy
Reply:
S.Sengupta, Windows Insider MVP
------------------------------------
Windows DHCP Server not working for wireless clients
I'll start off by painting a picture of the network.
I have a cable modem(ISP) connected into an ASUS wireless router. (DHCP is disabled)
ASUS Wireless router is connected into a gigabit switch, everything in the network connects to this switch.
Server running Windows Server 2012 Essentials is connected directly to the gigabit switch.
My server is configured with DHCP. All of the wired clients have no problem receiving IP addresses and connecting to the internet.
My probalem is that for some reason all of the wireless clients can never seem to obtain IP's. Sometimes it will work with no problem at all. But sometimes the only way to get an IP is if i restart the wireless router while trying to obtain the IP, and that's probably because the router is discovering all the devices on the network when it boots up. But still seems odd since DHCP is disabled on the router. I take it the devices cant see the DHCP server and I no idea why.
I've tried disconnecting everything from the network and leaving only the server and one wireless client and still nothing. Also tried enabling the DHCP server on the router and it works fine of course, but just can't seem to get DHCP working on the server for wireless clients.
Please help I've been troubleshooting for so long I've just gotten so bored of it at this point.
Reply:
Wireless routers sometimes have a DHCP forwarding setting so you can enter the IP or name of your DHCP server. That's what I think needs entering.
Do you know the model number of the ASUS wireless router?
------------------------------------
Reply:
------------------------------------
Cumulative Update KB4016240 now available
That will bring your build to 15063.250
Reply:
Took only 15 minutes.
------------------------------------
The best practice to print 20,000 rows of 6-columns each in pdf landscape A3 page size while to repeat the 6-columns 3 times in each page ,
The best practice to print 20,000 rows of 6-columns each in pdf landscape A3 page size while to repeat the 6-columns 3 times in each page ,
I couldn't figure out how to print 20,000 rows of 6-columns each in pdf landscape A3 page size such that the 6-columns can be repeated 3 times in each A3 page as shown in the screenshots below
Thanks
Best,
Majdoleen
- Edited by Majdoleen Tuesday, April 25, 2017 6:50 PM add image
get current user full name in infopath form using secure store service
Hi
I am using SharePoint 2013 with InfoPath 2013, I made UDC data connection to access Secure Store Service.
I am able to connect to UPS, but when I enquiry for current user full name I got the name of the secure store credential account not the current user.
I can get the current username by using username(), but how can I get the full name ?
Thanks,
Reply:
------------------------------------
Why Exchange Server is so complicated?
Email has been around for more than 40 years, I'm just wondering why in 2017 we still don't have an easy, intuitive and simple way to setup emails, calendars, and contacts in an organization?
Why setting up Exchange is so complicated, obscure and it has hundred of tricks, codes, scripts, etc to make it work? Why is so frustrating? Why the default settings never work? Is it really that difficult?
- Changed type Allen_WangJF Friday, May 5, 2017 2:50 AM
Reply:
Search, Recover, Export Mailboxes, Folders, Email, Contacts, Calendars, Tasks, etc. from Offline Exchange Databases (EDBs), On-Premise Exchange Servers and Office 365. Migrate/Recover direct from any offline EDB into any On-Premises Exchange Server, even cross version i.e. 2003 → 2007 → 2010 →2013 → 2016 → Office 365 with Lucid8's DigiScope
------------------------------------
Reply:
Thanks. I don't think comprehensive should necessarily imply that has to be complicated. And yes, I know Office 365, but that's not a self-hosted option for those who need data to stay within the company servers.
Seriously, does anyone think the implementation could be way easier or it's just me?
------------------------------------
Reply:
Search, Recover, Export Mailboxes, Folders, Email, Contacts, Calendars, Tasks, etc. from Offline Exchange Databases (EDBs), On-Premise Exchange Servers and Office 365. Migrate/Recover direct from any offline EDB into any On-Premises Exchange Server, even cross version i.e. 2003 → 2007 → 2010 →2013 → 2016 → Office 365 with Lucid8's DigiScope
------------------------------------
Regaining Object Property After Match Operator
Hello,
I have the following script that finds the number pattern in both .txt and Word documents. However, I am at a loss of how to return the path of the file that contains the number instead of just the number. If I understand my situation correctly, the -match operator has stripped the $_. object property by the time the matching number is output. Any help would be appreciated. Thanks!
$SearchStandard = @('[0-9]{3}-[0-9]{2}-[0-9]{4}' )
$Word = New-Object -ComObject Word.Application
$allword = Get-childitem -recurse *.docx , *.txt
$newobj = New-Object -com word.application
Foreach ($wd in $allword) {
$docu = $newobj.Documents.Open($wd.fullname, $false, $true)
$docu.Paragraphs | ForEach-Object {
foreach ($SearchText in $SearchStandard) {
$_.Range.Text | Where-Object {$_ -match $SearchText}
}
}
}
bufzech3
- Changed type vexednewbie Wednesday, April 26, 2017 2:23 PM
An unmarshaling policy check was performed when unmarshaling a custom marshaled object and the class {45FB4600-E6E8-4928-B25E-50476FF79425} was rejected
Background:
OS: Server Windows 2012 R2
SCCM 2012 R2 Service Manager
we are receiving the error Event 10031: An unmarshaling policy check was performed when unmarshaling a custom marshaled object and the class {45FB4600-E6E8-4928-B25E-50476FF79425} was rejected.
Any ideas how to resolve it?
- Moved by Herro wongMicrosoft contingent staff Monday, December 16, 2013 7:56 AM
- Changed type Juke Chou Tuesday, December 24, 2013 3:28 PM
- Moved by TorstenMMVP Saturday, December 28, 2013 10:09 AM moved to Service Manager
Reply:
Hello Scott,
I think this issue is more regarding SCCM issue, so I will move it to the correct forum.
There are SCCM experts who will help you better.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
------------------------------------
Reply:
OS: Server Windows 2012 R2
SCCM 2012 R2 Service Manager
There's no product like "SCCM 2012 R2 Service Manager". It's either ConfigMgr or Service Manager. So what product are you having problems with?
Torsten Meringer | http://www.mssccmfaq.de
------------------------------------
Reply:
------------------------------------
Reply:
I am having the same issue. The product is SCSM 2012 R2 running on Server 2012 R2.
No error is shown from the client when a management pack is imported (which extends a class), but this is the error on the server:
EventID: 10031
Source: COMRuntime
An unmarshaling policy check was performed when unmarshaling a custom marshaled object and the class {45FB4600-E6E8-4928-B25E-50476FF79425} was rejected
------------------------------------
Reply:
I've also encountered this annoying error so any news would be very appreciated...
Thanks in advance,
Dawid
------------------------------------
Reply:
I've also encountered this annoying error so any news would be very appreciated...
W2K12 STD
SCSM 2012 R2
An unmarshaling policy check was performed when unmarshaling a custom marshaled object and the class {45FB4600-E6E8-4928-B25E-50476FF79425} was rejected
Source: COMRuntime
Event ID: 10031
Thanks in advance,
Frank
------------------------------------
Reply:
Same issue here
Windows Server 2012 R2 and SCSM 2012 R2
An unmarshaling policy check was performed when unmarshaling a custom marshaled object and the class {45FB4600-E6E8-4928-B25E-50476FF79425} was rejected
Best regards Ingemar
------------------------------------
Reply:
Same error here - connection to: "mscoree.dll" .NET 4 ?
------------------------------------
Reply:
I also have this error on various Windows 2012 R2 servers running SQL, not Service Manager; in every case I've looked at so far, the process PID shows that the error is with an instance of MonitoringHost.exe running in SYSTEM context - in other words, the SCOM agent.
Rob Ford of Cireson suggests the technical reason for the error in this thread: https://social.technet.microsoft.com/Forums/systemcenter/en-US/e9a2b29d-f3fe-49e3-ba6e-a3772fe48a56/how-to-stop-an-unmarshaling-policy-check-was-performed-when-unmarshaling-a-custom-marshaled-object?forum=systemcenterservicemanager
but neither he nor anything else I've found explains whether it is an actual problem or just an annoying but meaningless event in the log.
I might open a case about it with Microsoft; if so, I'll post the results back here ...
After all is said and done, a whole lot more is said than done.
------------------------------------
Reply:
Did you ever open a case and find any other resolution to this error?
thank you,
------------------------------------
Reply:
I was having the same error, but class name was {0E119E63-267A-4030-8C80-5B1972E0A456}
I am using Windows 10
I searched the class name in Registry (I found three or four of it), changed the permissions of Administrators and System accounts to FULL for the keys and subkeys.
After restart, error was gone. I hope this helps.
Regards,
------------------------------------
Reply:
I was having the same issue described in this thread. I found this https://blogs.technet.microsoft.com/msoms/2016/09/28/microsoft-windows-comruntime-error-on-your-oms-agents/
Which says this:
If you verify the Process ID, you will find that it is for a monitoringhost.exe process.
We have investigated this error and determined that the full data flow is being received and that this event is noise that can be safely ignored for now.
This event is logged because monitoringhost.exe is invoked with the EOAC_NO_CUSTOM_MARSHAL flag set. This will not allow Marshalling. Anytime Marshalling occurs, it will log this event.
This event is harmless and can be ignored. We have taken an action to review our code to see if we handle this event internally and remove this from your event logs. For the time being, if you see this message, keep calm and carry on.
I do in fact have the OMS agent installed on this box, so this was the answer for me.
------------------------------------
Reply:
I've had a few errors show up recently since recent updates.. Given the current hacking climate, is it possible that new errors are showing up because MS is releasing quick fixes to block vulnerabilities recently discovered, and thus errors are generated if an exploit is attempted.
I'm basing this on the lexicon used, and the timing of these problems, as stated above: The word marshal, and marshalling being related to (possibly in this case) one having authority (MS?) to set things in order according to laws or rules.
Chip Cooper
- Edited by Cyberchipz Monday, April 24, 2017 7:27 PM
------------------------------------
Reply:
Marshalling in this context has nothing to do with law enforcement. Marshalling is about transferring data from entity to another using a common format understood by both: https://en.wikipedia.org/wiki/Marshalling_(computer_science).
Marshalling in Microsoft terms is usually in reference to data transfer to and from a COM object but is used by and in other Microsoft technologies as well.
Jason | http://blog.configmgrftw.com | @jasonsandys
------------------------------------
Reply:
I believe you misunderstood me sir.
I can see that you connected the first paragraph to the second; and I was, but was referring to the increase in system errors due to Microsoft making quick fixes related to recent publication of NSC, FBI, CSI, etc methodologies of intrusions, and Windows vulnerabilities exposed. Thus, a rash of new errors hitherto unseen have been showing up lately, as I had gotten my system down to having only one error:
The tib_mounter service failed to start due to the following error:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it because:
I disconnect my usb backup drive between backups, so a known error. Lately (last few months), several new errors have shown up in many parts of the system. Which I believe these are due to previously unknown or unpublished Windows vulnerabilities and Microsoft 'fixing' these vulnerabilities, and an error is generated when it's either catching an attempted exploit, receives bad data in the stream and/or incorrect authentication.
As far as marshalling, by "transferring data from entity to another using a common format understood by both." The concept to set things in order would fall under the category of moving data from one entity to another, as in marshalling men to catch, transfer, or gather, only in this case data. The set of rules or laws are the method in which the marshalling takes place; and refer to a concept of rules like in a referee. In other words to ensure that whatever method is used, in this case transfer, the receipt of the person or thing being marshalled (in this case data) is in the proper order, (method to handle the receipt of men or data, in this case. That the transfer follows acceptable guidelines, and the proper delivery of said men, or data in this case.
But, I didn't know specifically what the thing being marshalled was, whether is was to capture, transfer, or gather, and the method or purpose of the delivery, in the case 'changing to a common format". The concept of marshalling, as a word, is being used to define this process, which I presumed. What kind of data or information, or why, I didn't know, could have been anything but either way, it would, I'm pretty sure, act as a watchdog, or guard for the receipt, and ensure the transfer integrity of the delivery. Like, whether whatever is received has the proper credentials, in the right order, no bogus data, and that the successful transfer to the delivery site is done, whether internal to external, visa versa, or between two services, etc.
But, I do see why you thought I meant to police as in illegal activity; and yeah, sure that too! And I suspect the reason is also to ensure that whatever is being handled is what is proper, according to the rules and laws, upon receipt and delivered with the same integrity.
I do thank you for your response though, it narrows down the concept more clearly for me. And I'll also check out the link.
But to summarize, I understand the error now. Data received to be 'unmarshalled' was not in proper form or had invalid format, or didn't make sense, and it was rejected by some rule or law. (After all, laws are nothing but a set of rules.) Sounds like the marshal did it's job. The incorrect prisoner was not transferred, or didn't have the proper credentials. ;-) Too bad he made it all the way to the destination before they caught the error. lol Thanks again! I guess when things go right, we never realize the marshal is around. Good to know it's working!
BOCTAOE
Chip Cooper
- Edited by Cyberchipz Tuesday, April 25, 2017 2:34 PM
------------------------------------
SCCM 1602, Windows 10 Service Plan: 1607-1703 update conflict?
Have been handed an SCCM ADR that was meant to update Win10 from 1511 to 1607.
As a test of process SCCM Service Plan is configured (by a contractor) to run 8 months and 14days after release of the upgrade; in this case 1607 was deployed on the 16/04/17.
The ADR/Service Plan created the deployment as expected including triggering the download of the 1607 Upgrade on the WSUS server.
On review of the SSRS report for the (Computers failing with a specific scan error) produced 11423 (-2145120257). This lead to reviewing the WindowsUpdate.log on the Test PC.
Error in the windows update log:
Two Swap OSUpgrades are found, Update1 = {7F016D4C-C9A6-4699-A7DA-3D86EF81843F}.201, Update2 = {83695761-2AAC-4890-B68E-94B01BAC720C}.200
FilterInappropriateOSUpgrade failed, hr=80240FFF
In SCCM the Unique Update ID
{7F016D4C-C9A6-4699-A7DA-3D86EF81843F} is in relation to Feature update to Windows 10 Enterprise, version 1607, en-us
{83695761-2AAC-4890-B68E-94B01BAC720C} is in relation to Feature update to Windows 10 Enterprise, version 1703, en-us
Is similar to this issue:
The WSUS server is internal and I can confirm the PC is looking at the internal WSUS server. The Sync of WSUS, Download and distribution was completed as expected not sure why I am getting the issue above. Only the 1607 update is downloaded on the WSUS and is the only available within the constraints of the service plan dates?
Anything else just ask..
Can anyone advise?
Reply:
I am having the exact same issue. I recently updated SCCM to the 1702 release. Since the release of the Windows 10 1703 to Windows Update all the updates that were published on the clients disappeared. I finally found the WindowsUpdate.log on the client which provided the clues I was after.
I had already tried a rebuild of WSUS but this hasn't helped the matter. It is strange because the 1703 update in SCCM hasn't been downloaded or deployed only 1607. I will try declining 1703 through WSUS console to see if that works.
------------------------------------
Reply:
I am having the exact same issue too.
I also experienced the SNAFU on this past Patch Tuesday (04-2017) where WSUS catalog Syncs in ConfigMgr were failing due to the Upgrade classification being selected. Following David James advice I deselected the classification so the catalog would Sync. The next day he said it could be enabled again.
Not sure if this has relation to the issue but I am wondering if turning off the Upgrades Classification will fix this issue to.
------------------------------------
Reply:
Other machines were not getting the "Two Swap OSUpgrades are found" error. But we were getting hr80240FFF errors in the log that prevented other updates.
The issue resolved itself after manually applying kb4015219 to 1511 machines. The article mentions "Addressed issue that might sometimes lead to updates not getting installed on machines due to file corruption." We ended up building a software package to deploy it to machines.
We are testing the declining of the 1703 Update in WSUS as it is a better solution to resolving the issue.
------------------------------------
Suse 12.2 not sending Logical Disk State info
I installed the Linux Agent on Suse 12.2 and when I stop and start a monitored service, the SCOM 2012 server receives the alert. I cannot view the Logical Disk State of the Suse server. Can it be permissions?
Greetings
Gert
Reply:
Interesting... we don't support SUSE 12 yet. Did you have to do anything specific to get the agent installed or is it running the Universal agent? How does the agent show up in SCOM 2012? Is it monitored at all? If most things are being monitored but you are only having issues with the Logical Disk State it could just be a specific issues with that provider so I doubt it's a permissions issue.
What does the following return when run from a command prompt on the SCOM 2012 server?
winrm e http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx -r:https://<UNIX/Linux server>:1270 -u:<unix user> -p:<unix password> -auth:basic -encoding:utf-8
Regards,
-Steve
------------------------------------
Reply:
Michael Kelley, Lead Program Manager, System Center Cross Platform
------------------------------------
Reply:
Lakshmi,
The current SCOM SCX agent for SUSE 12 will work with SUSU 12.X. It supports any minor version. We only release a new agent when the major version changes. If you have issues getting it to work, post them here and we'll look into it.
Regards,
-Steve
- Edited by Steve Weber [MSFT] Friday, April 7, 2017 12:18 PM
------------------------------------
Reply:
We only support SUSE Linux Enterprise Server [SLES] and 13.x has not been released yet so if this is Open SUSE, it is not supported either way. You can probably get the Universal agent to run on it but we do not support it so you are own your own if there are issues.
Regards,
-Steve
------------------------------------
Reply:
Hi Swapna,
Can you please try :
Manual Install of agent : https://social.technet.microsoft.com/wiki/contents/articles/19527.scom-2012-r2-manually-installing-and-troubleshooting-linuxunix-agents.aspx
Please verify if the certificate is correctly generated : https://technet.microsoft.com/en-us/library/hh212851.aspx
Thanks,
Nirbhay Singh
------------------------------------
How to augment this to also list the security groups assigned to the folders?
Hi,
I have this PS script to list all folders that have specific security groups (FG_Biosas_Legacy_*) assigned to them. How could I make it also list the specific security group assigned to each folder?
foreach($folder in $folders) { $ACL = Get-Acl -Path $folder.FullName } if (($args.Count) -eq 2) { $dir = $args[0] if ((Test-Path $dir) -eq $true) { $script:FoldersFound = New-Object System.Collections.ArrayList $GroupName = $args[1] $folders = Get-ChildItem $dir -Recurse | Where-Object {$_.PSIsContainer} foreach($folder in $folders) { $i++; Write-Progress -activity "Scanning folders" -status "Percent scanned: " -percentComplete (($i / $folders.length) * 100) $ACL = Get-Acl -Path $folder.FullName foreach($ACE in $ACL.access) { if (($ACE.IdentityReference) -like "*\$GroupName") { if (($ACE.IsInherited) -eq $false) { $FoldersFound.Add($folder.FullName) | Out-Null break } } } } $FoldersFound.Sort() foreach($folder in $FoldersFound) { Write-Host $folder } } } else { Write-Host "Syntax:" $MyInvocation.MyCommand.Name """path""" """Group Name""" } Thanks in advance for any help with this!
- Changed type Bill_Stewart Tuesday, May 30, 2017 8:21 PM
- Moved by Bill_Stewart Tuesday, May 30, 2017 8:21 PM This is not "scripts on demand"
Reply:
Whoever wrote this script seems to be missing some PowerShell basics.
For example -- if (($args.Count) -eq 2) -- there's no need for that. Declare and use proper parameters, and you can even use comment-based help to document them.
I would ask whoever wrote the script to assist you. Unfortunately this isn't the right place to paste a "code dump" and ask others to figure out what you mean and update the script to match your mental specifications.
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
------------------------------------
Reply:
"How can I" - Unfortunately, this is not a "script on request" forum but a forum where we answer specific scripting questions.
Since you don't know where to start, the fastest way to get an answer would be to use a pre-written tool that can do this for you. One that comes to mind is DumpSec.
-- Bill Stewart [Bill_Stewart]
------------------------------------
No comments:
Post a Comment