I ran into the same issue but after I disabled Windows antivirus it started to work. Re-enabling the Windows antivirus causes error to repeat.
Windows Configuration Designer
When I try to run windows configuration designer any ideas?, see attached picture
Windows for business | Windows Client for IT Pros | User experience | Other
5 answers
Sort by: Most helpful
-
-
Eddie 11 Reputation points
2021-09-26T20:12:05.803+00:00 9/26/2021 4:10:49 PM Info ICD Started
9/26/2021 4:10:55 PM Error Could not start ICD web server. Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Eddie Schellens\AppData\Local\Microsoft\WICD{E4D8C4D1-6FA4-4436-9CDF-3C0236AA124F}\WebContent\Scenarios\BulkEnrollment\js\filters.js'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
at Microsoft.Windows.ICD.Common.Tools.CopyDirectories(DirectoryInfo diSource, DirectoryInfo diTarget, Boolean overwrite)
at Microsoft.Windows.ICD.Common.Tools.CopyDirectories(String sourceDir, String targetDir, Boolean overwrite)
at Microsoft.Windows.ICD.WebApi.Server.WebContentBuilder.InitializeWebContent()
at Microsoft.Windows.ICD.WebApi.Server.WebContentBuilder..ctor()
at Microsoft.Windows.ICD.WebApi.Server.WebApiServer.StageWebContentFolder()
at Microsoft.Windows.ICD.WebApi.Server.WebApiServer.Configuration(IAppBuilder appBuilder)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Owin.Loader.DefaultLoader.<>c__DisplayClass12.<MakeDelegate>b__b(IAppBuilder builder)
at Owin.Loader.DefaultLoader.<>c__DisplayClass1.<LoadImplementation>b__0(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.Starter.HostingStarter.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options)
at Microsoft.Owin.Hosting.WebApp.Start(StartOptions options)
at Microsoft.Owin.Hosting.WebApp.StartTStartup
at Microsoft.Windows.ICD.WebApi.Server.WebApiServer.StartServer()
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Eddie Schellens\AppData\Local\Microsoft\WICD{E4D8C4D1-6FA4-4436-9CDF-3C0236AA124F}\WebContent\Scenarios\BulkEnrollment\js\filters.js'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
at Microsoft.Windows.ICD.Common.Tools.CopyDirectories(DirectoryInfo diSource, DirectoryInfo diTarget, Boolean overwrite)
at Microsoft.Windows.ICD.Common.Tools.CopyDirectories(String sourceDir, String targetDir, Boolean overwrite)
at Microsoft.Windows.ICD.WebApi.Server.WebContentBuilder.InitializeWebContent()
at Microsoft.Windows.ICD.WebApi.Server.WebContentBuilder..ctor()
at Microsoft.Windows.ICD.WebApi.Server.WebApiServer.StageWebContentFolder()
at Microsoft.Windows.ICD.WebApi.Server.WebApiServer.Configuration(IAppBuilder appBuilder) -
Limitless Technology 40,081 Reputation points2021-09-27T19:16:37.503+00:00 Hi @Eddie
I would suggest you, check the Current Windows Configuration Designer limitations from here
https://learn.microsoft.com/en-us/windows/configuration/provisioning-packages/provisioning-install-icd--------------
--If the reply is helpful, please Upvote and Accept as answer--
-
Ryan McCoy 1 Reputation point
2021-09-28T18:16:40.437+00:00 Running into the same thing.
I'm not seeing the WICD folder in "C:\Users*username*\AppData\Local\Microsoft\'
My guess is that it fails to write in during install or as an update on launch.I was trying this since the version in the ADK was giving me issues on company systems.
-
Markus B 16 Reputation points
2021-10-05T12:41:10.257+00:00 I have the same problem. Tested on 3 different computers and I get the same message on every single one of them.
I have tried to reinstall, repair, etc with no luck.My colleague tried to install it, and he can run it with no problems. We have the exact same windows version etc...
"10/5/2021 2:32:18 PM Error Could not start ICD web server. Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Markus\AppData\Local\Microsoft\WICD{E4D8C4D1-6FA4-4436-9CDF-3C0236AA124F}\WebContent\Scenarios\BulkEnrollment\js\filters.js'."