Cannot run EXPLORER.EXE from Domain accounts after sysprep

I am using MDT 2013 & WDS on Server 2012 to deploy Windows7 x64. If I run the Sysprep and Capture task sequence and then deploy the image all domain accounts on the system get the following error when ever EXPLORER.EXE is invoked.

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

If I skip the capture and just join it to the domain it works fine. I thought that maybe it had something to do with the Default Profile but existing and newly created local accounts do not exhibit this issue.

Our profiles are redirected to the network. I thought maybe that was an issue but we have an older image built and deployed from MDT 2010 on Server 2K8. Deploying the older image from this server works fine deploying that same image from the 2012 server does not.

The only relevant difference I can see is WinPE. The other server runs an older version. The 2012 server is running the MDT 2013 WinPE (Win8).

My next step is to remove the domain join sequence to see if it makes a difference. After that I will figure out how to build an older version of PE for deployment.

Antivirus is not included in the image.

One other oddity is that I have the big red X through the NIC in the tray but the network is fine.

This is so odd.

Any help is greatly appreciated!
MarkMelansonAsked:
Who is Participating?
 
MarkMelansonAuthor Commented:
It is a profile issue. I had to delete the older .DAT files. I think USRCLASS.DAT was the culprit.
0
 
bbaoIT ConsultantCommented:
just to double check if the source computer (where the image was captured) was in the domain before capturing the image? It should NOT be in the domain. Every new build using or based on the image should join in the domain individually.
0
 
MarkMelansonAuthor Commented:
No. It was never in the domain.

Sorry I failed to mention that.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
bbaoIT ConsultantCommented:
thanks for the clarification.

one more thing. were the image's OS and applications installed and configured using the SAME user account with ADMIN priviligies?
0
 
MarkMelansonAuthor Commented:
Yes. All the installs are automated and run during the task sequence.
0
 
MarkMelansonAuthor Commented:
I am going to re-create the task sequence from scratch.
0
 
MarkMelansonAuthor Commented:
The script below resolved the issue:

@echo off
PUSHD %~DP0
CLS
echo.
echo Deleting NTUSER Junk in Default Profile...
DEL /ah /f C:\users\Default\*.log*
DEL /ah /f C:\users\Default\NTUSER.DAT{*
echo Deleting APPDATA Junk in Default Profile...
del /AH /F C:\Users\default\AppData\Local\Microsoft\Windows\USRCLASS.dat.*
del /AH /F C:\Users\default\AppData\Local\Microsoft\Windows\USRCLASS.dat{*
popd
echo.
echo Done
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.