+ 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 Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default 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 Junkie FZ1's Avatar Flag of United States
    Join Date
    Nov 2005
    Location
    Cincinnati OH
    Posts
    892
    Mobo: Asus P6T Deluxe V1
    CPU: i7 920
    RAM: OCZ Gold (6 x 2GB) PC3 12800
    Vid: Sapphire Radeon 5970
    PSU: 1000 watt modular
    HDD: A slew of SSD's
    OS: Win 7 Pro x64

    Default

    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 Flag of Canada
    Join Date
    Feb 2009
    Posts
    81
    Mobo: X58A-UD7
    CPU: i7 920
    RAM: 6GB PC3-12800
    Vid: (2) 9800GX2
    PSU: 1050W Enermax Revo85+
    HDD: 30GB Vertex
    OS: Win 7 64-bit

    Default

    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 Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default

    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-03-2009 at 11:11 PM.

  5. #5
    SSD Junkie FZ1's Avatar Flag of United States
    Join Date
    Nov 2005
    Location
    Cincinnati OH
    Posts
    892
    Mobo: Asus P6T Deluxe V1
    CPU: i7 920
    RAM: OCZ Gold (6 x 2GB) PC3 12800
    Vid: Sapphire Radeon 5970
    PSU: 1000 watt modular
    HDD: A slew of SSD's
    OS: Win 7 Pro x64

    Default

    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 Convert Flag of United States
    Join Date
    May 2008
    Posts
    107
    Mobo: Dell Precision M6500
    BIOS: A02
    CPU: Intel Core i7 820
    RAM: 8GB DDR3 SDRAM
    Vid: ATI FirePro M7740
    HDD: 2x Vertex LE 100GB - RAID 0
    OS: Windows 7 Ultimate x64

    Default

    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 Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default

    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
    OCZ Elite Member Halk's Avatar Flag of Scotland
    Join Date
    Dec 2008
    Posts
    1,334
    Mobo: Asus M3A79-T Deluxe
    BIOS: 602
    CPU: Phenom II 940BE
    RAM: 8GB ******* Ascent
    Vid: BFG 8800 GTX OC2
    PSU: ******* HX 620
    HDD: 2x Vertex 60GB RAID0, 4x WD RE3 1TB RAID5 on Adaptec 3805

    Default

    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 Flag of Canada
    Join Date
    Feb 2009
    Posts
    81
    Mobo: X58A-UD7
    CPU: i7 920
    RAM: 6GB PC3-12800
    Vid: (2) 9800GX2
    PSU: 1050W Enermax Revo85+
    HDD: 30GB Vertex
    OS: Win 7 64-bit

    Default

    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 Flag of United States
    Join Date
    May 2009
    Posts
    31
    Mobo: Macbook Pro 2.4GHz Unibody
    RAM: 4GB *******
    HDD: 60GB Vertex SSD
    OS: 10.6.2

    Default

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

  11. #11
    OCZ Addict Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default

    I don't think so.

  12. #12
    OCZ Convert saint-francis's Avatar Flag of United States
    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

    Default

    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 Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default

    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 Flag of United States
    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

    Default

    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 Flag of Russian Federation
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    479
    Mobo: P5Q Pro
    BIOS: 1613
    CPU: Core 2 Quad Q9650 @ 3.0 GHz
    RAM: 8Gb DDR2-800 GAIL 4-4-4-12 @ DDR2-667 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

    Default

    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