Running Litetouch as admin in Windows 10
Hi,
I'm working on an upgrade Task Sequence in MDT to upgrade machines to Windows 10, I've found an inplace upgrade which worked with the technical previews of Windows 10, but unfortunately it doesn't seem to work with the released version of Windows 10.
The inplace upgrade is the one described here: http://www.osd-couture.com/2015/02/mdt-2013-experience-yourself-windows-10.html
The Task Sequence runs fine until the first boot of Windows 10 when it's supposed to run post install scripts, where it tries to run LiteTouch.wsf and I get the error: "You do not have the correct permissions to perform this deployment. Please run as a local administrator." but I am the local administrator, when I right click the script and selects run as admin it works, but I can't seem to make it work without user input.
The error: https://drive.google.com/file/d/0B5Xv_KCopHk9NktvYnd3SG1yRWc/view?usp=sharing
-Adam
2 Comments
[ + ] Show comments
-
Adam, did jleitsch tip work. I running a single step On-line WSUS update on Windows 10 which results in a reboot and even if the local administrator account is enabled, when the reboot completes and logs into the local admin account, I see this error. - swinster 9 years ago
-
No unfortunately not, but Microsoft has released a new MDT version, which should have fixed the problem. - anonymous_122747 9 years ago
Answers (1)
Please log in to answer
Posted by:
jleitsch
9 years ago
Sounds like a UAC issue. You could try to disable it first....
Don't know if Windows 10 change the registry settings though. In Windows 7 it is located at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
If you have an unattend.xml file you could add it there:
I haven't worked with MDT in awhile nor played with Win10 much but MDT should be able to do something in the task sequence prior to the reboot just before Post-Install Tasks.
Don't know if Windows 10 change the registry settings though. In Windows 7 it is located at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
If you have an unattend.xml file you could add it there:
Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
</unattend>
I haven't worked with MDT in awhile nor played with Win10 much but MDT should be able to do something in the task sequence prior to the reboot just before Post-Install Tasks.