Also please take notice that the problems are occurring only with User - Execution queue. With Machine - Execution queue everything works as expected.
If this will provide any clues I have Windows 10 Enterprise N LTSC version.
Will it help though? Because other commands are executed, i.e. call cmd is executed (please look at the attached image). I can even input the powershell -command "Add-AppxPackage -Path """$Env:WinDir\appx\48833CODNES.ClassicSolitaireKlondike_1.1.0.0_neutral___jewgw9eww323w.AppxBundle"""...
Hi guys!
Looks like I am stuck for good with this issue. Hopefully someone will be able to help me out.
Soo, I'm trying to run powershell command during the post setup (user) stage. Problem is for some reason it never gets called...
I've even tried adding call cmd and then once the cmd window...
Yes, user folder is not yet created during setupcomplete.cmd stage. I have very similar problem where I want to copy some files to just created user Desktop (only single user, so no Default or Public folders can help me here). No solution whatsoever at the moment or at least I have not yet come...
Sort of figured out the temporary solution (there has to be a better way though):
Add file to sources\$OEM$\$$\Setup\somefile.exe
Create .vbs script:
Set oWS = WScript.CreateObject("WScript.Shell")
sUserProfilePath = oWS.ExpandEnvironmentStrings("%UserProfile%")
Set oLink =...
Did not work like that as this was first thing I've tried. Basically if Windows detects existing folder in Users folder it will create another one for the profile instead of using existing one.
Thanks! By doing this I will add files ONLY to the account I have created? Because afterwards I'll have to add some additional accounts and they definitely shouldn't have these files.
Hi guys!
So I have been trying to find a solution to this problem. Basically with NTLITE unattended page I've created a local account. Now I need to add some files to it's desktop (only for this user). I've tried mounted dir and even $1 with path Users\<Name>\Desktop but the result is always the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.