<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Hide PSM Local Drives in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/hide-psm-local-drives/ta-p/1430129</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;How can I hide the PSM Local Drives from PSM Shadow Users when using WinSCP or other applications?&lt;/FONT&gt;&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Change the&amp;nbsp;policy in the Default User&amp;nbsp;profile so that the desired drives are hidden recreate the Shadow User profiles&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Manual Process:&lt;/B&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;In Regedit, load the Default User registry hive
	&lt;OL&gt;&lt;LI&gt;Launch Regedit.exe&lt;/LI&gt;&lt;LI&gt;Select HKEY_LOCAL_MACHINE in the left window pane&lt;/LI&gt;&lt;LI&gt;Select (File – Load Hive)&lt;/LI&gt;&lt;LI&gt;In the load hive dialog select or type “C:\Users\Default\NTUSER.DAT” and click Open&lt;/LI&gt;&lt;LI&gt;In the second load hive dialog enter “defaultuser” for Key Name and click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Expand the Registry to the CurrentVersion Key
	&lt;OL&gt;&lt;LI&gt;Expand HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Expand defaultuser&lt;/LI&gt;&lt;LI&gt;Expand Software&lt;/LI&gt;&lt;LI&gt;Expand Microsoft&lt;/LI&gt;&lt;LI&gt;Expand Windows&lt;/LI&gt;&lt;LI&gt;Expand CurrentVersion&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Policies key under CurrentVersion. If it does not exist, create it. If it does exist Expand it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Policies for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Explorer key under Policies. If it does not exist, create it. If it does exist, Select it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Explorer for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Create a new DWORD Value with the name NoDrives
	&lt;OL&gt;&lt;LI&gt;Right-click Explorer&lt;/LI&gt;&lt;LI&gt;Select (New – DWORD (32-bit) Value&lt;/LI&gt;&lt;LI&gt;Enter NoDrives for the name of the value&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Set the value of NoDrives
	&lt;OL&gt;&lt;LI&gt;Double-Click NoDrives&lt;/LI&gt;&lt;LI&gt;Under Base, select the Decimal radio button&lt;/LI&gt;&lt;LI&gt;Enter one of the below Decimal values based on your desired use case: (&amp;lt;description&amp;gt;: &amp;lt;decimal value&amp;gt;)&lt;BR /&gt;		(IE: to hide just the C drive, enter a value of 4)
		&lt;UL&gt;&lt;LI&gt;Do not restrict drives: 0&lt;/LI&gt;&lt;LI&gt;Restrict A and B drives only: 3&lt;/LI&gt;&lt;LI&gt;Restrict C drive only: 4&lt;/LI&gt;&lt;LI&gt;Restrict D drive only: 8&lt;/LI&gt;&lt;LI&gt;Restrict A, B and C drives only: 7&lt;/LI&gt;&lt;LI&gt;Restrict A, B, C and D drives only: 15&lt;/LI&gt;&lt;LI&gt;Restrict all drives: 67108863 (this setting will also prevent drive redirection from the local computer to the target device within a PSM session, e.g. in WinSCP)&lt;/LI&gt;&lt;LI&gt;Note: Other values can be used, but these are the default ones provided by the policy setting in Group Policy&lt;/LI&gt;&lt;LI&gt;A non default setting successfully tested is to restrict A, B, C, D, and E drives only, with a NoDrives value of 31&lt;/LI&gt;&lt;LI&gt;Note: online NoDrive Calculator at &lt;A href="http://www.wisdombay.com/hidedrive/" target="_blank"&gt;http://www.wisdombay.com/hidedrive/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;New Calculator found here&amp;nbsp;https://ss64.com/nt/syntax-nodrives.html&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Unload the Default User Registry Hive
	&lt;OL&gt;&lt;LI&gt;Select defaultuser under HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Click (File – Unload Hive)&lt;/LI&gt;&lt;LI&gt;Close RegEdit&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Delete existing PSM Shadow User profiles
	&lt;OL&gt;&lt;LI&gt;From a Run prompt run&amp;nbsp;&amp;nbsp;&amp;nbsp; control sysdm.cpl&lt;/LI&gt;&lt;LI&gt;Select the Advanced tab&lt;/LI&gt;&lt;LI&gt;In the User Profiles section, select Settings&lt;/LI&gt;&lt;LI&gt;Select Shadow User Profile (&amp;lt;computername\PSM-&amp;lt;unique number)&lt;/LI&gt;&lt;LI&gt;Click Delete&lt;/LI&gt;&lt;LI&gt;Repeat d &amp;amp; e until all desired shadow user profiles have been deleted&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;*** The attached "HideLocalDrives.ps1" Powershell script can be used to automate steps 1 - 7 of the above manual process. Script should be used in an elevated powershell prompt.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;For usage information type:&lt;/B&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;
&lt;P&gt;get-help .\HideLocalDrives.ps1 -detailed&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;Q:&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;How can I hide the PSM Local Drives from PSM Shadow Users when using WinSCP or other applications?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;A:&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Change the&amp;nbsp;policy in the Default User&amp;nbsp;profile so that the desired drives are hidden recreate the Shadow User profiles&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Manual Process:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;In Regedit, load the Default User registry hive
	&lt;OL&gt;&lt;LI&gt;Launch Regedit.exe&lt;/LI&gt;&lt;LI&gt;Select HKEY_LOCAL_MACHINE in the left window pane&lt;/LI&gt;&lt;LI&gt;Select (File – Load Hive)&lt;/LI&gt;&lt;LI&gt;In the load hive dialog select or type “C:\Users\Default\NTUSER.DAT” and click Open&lt;/LI&gt;&lt;LI&gt;In the second load hive dialog enter “defaultuser” for Key Name and click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Expand the Registry to the CurrentVersion Key
	&lt;OL&gt;&lt;LI&gt;Expand HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Expand defaultuser&lt;/LI&gt;&lt;LI&gt;Expand Software&lt;/LI&gt;&lt;LI&gt;Expand Microsoft&lt;/LI&gt;&lt;LI&gt;Expand Windows&lt;/LI&gt;&lt;LI&gt;Expand CurrentVersion&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Policies key under CurrentVersion. If it does not exist, create it. If it does exist Expand it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Policies for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Explorer key under Policies. If it does not exist, create it. If it does exist, Select it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Explorer for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Create a new DWORD Value with the name NoDrives
	&lt;OL&gt;&lt;LI&gt;Right-click Explorer&lt;/LI&gt;&lt;LI&gt;Select (New – DWORD (32-bit) Value&lt;/LI&gt;&lt;LI&gt;Enter NoDrives for the name of the value&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Set the value of NoDrives
	&lt;OL&gt;&lt;LI&gt;Double-Click NoDrives&lt;/LI&gt;&lt;LI&gt;Under Base, select the Decimal radio button&lt;/LI&gt;&lt;LI&gt;Enter one of the below Decimal values based on your desired use case: (&amp;lt;description&amp;gt;: &amp;lt;decimal value&amp;gt;)&lt;BR /&gt;		(IE: to hide just the C drive, enter a value of 4)
		&lt;UL&gt;&lt;LI&gt;Do not restrict drives: 0&lt;/LI&gt;&lt;LI&gt;Restrict A and B drives only: 3&lt;/LI&gt;&lt;LI&gt;Restrict C drive only: 4&lt;/LI&gt;&lt;LI&gt;Restrict D drive only: 8&lt;/LI&gt;&lt;LI&gt;Restrict A, B and C drives only: 7&lt;/LI&gt;&lt;LI&gt;Restrict A, B, C and D drives only: 15&lt;/LI&gt;&lt;LI&gt;Restrict all drives: 67108863 (this setting will also prevent drive redirection from the local computer to the target device within a PSM session, e.g. in WinSCP)&lt;/LI&gt;&lt;LI&gt;Note: Other values can be used, but these are the default ones provided by the policy setting in Group Policy&lt;/LI&gt;&lt;LI&gt;A non default setting successfully tested is to restrict A, B, C, D, and E drives only, with a NoDrives value of 31&lt;/LI&gt;&lt;LI&gt;Note: online NoDrive Calculator at &lt;A href="http://www.wisdombay.com/hidedrive/" target="_blank"&gt;http://www.wisdombay.com/hidedrive/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;New Calculator found here&amp;nbsp;https://ss64.com/nt/syntax-nodrives.html&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Unload the Default User Registry Hive
	&lt;OL&gt;&lt;LI&gt;Select defaultuser under HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Click (File – Unload Hive)&lt;/LI&gt;&lt;LI&gt;Close RegEdit&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Delete existing PSM Shadow User profiles
	&lt;OL&gt;&lt;LI&gt;From a Run prompt run&amp;nbsp;&amp;nbsp;&amp;nbsp; control sysdm.cpl&lt;/LI&gt;&lt;LI&gt;Select the Advanced tab&lt;/LI&gt;&lt;LI&gt;In the User Profiles section, select Settings&lt;/LI&gt;&lt;LI&gt;Select Shadow User Profile (&amp;lt;computername\PSM-&amp;lt;unique number)&lt;/LI&gt;&lt;LI&gt;Click Delete&lt;/LI&gt;&lt;LI&gt;Repeat d &amp;amp; e until all desired shadow user profiles have been deleted&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;*** The attached "HideLocalDrives.ps1" Powershell script can be used to automate steps 1 - 7 of the above manual process. Script should be used in an elevated powershell prompt.&lt;/P&gt;
&lt;P&gt;For usage information type:&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;
&lt;P&gt;get-help .\HideLocalDrives.ps1 -detailed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 04 Aug 2020 16:52:39 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2020-08-04T16:52:39Z</dc:date>
    <item>
      <title>Hide PSM Local Drives</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/hide-psm-local-drives/ta-p/1430129</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;How can I hide the PSM Local Drives from PSM Shadow Users when using WinSCP or other applications?&lt;/FONT&gt;&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Change the&amp;nbsp;policy in the Default User&amp;nbsp;profile so that the desired drives are hidden recreate the Shadow User profiles&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Manual Process:&lt;/B&gt;&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;In Regedit, load the Default User registry hive
	&lt;OL&gt;&lt;LI&gt;Launch Regedit.exe&lt;/LI&gt;&lt;LI&gt;Select HKEY_LOCAL_MACHINE in the left window pane&lt;/LI&gt;&lt;LI&gt;Select (File – Load Hive)&lt;/LI&gt;&lt;LI&gt;In the load hive dialog select or type “C:\Users\Default\NTUSER.DAT” and click Open&lt;/LI&gt;&lt;LI&gt;In the second load hive dialog enter “defaultuser” for Key Name and click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Expand the Registry to the CurrentVersion Key
	&lt;OL&gt;&lt;LI&gt;Expand HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Expand defaultuser&lt;/LI&gt;&lt;LI&gt;Expand Software&lt;/LI&gt;&lt;LI&gt;Expand Microsoft&lt;/LI&gt;&lt;LI&gt;Expand Windows&lt;/LI&gt;&lt;LI&gt;Expand CurrentVersion&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Policies key under CurrentVersion. If it does not exist, create it. If it does exist Expand it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Policies for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Explorer key under Policies. If it does not exist, create it. If it does exist, Select it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Explorer for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Create a new DWORD Value with the name NoDrives
	&lt;OL&gt;&lt;LI&gt;Right-click Explorer&lt;/LI&gt;&lt;LI&gt;Select (New – DWORD (32-bit) Value&lt;/LI&gt;&lt;LI&gt;Enter NoDrives for the name of the value&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Set the value of NoDrives
	&lt;OL&gt;&lt;LI&gt;Double-Click NoDrives&lt;/LI&gt;&lt;LI&gt;Under Base, select the Decimal radio button&lt;/LI&gt;&lt;LI&gt;Enter one of the below Decimal values based on your desired use case: (&amp;lt;description&amp;gt;: &amp;lt;decimal value&amp;gt;)&lt;BR /&gt;		(IE: to hide just the C drive, enter a value of 4)
		&lt;UL&gt;&lt;LI&gt;Do not restrict drives: 0&lt;/LI&gt;&lt;LI&gt;Restrict A and B drives only: 3&lt;/LI&gt;&lt;LI&gt;Restrict C drive only: 4&lt;/LI&gt;&lt;LI&gt;Restrict D drive only: 8&lt;/LI&gt;&lt;LI&gt;Restrict A, B and C drives only: 7&lt;/LI&gt;&lt;LI&gt;Restrict A, B, C and D drives only: 15&lt;/LI&gt;&lt;LI&gt;Restrict all drives: 67108863 (this setting will also prevent drive redirection from the local computer to the target device within a PSM session, e.g. in WinSCP)&lt;/LI&gt;&lt;LI&gt;Note: Other values can be used, but these are the default ones provided by the policy setting in Group Policy&lt;/LI&gt;&lt;LI&gt;A non default setting successfully tested is to restrict A, B, C, D, and E drives only, with a NoDrives value of 31&lt;/LI&gt;&lt;LI&gt;Note: online NoDrive Calculator at &lt;A href="http://www.wisdombay.com/hidedrive/" target="_blank"&gt;http://www.wisdombay.com/hidedrive/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;New Calculator found here&amp;nbsp;https://ss64.com/nt/syntax-nodrives.html&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Unload the Default User Registry Hive
	&lt;OL&gt;&lt;LI&gt;Select defaultuser under HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Click (File – Unload Hive)&lt;/LI&gt;&lt;LI&gt;Close RegEdit&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Delete existing PSM Shadow User profiles
	&lt;OL&gt;&lt;LI&gt;From a Run prompt run&amp;nbsp;&amp;nbsp;&amp;nbsp; control sysdm.cpl&lt;/LI&gt;&lt;LI&gt;Select the Advanced tab&lt;/LI&gt;&lt;LI&gt;In the User Profiles section, select Settings&lt;/LI&gt;&lt;LI&gt;Select Shadow User Profile (&amp;lt;computername\PSM-&amp;lt;unique number)&lt;/LI&gt;&lt;LI&gt;Click Delete&lt;/LI&gt;&lt;LI&gt;Repeat d &amp;amp; e until all desired shadow user profiles have been deleted&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;*** The attached "HideLocalDrives.ps1" Powershell script can be used to automate steps 1 - 7 of the above manual process. Script should be used in an elevated powershell prompt.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;For usage information type:&lt;/B&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;
&lt;P&gt;get-help .\HideLocalDrives.ps1 -detailed&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;Q:&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;How can I hide the PSM Local Drives from PSM Shadow Users when using WinSCP or other applications?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face="Verdana,Helvetica,Sans-Serif"&gt;A:&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Change the&amp;nbsp;policy in the Default User&amp;nbsp;profile so that the desired drives are hidden recreate the Shadow User profiles&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Manual Process:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;In Regedit, load the Default User registry hive
	&lt;OL&gt;&lt;LI&gt;Launch Regedit.exe&lt;/LI&gt;&lt;LI&gt;Select HKEY_LOCAL_MACHINE in the left window pane&lt;/LI&gt;&lt;LI&gt;Select (File – Load Hive)&lt;/LI&gt;&lt;LI&gt;In the load hive dialog select or type “C:\Users\Default\NTUSER.DAT” and click Open&lt;/LI&gt;&lt;LI&gt;In the second load hive dialog enter “defaultuser” for Key Name and click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Expand the Registry to the CurrentVersion Key
	&lt;OL&gt;&lt;LI&gt;Expand HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Expand defaultuser&lt;/LI&gt;&lt;LI&gt;Expand Software&lt;/LI&gt;&lt;LI&gt;Expand Microsoft&lt;/LI&gt;&lt;LI&gt;Expand Windows&lt;/LI&gt;&lt;LI&gt;Expand CurrentVersion&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Policies key under CurrentVersion. If it does not exist, create it. If it does exist Expand it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Policies for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Look for the Explorer key under Policies. If it does not exist, create it. If it does exist, Select it.
	&lt;OL&gt;&lt;LI&gt;Right-click CurrentVersion&lt;/LI&gt;&lt;LI&gt;Select (New – Key)&lt;/LI&gt;&lt;LI&gt;Enter Explorer for the name of the key&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Create a new DWORD Value with the name NoDrives
	&lt;OL&gt;&lt;LI&gt;Right-click Explorer&lt;/LI&gt;&lt;LI&gt;Select (New – DWORD (32-bit) Value&lt;/LI&gt;&lt;LI&gt;Enter NoDrives for the name of the value&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Set the value of NoDrives
	&lt;OL&gt;&lt;LI&gt;Double-Click NoDrives&lt;/LI&gt;&lt;LI&gt;Under Base, select the Decimal radio button&lt;/LI&gt;&lt;LI&gt;Enter one of the below Decimal values based on your desired use case: (&amp;lt;description&amp;gt;: &amp;lt;decimal value&amp;gt;)&lt;BR /&gt;		(IE: to hide just the C drive, enter a value of 4)
		&lt;UL&gt;&lt;LI&gt;Do not restrict drives: 0&lt;/LI&gt;&lt;LI&gt;Restrict A and B drives only: 3&lt;/LI&gt;&lt;LI&gt;Restrict C drive only: 4&lt;/LI&gt;&lt;LI&gt;Restrict D drive only: 8&lt;/LI&gt;&lt;LI&gt;Restrict A, B and C drives only: 7&lt;/LI&gt;&lt;LI&gt;Restrict A, B, C and D drives only: 15&lt;/LI&gt;&lt;LI&gt;Restrict all drives: 67108863 (this setting will also prevent drive redirection from the local computer to the target device within a PSM session, e.g. in WinSCP)&lt;/LI&gt;&lt;LI&gt;Note: Other values can be used, but these are the default ones provided by the policy setting in Group Policy&lt;/LI&gt;&lt;LI&gt;A non default setting successfully tested is to restrict A, B, C, D, and E drives only, with a NoDrives value of 31&lt;/LI&gt;&lt;LI&gt;Note: online NoDrive Calculator at &lt;A href="http://www.wisdombay.com/hidedrive/" target="_blank"&gt;http://www.wisdombay.com/hidedrive/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;New Calculator found here&amp;nbsp;https://ss64.com/nt/syntax-nodrives.html&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Click OK&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Unload the Default User Registry Hive
	&lt;OL&gt;&lt;LI&gt;Select defaultuser under HKEY_LOCAL_MACHINE&lt;/LI&gt;&lt;LI&gt;Click (File – Unload Hive)&lt;/LI&gt;&lt;LI&gt;Close RegEdit&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Delete existing PSM Shadow User profiles
	&lt;OL&gt;&lt;LI&gt;From a Run prompt run&amp;nbsp;&amp;nbsp;&amp;nbsp; control sysdm.cpl&lt;/LI&gt;&lt;LI&gt;Select the Advanced tab&lt;/LI&gt;&lt;LI&gt;In the User Profiles section, select Settings&lt;/LI&gt;&lt;LI&gt;Select Shadow User Profile (&amp;lt;computername\PSM-&amp;lt;unique number)&lt;/LI&gt;&lt;LI&gt;Click Delete&lt;/LI&gt;&lt;LI&gt;Repeat d &amp;amp; e until all desired shadow user profiles have been deleted&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;*** The attached "HideLocalDrives.ps1" Powershell script can be used to automate steps 1 - 7 of the above manual process. Script should be used in an elevated powershell prompt.&lt;/P&gt;
&lt;P&gt;For usage information type:&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;
&lt;P&gt;get-help .\HideLocalDrives.ps1 -detailed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 16:52:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/hide-psm-local-drives/ta-p/1430129</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-08-04T16:52:39Z</dc:date>
    </item>
  </channel>
</rss>

