Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 25525

Windows Server 2012 - Sysprep fails if system has RDS role installed. (ACCESS_VIOLATION Exception) ??

$
0
0

Hi,

I have a Windows Server 2012 Datacenter image. And I launch sysprep.exe from Windows Service to automate it. So sysprep is executed in quiet as a background process i.e. in "System" account. The sysprep is simple to change the computer name, timezone., etc.

It was working fine till I install the RDS roles. With the RDS roles, sysprep fails with following errors. Though if I execute manually in local administrator account, it works fine. The only difference is execution  in "System Account" as background process rather than "Administrator" context.

I am not sure what is changed in Windows Server 2012 where it works for Windows 2k8R2 RDS.

Please let me know if anyone knows the root cause or any pointers. Let me know if you need detailed info. Appreciate your suggestions.


//// Sysprep Logs

2013-05-29 11:04:53, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'WSLicenseCleanUpState' in C:\Windows\System32\wsclient.dll; executing it
2013-05-29 11:04:53, Info                  SYSPRP Entering WSLicenseCleanupState - Client Stub
2013-05-29 11:04:53, Info                  SYSPRP Exiting WSLicenseCleanupState - Client Stub
2013-05-29 11:04:53, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'WSLicenseCleanUpState' from C:\Windows\System32\wsclient.dll without error
2013-05-29 11:04:53, Info       [0x0f00bd] SYSPRP CreateSysprepActionList: Building action list for component Microsoft-Windows-TerminalServices-AppServer-Setup
2013-05-29 11:04:53, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'AppsrvSysPrepGeneralize' in C:\Windows\System32\setup\tssysprep.dll; executing it
2013-05-29 11:04:53, Info                  SYSPRP Entering AppsrvSysPrepGeneralize.
2013-05-29 11:04:54, Info                  SYSPRP Leaving AppsrvSysPrepGeneralize - DWORD - 0x0.
2013-05-29 11:04:54, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'AppsrvSysPrepGeneralize' from C:\Windows\System32\setup\tssysprep.dll without error
2013-05-29 11:04:55, FatalError [0x090001] PANTHR Exception (code 0xC0000005: ACCESS_VIOLATION) occurred at 0x000007FC36730769 in C:\Windows\system32\sysprep\unbcl.dll (+0000000000090769).  Minidump attached (61990 bytes).

I posted this question in Windows Server 2013 setup forum as well.

Thanks,
Ashok


Viewing all articles
Browse latest Browse all 25525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>