+ Post New Thread
Results 1 to 11 of 11
O/S Deployment Thread, Injecting Drivers into Wim 'Access Denied' in Technical; Good Morning, I have mounted an image and wish to inject a tgraphics driver into the image. Everytime i try ...
  1. #1
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9

    Question Injecting Drivers into Wim 'Access Denied'

    Good Morning,

    I have mounted an image and wish to inject a tgraphics driver into the image.

    Everytime i try cand run the comman below, it comes up with 'Error 5 - Access Denied' any ideas?

    dism /image:"C:\Temp\Mount" /add-driver /driver:"C:\Temp\Drivers\graphics\Graphics\ics64.in f"

    I used this command to mount:

    Dism.exe /mount-wim /wimfile:C:\temp\CUSTOMBOOT.wim /index:1 /mountdir:C:\temp\mount


    I am an administrator with full admin rights.
    Last edited by Darylrese; 6th November 2013 at 09:31 AM.

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    As stupid as it sounds are you running UAC and not elevating cmd before running the commands?

    Edit - Also did you check the zone isn't blocking it on the actual driver file?

    Steve
    Last edited by Steve21; 6th November 2013 at 09:40 AM.

  3. #3
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    I have indeed turned UAC off and i am elevating the deployment tools command prompt

    I cant seem to be able to delete the mounted wim either, lots of access denied errors...

  4. #4

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Only two other times I've seen it is when the drivers are blocked from another zone (When you right click on the driver inf and go to properties, it gives unblock option etc?) but that wouldn't affect the other one.

    Or when an AV is blocking the registry calls, which sometimes happens, especially mcafee!

    Only other things that spring to mind would be trying it to another non-C drive folder just incase you have weird permissions etc.

    Steve

  5. #5
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Ok thank-you i will check that.

    Could it be that the wim once mounted is read only somehow?

  6. #6

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    You need to put the /readonly tag onto it normally unless any settings can be changed for that.

    Steve

  7. #7
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Ok thank-you. Very strange indeed. I too have not come across this problem before in my 8 years experience

  8. #8
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    All sorted, folders were owned by 'TrustedSoftware' user, took ownership and replacing child permissions and it successfully injected.

    I just hope that wont screw up folder permissions on the image itself once deployed

  9. #9
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Ok so once the image was deployed, all the permissions were screwed up on the windows folder and i couldnt install anything.

    Any ideas how to inject the drivers without having the ownership of files and folders?

  10. #10
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Is this for WDS/MDT? In which case it would be easier to just add them to the WDS server (assuming 2008 R2 or later).

    I see it's call customboot, is this a boot image or a deployment image? Some drivers are not valid for injection into a boot image (like graphics ones iirc).

  11. #11
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    WDS...Just realised with R2 you can inject drivers into the boot image so just going to try that method instead and will report back

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 11
    Last Post: 26th March 2014, 11:31 AM
  2. [WDS] Injecting a NIC driver into WinPE boot image.
    By fairm010 in forum O/S Deployment
    Replies: 11
    Last Post: 15th May 2013, 01:39 PM
  3. Injecting Drivers into Boot Image Issue
    By disco_samurai in forum O/S Deployment
    Replies: 12
    Last Post: 8th December 2011, 09:51 AM
  4. [WDS] Inject drivers into WIM file
    By dezt in forum O/S Deployment
    Replies: 6
    Last Post: 23rd June 2010, 10:28 AM
  5. GPMC "Access Denied" for Administrator
    By Gatt in forum Windows
    Replies: 9
    Last Post: 8th February 2006, 06:25 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •