Open kevingbcs opened 4 years ago
This is usually the case where the script is being run form an under-powered machine, the default number of threads is 8.
If you are having issues either add more and faster cores, or restrict the thread count to the number of cores you have. If you still see the issue set the throttle limit to 1 and see where that gets you.
Hi
Thank you for getting back to me regarding this
I have tried the following with adjusting the throttle limit and the same issue occurs, If there anything else which could be causing the issue
Regards
Kevin Gallagher - 2nd Line Helpdesk Support Analyst t: e: a: +44 (0)20 8652 2600 KevinG@brookland.co.uk Kent House | Upper Mulgrave Rd | Cheam | SM2 7AY This email (including any attachments) is confidential and may also be privileged. If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information within is strictly prohibited and may be unlawful. If you have received this email message in error, please notify us immediately by return email, or telephone to +44 (0)20 86522600. Please also destroy and delete the message from your computer. Statements and opinions expressed in this email are those of the sender and may not represent those of the company. Whilst Brookland Computer Services Ltd has taken every reasonable precaution to ensure that any emails and attachments are free from software viruses, you should carry out your own virus checking procedure before opening this email and any attachments. Brookland Computer Services Ltd cannot accept any liability for any damage caused as a result of a software virus infection. Please note that the Brookland Computer Services Ltd organisation may monitor email traffic and also the content of email for the purposes of security and staff training. Brookland Computer Services Ltd is a limited company registered in England and Wales. Registered number: 3473979. Registered Office: Kent House, 27 33 Upper Mulgrave Rd, Cheam, Surrey, SM2 7AY From: Jim Moyle notifications@github.com Sent: 22 September 2020 12:27 To: FSLogix/Invoke-FslShrinkDisk Invoke-FslShrinkDisk@noreply.github.com Cc: Kevin Gallagher KevinG@brookland.co.uk; Author author@noreply.github.com Subject: Re: [FSLogix/Invoke-FslShrinkDisk] Failed to create junction point to - ""Not Supported (#19)
This is usually the case where the script is being run form an under-powered machine, the default number of threads is 8.
If you are having issues either add more and faster cores, or restrict the thread count to the number of cores you have. If you still see the issue set the throttle limit to 1 and see where that gets you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FSLogix/Invoke-FslShrinkDisk/issues/19#issuecomment-696661347, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARCRZ2KX5V7ZWI3OWW3JUMLSHCCXTANCNFSM4RUKTXXA.
There is, and you can try the script in this branch:
https://github.com/FSLogix/Invoke-FslShrinkDisk/tree/Optimize-OneDisk
I've got some error handling in there which might help.
Can you send me the two logs? before and after applying the throttle limit, also what did you change the limit to?
I have the same issue "Name","StartTime","EndTime","ElapsedTime(s)","DiskState","OriginalSizeGB","FinalSizeGB","SpaceSavedGB","FullName" "Profile_username.VHDX","8:42:22 AM","8:42:22 AM","0.2","Failed to create junction point to - ""Not Supported Activity ID: {43d64ed0-09ac-464f-8af1-f8f858b7f294}""","9.79","9.79","0","E:\Profile_username.VHDX"
from the command .\Invoke-FslShrinkDisk.ps1 -path E:\Profile_username.VHDX -Logfilepath E:\Shrink.txt
I get a 404 on this link https://github.com/FSLogix/Invoke-FslShrinkDisk/tree/Optimize-OneDisk
Cheers
Hi Jim
thank you for this script and detailed description. after running the script for the majority of fslogix profiles it has worked correctly. for a few on the profile disk i keep getting the following issues
Failed to create junction point to - ""Not Supported and Failed to read partition information for disk - ""The input name ""Type"" cannot be resolved to a property are you able to provide any support on what might be causing this
regards
Kevin