Comments on: SCCM Client Log Collection – Collect SCCM Logs https://www.prajwaldesai.com/sccm-client-log-collection/ SCCM | ConfigMgr | Intune | Windows 11 | Azure Sun, 17 Apr 2022 12:45:31 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: andy https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25272 https://www.prajwaldesai.com/?p=215147#comment-25272 In reply to andy.

I have found out that sccm is calling the local script datacollector.ps1

when I call the script as below, i have in c:\admin a zip with all logs in it. I have now to find out the correct path for outputpath

PS C:\Windows\CCM> .\datacollector.ps1 -OutputPath c:\admin\

]]>
By: Prajwal Desai https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25270 https://www.prajwaldesai.com/?p=215147#comment-25270 In reply to andy.

In that case I am not sure if it can be done via the TS the way you want it.

]]>
By: andy https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25269 https://www.prajwaldesai.com/?p=215147#comment-25269 In reply to Prajwal Desai.

Not really. Our Servers are in many different domains. In addition, SMB is not allowed. Therefore, I would use the internal function from SCCM

]]>
By: Prajwal Desai https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25267 https://www.prajwaldesai.com/?p=215147#comment-25267 In reply to andy.

Let me know if this helps – https://www.prajwaldesai.com/capture-sccm-task-sequence-log-files-post-osd/

]]>
By: andy https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25266 https://www.prajwaldesai.com/?p=215147#comment-25266 In reply to Prajwal Desai.

Hi
Yes, that is the goal. We have an automated test environment. After the OSD the VM’s are deleted. However, sometimes we need to have a look to the logs.

]]>
By: Prajwal Desai https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25265 https://www.prajwaldesai.com/?p=215147#comment-25265 In reply to andy.

What’s the goal here ?. You want to collect the logs from the client machine after OSD ?.

]]>
By: andy https://www.prajwaldesai.com/sccm-client-log-collection/#comment-25264 https://www.prajwaldesai.com/?p=215147#comment-25264 Hi
I need to trigger this from a tasksequence. To you now or have an idea how this can be done?

]]>
By: IT nyp https://www.prajwaldesai.com/sccm-client-log-collection/#comment-23811 https://www.prajwaldesai.com/?p=215147#comment-23811 It may be useful sometimes, but it is not live and may / may not work. but thanks for the description, it’s good.
However, Remote “\\\c$\Windows\CCM\Logs” seems more useful if you have the permissions

]]>
By: IT Guy https://www.prajwaldesai.com/sccm-client-log-collection/#comment-17274 https://www.prajwaldesai.com/?p=215147#comment-17274 In reply to Thomas Ehler.

You find logs in ccmcache?
I find mine in %WINDIR%>CCM>Logs or %WINDIR%>ccmsetup>Logs

]]>
By: Thomas Ehler https://www.prajwaldesai.com/sccm-client-log-collection/#comment-14338 https://www.prajwaldesai.com/?p=215147#comment-14338 Hmm.
I just go to my file explorer and enter \\”pcname”\c$\windows\ccmcache\
enter my admin credentials and open the logs..

]]>