Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Change reserved disk space on distribution point

  • Thread starter Thread starter dj3094
  • Start date Start date
  • Replies Replies 2
  • Views Views 7K

dj3094

Well-Known Member
Messages
241
Reaction score
7
Points
18
Hello Experts,

How can i change reserved disk space on DP.
Can I change the reserveddiskspace reg key value and done?
or do I need to do anything else?

Regards
DJ
 
Solution
try the below powershell script (source - technet forums) and let me know if it works.

Code:
$DP = Get-CimInstance -Namespace "root\SMS\site_000" -ClassName SMS_SCI_SysResUse | Where -FilterScript {$_.RoleName -eq "SMS Distribution Point"}
$DP_MinFreeSpace = $DP.Props | Where -FilterScript {$_.propertyName -eq "MinFreeSpace"}
Write-Host $DP.NetworkOSPath $DP_MinFreeSpace.Value #View Server Name and Current Value
$DP_MinFreeSpace.Value = 100
$DP | Set-CimInstance -Property @{Props=$DP.Props}
try the below powershell script (source - technet forums) and let me know if it works.

Code:
$DP = Get-CimInstance -Namespace "root\SMS\site_000" -ClassName SMS_SCI_SysResUse | Where -FilterScript {$_.RoleName -eq "SMS Distribution Point"}
$DP_MinFreeSpace = $DP.Props | Where -FilterScript {$_.propertyName -eq "MinFreeSpace"}
Write-Host $DP.NetworkOSPath $DP_MinFreeSpace.Value #View Server Name and Current Value
$DP_MinFreeSpace.Value = 100
$DP | Set-CimInstance -Property @{Props=$DP.Props}
 
Solution
Thanks Prajwal

I used SQL query

1) Run SQL query:

select SCR.ID, SCR.Name,SC.NalPath, SCR.Value3 from sc_sysresuse_property SCR join sc_sysresuse SC on SCR.SysResUseID = SC.ID where SCR.name = 'MinFreeSpace' and SC.NALPath like '%%' and SC.RoleTypeID = 3

get SCR_ID

2) Use the returned ID in step 1). Run the below query to update the 'MinFreeSpace' value.
update sc_sysresuse_property set value3 = 'set desired value in MB' where name = 'MinFreeSpace' and ID = ''
Example:
update sc_sysresuse_property set value3 =10240 where name = 'MinFreeSpace' and ID = xxxxxxxxxxxxx

3) Change registry value HKLM\software\Microsoft\SMS\DPreserveddiskspace to match the number you used on step 2, eg: 10240.

You don't have to reboot the DP.

Please mark this solved
 

Forum statistics

Threads
7,168
Messages
27,979
Members
18,281
Latest member
kerber

Trending content

Back
Top