Hi Support / @all,
I have build an emergency Windows 10.0.14393(1607)-64 with WinBuilder from TheOven.org. Project-Page: http://heise.de/-3467556
That EmyWin is a 'Windows Preinstallation Environment' WinPE, pimped with usefully tools.
Now I wont to include the TeamViewer, but it wouldn't run :-(
First I try the portable version, what is good for many tools in WinPE, it fails.
At last I try the setup EXE with the 'noinstallation' option from GUI and it fails too with the following LOG (extract row 092...104):
...
2016/12/26 01:01:26.500 1312 524 G1! GUI running in system account, trying to restart it.
2016/12/26 01:01:26.500 1312 524 G1!! CToken::WTSQueryUserToken(): Querying token failed with error code 1008, Errorcode=1008
2016/12/26 01:01:26.500 1312 524 G1+ WindowsSessionEnumerator::EnumerateLocalSessions(): Discovered 2 sessions
2016/12/26 01:01:26.500 1312 524 G1 CToken::LogAllLocalSessions(): Session id 0, name Services, state Disconnected
2016/12/26 01:01:26.500 1312 524 G1 CToken::LogAllLocalSessions(): Session id 1, name Console, state ConnectQuery
2016/12/26 01:01:26.500 1312 524 G1! CToken::GetUserToken(): Exception caught when querying user token for session 1 (WTSQueryUserToken() failed!, Errorcode=0)
2016/12/26 01:01:26.500 1312 524 G1 CToken::GetUserToken(): Attempting to fallback and obtain user token from session process
2016/12/26 01:01:26.516 1312 524 G1+ ProcessWin::CreateProcessInternal: CreateProcess B:\Temp\TeamViewer\TeamViewer.exe WithToken
2016/12/26 01:01:26.516 1312 524 G1+ ProcessWin::CreateProcessInternal: Create environment block for 'Window Manager\DWM-1'
2016/12/26 01:01:26.516 1312 524 G1! ProcessWin::DumpCreateProcessFailed: CreateProcess WithToken failed using CreateProcessWithToken, ApplicationName: 'B:\Temp\TeamViewer\TeamViewer.exe', CommandLine: '"B:\Temp\TeamViewer\TeamViewer.exe" --noInstallation', Env: 'Window Manager\DWM-1', StartupInfo: 'WinSta0\default', LastError: '1060'
2016/12/26 01:01:26.516 1312 524 G1!! Failed to restart GUI: exception: ProcessWin::CreateProcessInternal(): CreateProcessWithToken failed!, Errorcode=122, Errorcode=122
2016/12/26 01:01:26.516 1312 524 G1!! GUI started in System account and can't be restarted under a different user., Errorcode=122
2016/12/26 01:01:26.516 1312 524 G1 Chat::Stop: Stopping chat
...
Q: Is there a way to run TeamViewer >=12.0.72365 in WinPE with 'system account' only?
Btw. **Third Party Product**-2.6.0 works
THX & Happy New Year