tag:blogger.com,1999:blog-2503703346900876790.comments2023-05-31T20:05:42.713+03:00Lusu's BlogLusuhttp://www.blogger.com/profile/02882536655368487024noreply@blogger.comBlogger47125tag:blogger.com,1999:blog-2503703346900876790.post-62900070448508295322015-11-06T21:55:21.039+02:002015-11-06T21:55:21.039+02:00"Include in backup drive D:". If you do ..."Include in backup drive D:". If you do not have the drive D: you can skip it.Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-72245702522036476702015-11-06T21:30:08.126+02:002015-11-06T21:30:08.126+02:00what does the option -include:d: does?
once i inc...what does the option -include:d: does?<br /><br />once i include the option i get the error Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-84040973949401587022015-09-10T21:01:57.396+03:002015-09-10T21:01:57.396+03:00Here is what I currently use now:
@echo off
setl...Here is what I currently use now:<br /><br />@echo off<br /><br />setlocal<br /><br />set currentdate=%date:~-4,4%-%date:~4,2%-%date:~7,2%<br />set target=\\master\backups\<br />set user=username<br />set pass=password<br />set log=%target%backup log %computername% %currentdate%.txt<br />set backuptarget=%target%WindowsImageBackup\%computername%<br />set desiredtarget=%target%%computername% - %currentdate%<br /><br />(<br /> echo Started at %date% %time%.<br /> echo.<br /><br /> wbadmin start backup -allCritical -systemState -vssFull -backupTarget:%target% -user:%user% -password:%pass% -include:d: -quiet<br /><br /> move "%backuptarget%" "%desiredtarget%"<br /><br /> echo.<br /><br /> for /f "skip=7 delims=" %%i in ('dir /b /ad /o-d %target%%computername%*') do rd /s /q "%target%%%i"<br /><br /> for /f "skip=21 delims=" %%i in ('dir /b /a-d /o-d "%target%backup log %computername%*"') do del "%target%%%i"<br />) >>"%log%"<br /><br /><br />echo Ended at %date% %time%.>>"%log%"<br /><br />endlocal<br /><br />This will keep the last 7 backups and the last 21 backup logs.Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-51572424716597154712015-09-10T20:18:53.415+03:002015-09-10T20:18:53.415+03:00Hi,
Great script - Where would I put the line abov...Hi,<br />Great script - Where would I put the line above to keep only the last 7 backups?<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-56177789096123554782015-02-04T18:25:36.707+02:002015-02-04T18:25:36.707+02:00That's a nifty tool, but meantime I've evo...That's a nifty tool, but meantime I've evolved the batch file to remove older files on it's own...<br /><br />for /f "skip=7 delims=" %%i in ('dir /b /ad /o-d %target%%computername%*') do rd /s /q "%target%%%i"<br /><br />This will keep newest 7 backups (skip=7). However, I keep all the logs, i do not delete them, but few more similar lines could do this clearing...Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-68574245274230137792015-02-04T13:53:29.059+02:002015-02-04T13:53:29.059+02:00You can use delage32.exe for the cleanup taskYou can use delage32.exe for the cleanup taskAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-2710743118484320872014-04-10T16:31:49.550+03:002014-04-10T16:31:49.550+03:00thanks a lot! about to try this and it looks like ...thanks a lot! about to try this and it looks like just what i wanted! I am going to find out what all these switches do first though as I want to have a regular schedule of system state and then a once weekly bare metal:<br /><br />wbadmin start backup -allCritical -systemState -vssFull -backupTarget:%target% -user:myuser -password:mypassword -include:d: -quietliquidsmokenoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-48606064265553292132011-05-04T11:20:30.908+03:002011-05-04T11:20:30.908+03:00cheers for that tip.
I've just tried tskill on...cheers for that tip.<br />I've just tried tskill on Win7x64 and it works.<br />I'm now going to deploy it across my site (2K, XP, 7x32, 7x64) to kill certain processes that users keep leaving open over night.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-15530514464627914862011-01-31T15:35:12.646+02:002011-01-31T15:35:12.646+02:00Anti virus is a really a must have if you are a av...Anti virus is a really a must have if you are a avid internet user. It almost camouflages you from the attacks and other threats present in the web world. Great post and a nicely written article..net Obfuscatorhttp://www.secureteam.net/noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-22137001118601887902010-12-31T19:05:40.149+02:002010-12-31T19:05:40.149+02:00thanx for this trick,i like your these instruction...thanx for this trick,i like your these instructions,its working.nice way to restore system.amanhttp://www.learntohack.webnode.comnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-36347162267461371722010-02-02T14:18:46.377+02:002010-02-02T14:18:46.377+02:00Actually Windows 7 hibernates faster than previous...Actually Windows 7 hibernates faster than previous versions. There are real and visible improvements. So far I use Windows 7 on 2 computers and I never saw a system crash. True that some apps still crash or hang, but that's not Windows fault...Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-20367414871974388912010-02-02T13:08:43.073+02:002010-02-02T13:08:43.073+02:00Thank you, maybe windows 7 will be better at manag...Thank you, maybe windows 7 will be better at managing system memory when using the hibernating feature.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-45355405044027466772009-06-24T12:47:24.183+03:002009-06-24T12:47:24.183+03:00You are lucky:
I will update the post in few minu...You are lucky:<br /><br />I will update the post in few minutes with windows 2000 specific instructions. Please check again a little later.Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-67882673691984708302009-06-24T12:38:42.712+03:002009-06-24T12:38:42.712+03:00well .... i need to kill a process on windows 2000...well .... i need to kill a process on windows 2000 (thru command prompt).... so can u suggest any solution ?Nikhilhttps://www.blogger.com/profile/00133644515722427154noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-75637018585709981652009-06-24T12:36:20.248+03:002009-06-24T12:36:20.248+03:00No, it works on Terminal Server only if you are ru...No, it works on Terminal Server only if you are running Windows 2000.Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-67264292072658798442009-06-24T12:27:35.759+03:002009-06-24T12:27:35.759+03:00i wish to terminate a process on windows 2000 prof...i wish to terminate a process on windows 2000 professional ....<br /><br />how do i do that ?Nikhilhttps://www.blogger.com/profile/00133644515722427154noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-16508730265150112092009-06-24T12:26:08.587+03:002009-06-24T12:26:08.587+03:00what works for windows 2000 professional ?<b>what works for windows 2000 professional </b>?Nikhilhttps://www.blogger.com/profile/00133644515722427154noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-66838179069074344342009-05-29T11:26:51.902+03:002009-05-29T11:26:51.902+03:00Thanks for this, I was not so sure about Page File...Thanks for this, I was not so sure about Page File, but I think I get it a little more now.<br /><br />Thanks, especially for the down loadable defrager, It was great!<br /><br />:)Christopher Robertshttp://www.christopher-roberts.co.uknoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-48856794496858119252008-12-11T12:20:00.000+02:002008-12-11T12:20:00.000+02:00Thanks a lot!! ur info was really useful!Thanks a lot!! ur info was really useful!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-5530116104215604142008-09-25T00:24:00.000+03:002008-09-25T00:24:00.000+03:00It works with vista, but you have to type it a lit...It works with vista, but you have to type it a little different for me. I have to type, taskkill /pid 1234, or to do it forcefully, taskkill /f /pid 1234.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-38305918076128224442008-09-19T21:19:00.000+03:002008-09-19T21:19:00.000+03:00The same with XP (I have Media Center) use taskkil...The same with XP (I have Media Center) use taskkill.<BR/><BR/>Using taskkill /? will explain all the values of this command.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-9338202783866791822008-07-31T10:23:00.000+03:002008-07-31T10:23:00.000+03:00As some spammers said in some comments I have dele...As some spammers said in some comments I have deleted (I hate spammers, and I don't accept them, however, they put a name like "laptop battery" with a link to some selling site and then put a relatively OK comment to the article, though they are a little bit from a predefined list of comments):<BR/><BR/>"Other small improvements in battery life may be gained by the ability to turn off USB ports individually to save power."<BR/><BR/>"Keep Your Batteries Clean - It’s a good idea to clean dirty battery contacts with a cotton swab and alcohol. This helps maintain a good connection between the battery and your portable device."Lusuhttps://www.blogger.com/profile/02882536655368487024noreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-51191264369839457992008-07-21T01:34:00.000+03:002008-07-21T01:34:00.000+03:00Still.If you're using unicode text, like Japan...Still.<BR/><BR/>If you're using unicode text, like Japanese or other languages-<BR/><BR/>Firefox still refuses to cooperate.<BR/><BR/>You can't view Unicode languages without Unicode.<BR/><BR/>You can't view external JS & CSS WITH Unicode(with FF only.)<BR/><BR/>INTERNET EXPLORER FTW.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-39273595819265563642008-05-11T06:21:00.000+03:002008-05-11T06:21:00.000+03:00For vista instead of using tskill you use taskkill...For vista instead of using tskill you use taskkill<BR/><BR/>so it would be<BR/><BR/>taskkill mspaint<BR/><BR/>instead of tskill mspaintAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2503703346900876790.post-60908858958791552402008-03-17T22:37:00.000+02:002008-03-17T22:37:00.000+02:00Only works on integers. :(Only works on integers. :(Anonymousnoreply@blogger.com