denmyos Posted October 25, 2017 Posted October 25, 2017 (edited) I'm trying to make a win10 custome tile and deploy it via MDT I'm using this video as a guideline But i'm running into problems. I'm getting this error Litetouch deployment failed, return code =-2147467259 0x80004005 It seem thats it this TS is causing the problem. Copy xml to temp cmd.exe /c copy "%SCRIPTROOT%\Deploymentshare$\Scripts\_StartMenu\Layoutmodification.xml" "C:\windows\temp" The rest of the TS look like this Restart Computer Run powershell script Apply custome menu layot %SCRIPTROOT%\DeploymentShare$\Scripts\_StartMenu\ApplyCustomMenu.ps1 Create local user Net USER Bruger /ADD Any idears why im getting this error? Thank you Edited October 25, 2017 by denmyos
snagrat Posted October 25, 2017 Posted October 25, 2017 %Scriptroot% is D:\deploymentshare\Scripts so your command really should read: ........ copy “%Scriptroot%\_StartMenu\Layout........
denmyos Posted October 25, 2017 Author Posted October 25, 2017 %Scriptroot% is D:\deploymentshare\Scripts so your command really should read: ........ copy “%Scriptroot%\_StartMenu\Layout........ this worked + correcting typo:doh: in the powershell script did the trick. Thank you
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now