How can you copy files to the root of the cdrive on startup?

Discussion in 'Windows 7 Help and Support' started by jakescusack, Mar 24, 2010.

  1. jakescusack

    jakescusack New Member

    Joined:
    Mar 24, 2010
    Messages:
    8
    Likes Received:
    0
    Hello and Good day to you all, I am running a project on deploying Windows 7 to our Environment all is going well but i am having an issue with trying to run a batch file on start up to copy certain files to the root of the cdrive but because of the enhanced security features i am getting access denied when trying to do so, does anyone know how to get around this?

    I just can’t seem to sort it out??

    Also is anybody else experiencing the print spooler stopping throughout the day? I think it’s down to the print driver being on a 2003 box but want to check first

    If anybody could help me out it would be greatly appreciated!!

    Jake
     
  2. cybercore

    cybercore New Member

    Joined:
    Jul 7, 2009
    Messages:
    15,823
    Likes Received:
    321
    Hi and welcome to the forums.

    You can right-click those certain files > Prperties > Security > set administrator permissions to the full. Then right click the batch file > Properties > Compatibility > check Run this program as an administrator.
     
  3. jakescusack

    jakescusack New Member

    Joined:
    Mar 24, 2010
    Messages:
    8
    Likes Received:
    0
    Many thanks cybercore, that makes total sense!!! I went through that but the compatibility tab is all greyed out?, i have reset all the permission to full but it still greyout??

    Also i am trying to set the permisiions onto a batch file i run on startup to call these files, if that helps?
     
    #3 jakescusack, Mar 24, 2010
    Last edited: Mar 24, 2010
  4. cybercore

    cybercore New Member

    Joined:
    Jul 7, 2009
    Messages:
    15,823
    Likes Received:
    321
    You're right - just created a batch file and the Run as option is greyed out. Create a shortcut of the batch file, then:

    right-click the shortcut > Properties > Shortcut tab > Advanced button > Check the Run as administrator checkbox.

    + grant full permissions to the target files copied.
     
  5. jakescusack

    jakescusack New Member

    Joined:
    Mar 24, 2010
    Messages:
    8
    Likes Received:
    0
    Thanks for your time and help with this but I'm are still getting access denied?

    Is there any way we can run the Run As Administrator Command within the batch file?
     
  6. WindowsGuy

    WindowsGuy New Member

    Joined:
    Mar 4, 2010
    Messages:
    44
    Likes Received:
    2
    Hello jakescusack,
    Have you tried installing Windows 7 with USB Flash Drive? I use USB flash drives all the time for OS install it works perfectly - lot faster and no DVDs to get scratched and damaged! :)
    You can download the USB tool for free and copy your Windows 7 ISO to the USB. Complete instructions can be found here:
    Microsoft Store: Download Manager Help
    Thanks,
    John M
    Microsoft Windows Client Team
     

Share This Page

Loading...