+ Reply to Thread
Page 1 of 11
1 2 3 ... LastLast
Results 1 to 15 of 154

Thread: Scheduling Wiper (trim)

  1. #1
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    Scheduling Wiper (trim)

    Wiper Does not work on any Raid Array, keep this in mind.

    I've tried to schedule wiper to run weekly (at Sunday night in my case), but it seems like it requires user to press Y anyway and doesn't run automatically without interaction. I've tried to find solution here on the forum, but didn't find it (hm, did I just miss it?). So after some research I've found pretty straightforward way to run it using VBScript. The method has several limitations but maybe it will be ok for someone . It requires user to be logged on (i.e. it will not work in the background). Works ok in Windows XP, didn't try on others.

    1. Create Wiper.vbs with the following text:

    Code:
    Dim WShell: Set WShell = WScript.CreateObject("WScript.Shell")
    WShell.Run "c:\wiper.exe"
    WScript.Sleep 100
    WShell.SendKeys "y"
    Change the path to wiper accordingly.

    2. Win+R -> Tasks.
    3. Drag your Wiper.vbs file into Tasks folder, open task properties and set necessary schedule.

    I also cleared all check boxes on the Settings tab and enabled "Run only if logged on" on the Task tab.

    Pre patched wiper 0525 with no need to hit Y anymore...http://dl.dropbox.com/u/920660/wiper_0525_patched.zip

  2. #2
    SSD Section Moderator FZ1's Avatar Users Country Flag
    Join Date
    Nov 2005
    Location
    Cincinnati OH
    Posts
    857
    Mobo: Asus P6T Deluxe
    CPU: i7 920
    RAM: OCZ Gold 3 x 2GB
    Vid: Sapphire Radeon 5970
    PSU: "Name Brand" 1000 watt modular
    HDD: OCZ Apex 120GB / Vertex 30GB & many others
    OS: Win 7 Pro 64

    You can run it this way:
    Code:
    Set Command = WScript.CreateObject("WScript.Shell")
    cmd = "c:\wiper.exe"
    Command.Run (cmd)
    WScript.Sleep 100
    Command.SendKeys "y"
    WScript.Sleep 100
    Command.SendKeys "Enter"
    Save it as yourfile.vbs and put in your startup folder. It will run whenever you startup the PC.
    Joe

    I am not an OCZ representative and my opinions/views do not necessarily reflect those of OCZ or its affiliates.
    -----------------------------------------
    POWER SEARCH THE FORUMS W/GOOGLE!

  3. #3
    eek lowfat's Avatar Users Country Flag
    Join Date
    Feb 2009
    Posts
    79
    Mobo: EX58-UD5
    CPU: i7 920
    RAM: 6GB PC3-12800
    Vid: GTX295
    PSU: 1000W Quattro
    HDD: 120GB Vertex

    do VBS work in Vista/7? I can't get it to work. It just opens it up in Notepad, and yes i saved it as a .vbs not a .txt

  4. #4
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    Quote Originally Posted by lowfat View Post
    do VBS work in Vista/7? I can't get it to work. It just opens it up in Notepad, and yes i saved it as a .vbs not a .txt
    You can try to modify the task ("Run:") to
    Code:
    C:\WINDOWS\system32\cscript.exe C:\wiper.vbs
    (change path to the script accordingly, use " symbols if the path contains spaces)
    Last edited by Hell Racer; 06-04-2009 at 12:11 AM.

  5. #5
    SSD Section Moderator FZ1's Avatar Users Country Flag
    Join Date
    Nov 2005
    Location
    Cincinnati OH
    Posts
    857
    Mobo: Asus P6T Deluxe
    CPU: i7 920
    RAM: OCZ Gold 3 x 2GB
    Vid: Sapphire Radeon 5970
    PSU: "Name Brand" 1000 watt modular
    HDD: OCZ Apex 120GB / Vertex 30GB & many others
    OS: Win 7 Pro 64

    Quote Originally Posted by lowfat View Post
    do VBS work in Vista/7? I can't get it to work. It just opens it up in Notepad, and yes i saved it as a .vbs not a .txt
    It should work in all versions of Windows. I ran it in 7RC 64bit (at least my version).

    One other thought, you could use Windows scheduler to run it on a custom schedule.
    Joe

    I am not an OCZ representative and my opinions/views do not necessarily reflect those of OCZ or its affiliates.
    -----------------------------------------
    POWER SEARCH THE FORUMS W/GOOGLE!

  6. #6
    OCZ User Users Country Flag
    Join Date
    May 2008
    Posts
    66
    Mobo: Dell Precision M4400
    BIOS: A15
    CPU: Intel Core 2 Duo
    RAM: 8GB DDR2 SDRAM
    Vid: NVIDIA Quadro FX 770M
    HDD: Vertex 120GB AHCI
    OS: Windows 7 Ultimate x64

    How often can you run wiper? Does it hurt the drive if you were to run it every day, every week?

  7. #7
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    That depends on how you use the drive. Calculate how much you write per day and schedule wiper to run every [Drive Size / GB written per day] days.

  8. #8
    SSD Section Moderator Halk's Avatar Users Country Flag
    Join Date
    Dec 2008
    Posts
    1,320
    Mobo: Asus M3A79-T Deluxe
    BIOS: 602
    CPU: Phenom II 940BE
    RAM: 4GB ******* Ascent
    Vid: BFG 8800 GTX OC2
    PSU: ******* HX 620
    HDD: WD Raptor 150GB

    Wiper does not hurt the drive. It skips over sections of the drive that do not need to be cleaned. For the sections that do need to be cleaned they need to be cleaned before writing anyway, so no additional wear is caused.
    I am not employed by OCZ. Anything I post is opinion, and not official OCZ statement.


  9. #9
    eek lowfat's Avatar Users Country Flag
    Join Date
    Feb 2009
    Posts
    79
    Mobo: EX58-UD5
    CPU: i7 920
    RAM: 6GB PC3-12800
    Vid: GTX295
    PSU: 1000W Quattro
    HDD: 120GB Vertex

    Ok, i was a moron. Damn Vista. Even if you save the file from notepad as a .vbs it saves it as a .vbs.txt. So after making vista show all file extensions i noticed my problem. Works now

  10. #10
    OCZ User Users Country Flag
    Join Date
    May 2009
    Posts
    20
    Mobo: Macbook Pro 2.4GHz Unibody
    RAM: 4GB *******
    HDD: 320GB Hitachi 7200RPM 2.5in 16MB cache
    OS: 10.6.1

    Would this work for my entire drive if I only have 20GB Partitioned for Windows? [Bootcamp]

  11. #11
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    I don't think so.

  12. #12
    OCZ Convert saint-francis's Avatar Users Country Flag
    Join Date
    Jul 2007
    Location
    NTSC
    Posts
    104
    Mobo: DFI LP LT P35
    BIOS: Some custom one from some time in March 09
    CPU: Q6600
    RAM: 2 xOCZ Reaper DDR2 1066 2 x 2 x2 GB OCZ2RPR10664GK
    Vid: SAPPHIRE HD3870 512M RT
    PSU: ******* HX620
    HDD: 1 Core V2 30 GB, 1 Vertex 120 GB
    OS: Windows 7 7100 RC

    I can't for the life of me get this to work. W7 RC x64 here. And it's certainly a .vbs not .txt. I keep getting errors.

    With the first script I get:

    Code:
    Line: 2
    Char: 1
    Error The system cannot find the file specified.
    I have correctly modified the path to wiper.exe.

    With the second script I get:

    Code:
    Line: 3
    Char: 1
    Error The system cannot find the file specified.

  13. #13
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    Did you change path to wiper according to its real location (or placed it into C:\ folder)?

  14. #14
    OCZ Convert saint-francis's Avatar Users Country Flag
    Join Date
    Jul 2007
    Location
    NTSC
    Posts
    104
    Mobo: DFI LP LT P35
    BIOS: Some custom one from some time in March 09
    CPU: Q6600
    RAM: 2 xOCZ Reaper DDR2 1066 2 x 2 x2 GB OCZ2RPR10664GK
    Vid: SAPPHIRE HD3870 512M RT
    PSU: ******* HX620
    HDD: 1 Core V2 30 GB, 1 Vertex 120 GB
    OS: Windows 7 7100 RC

    Quote Originally Posted by Hell Racer View Post
    Did you change path to wiper according to its real location?
    Sure did.

  15. #15
    OCZ Addict Users Country Flag
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    411
    Mobo: P5K Premium
    BIOS: 1101
    CPU: Core 2 Quad Q9650
    RAM: 4Gb DDR2-800 GAIL 4-4-4-12
    Vid: ECS GeForce 8800 GTS 512Mb
    PSU: Termaltake TR2-550W
    HDD: 2 x Vertex v1.5 30Gb RAID0 @ Ports 4&5, 750Gb Samsung @ Port 0
    OS: Windows XP Professional SP3 32bit

    Try to place it on C:\ first and see if it works. I think the path is incorrect somehow .

+ Reply to Thread
Page 1 of 11
1 2 3 ... LastLast

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