TBS Libraries KB

How to redirect MyPC Client Logs

The Cause

When using Deep Freeze, the log folders are all wiped at reboot, so when troubleshooting, we cannot grab logs once the PC is rebooted.


The Solution

Saving Debug Logs to another location (All Clients)

It is now possible to save DEBUG logs from the MyPC client to another location. This could be a thaw space on the same PC when using Deep Freeze or other reboot and restore products. It could be a network share. 

To save logs from the default location of C:\Program Files\ITS\MyPC Client\Logs, you need to update the following registry key (on client PC) to the desired location: "HKEY_LOCAL_MACHINE\SOFTWARE\MyPC3\Service\LoggingPath" An example would be "T:\"


Saving to a network share 

If required, you can save the MyPC DEBUG logs to a network share. This is an advanced task and will need your IT team's assistance. 

The steps required: 

1. Create a network share and allow the relevant permissions in this instance you would need to allow the COMPUTERNAME$ to the shared access to be allowed to write and read as our client runs as the LOCAL SYSTEM account. 

2. In the Share create a Logs folder to ensure permissions are inherited. 

3. Change the location in registry key (on client PC): "HKEY_LOCAL_MACHINE\SOFTWARE\MyPC3\Service\LoggingPath" to the Share via a UNC path.  ex: \\servername\Sharename