Results 1 to 12 of 12
  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Assign USB Drive letter

    ....This is on the off chance.

    I have been approached by a colleague who wishes to dish out about 30 USB memory keys to users with a business plan on it with a demo.

    Is there a script/ini/inf file that can be placed on the key so that it always assigns the same drive letter say (Z?
    Jerry

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter


  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Assign USB Drive letter

    I have been to that site and couldn't get it to work <img src=/S/sad.gif border=0 alt=sad width=15 height=15>. I have a feeling it is how our PC/Laptop locked down and built from an image, hence the scripting option
    Jerry

  4. #4
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter

    Jerry,

    Why not name the USB Drives themselves? You should be able to name them something descriptive, perhaps "BusinessPlanDemo"?
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Assign USB Drive letter

    Sorry, jumping between disciplines today, SQL, Excel VBA and now Windows <img src=/S/sad.gif border=0 alt=sad width=15 height=15>

    When you say name the USB drive where do i do that ? Remember that these will be ad hoc machines, so nothing defined.
    Jerry

  6. #6
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter

    Right click on the drive in 'My Computer', and then rename it.
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  7. #7
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Assign USB Drive letter

    <img src=/S/nope.gif border=0 alt=nope width=15 height=15> sorry, not feasible <img src=/S/whisper.gif border=0 alt=whisper width=29 height=17>They're managers <img src=/S/flee.gif border=0 alt=flee width=25 height=25>
    Jerry

  8. #8
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter

    Why can't an admin just rename them? Other than that, I suppose autorun.ini would be your best bet to make sure they didn't "miss" it...

    I didn't mean for the Managers to rename the drives... perhaps I'm misunderstanding what you mean by not feasible?
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Assign USB Drive letter

    >Why can't an admin just rename them?

    My original question:

    <hr>
    Is there a script/ini/inf file that can be placed on the key so that it always assigns the same drive letter say :Z?
    <hr>

    I want it done on the fly, no Admin, someone places the key in the PC and hey presto it is done.

    So back to the autorun.ini......I have not had time to do this today, I have been rushed off my feet......sssssooooo

    <hr>
    Is there a script/ini/inf file that can be placed on the key so that it always assigns the same drive letter say :Z?
    <hr>
    Jerry

  10. #10
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter

    Still working on the drive letter assignment...in the meantime, my suggestion was an *alternate*, not a fix.
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  11. #11
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Assign USB Drive letter

    Jerry,

    I was working that *exact* method when I saw a new post here! Thanks for the info.
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  12. #12
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Assign USB Drive letter

    Hi Jeremy

    I have adapted a hackers trick called a podslurp. Here is the trick:

    1) Create a file called autorun.inf in notepad and write this code:

    <pre>[autorun]
    icon=jezza.ico
    open=start.bat
    action=Click "OK" to run business page web page
    shellopencommand=start.bat
    </pre>


    2) Create a batch file called start.bat and write this code:
    <pre>@echo off

    @start /max index.htm /B

    @exit
    </pre>


    3) Find an icon (jezza.ico) and your file that you want to run (index.htm)

    4) Place all 4 files in the root of the USB drive

    tada....a running version of autorun in a USB stick

    5) You will get this dialogue on autorun of the USB load in XP
    Jerry

Posting Permissions

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