vtol Valued Contributor
Joined: 05 Feb 2004 Posts: 642 Location: Eastern Indiana
|
Posted: Thu Apr 22, 2004 4:02 am Post subject: Disable Low Disk Space Alert(nag) in Windows XP |
|
|
Disable Low Disk Space Alert(nag) in Windows XP
Just a tiny Windows XP helper - Use at your own Risk - etc etc etc..
I tested it pritty good, let me know if it needs something please.
Maybe it can also be used for other Register commands strings.
Hope this is of some use to somebody, thanks to CodeScript and FreezingFires help.
Enjoy (I know I did - no more XP alert, NAG NAG NAG ... )
Code: | Title Turn off XP Low Drive Space Alert
# It Just a friendly helper For Windows XP to disable the LOW DISK space ALERT.
# made by me and friends here
# made with VDS5
# maybe needs extra features for some
# Use at your own risk! Writes to the WinXP Registry. I cannot be held
# responsible for any damage caused or related to this program.
DIALOG CREATE,Turn off XP Low Drive Space Alert,-1,0,240,191,ontop,nosys,smallcap
DIALOG ADD,LINE,line1,13,9,222,167
dialog TITLE,Use at your own risk!
DIALOG ADD,STYLE,STYLE1,,11,I,,RED
DIALOG ADD,STYLE,STYLE2,,9,,,gray
DIALOG ADD,TEXT,text1,22,16,,,Turn off XP Low Drive Space Alert,,STYLE1
DIALOG ADD,BUTTON,user,53,30,180,24,Apply To the current user only...@FILL(1,,L)
DIALOG ADD,BUTTON,all,80,30,180,24,Apply To entire Operating System
# below set both back to Windows XP default setting - Disabled
DIALOG ADD,BUTTON,enable,110,30,180,20,Apply above both back to Enabled
DIALOG ADD,TEXT,text2,135,30,,,All 3 buttons above Write to Registry...,,STYLE2
DIALOG ADD,BUTTON,help,160,9,64,24,Warning
DIALOG ADD,BUTTON,cancel,160,168,64,24,Close
DIALOG SHOW
# you could add your favorite win OS version detector
:Evloop
wait event
goto @event()
:helpBUTTON
warn Use at your own risk!@CR()Writes to the WinXP Registry.@CR()@CR()I cannot be held responsible for@CR()any damage caused or related to@CR()this program.@CR()@CR()Just a helper For Windows XP
goto evloop
:userBUTTON
# To affect current user only
REGISTRY WRITE,CURUSER,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,1,DWORD
REGISTRY WRITE,LOCAL,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,0,DWORD
info Succecssfully Turned off LowDriveSpaceAlert in the XP Registry!
IF @query(This requires reboot"," reboot now"?"@CR()Click cancel to reboot later".")
EXITWIN REBOOT
goto close
END
goto evloop
:allBUTTON
# To affect entire OS
REGISTRY WRITE,LOCAL,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,1,DWORD
REGISTRY WRITE,CURUSER,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,0,DWORD
info Succecssfully Turned off LowDriveSpaceAlert in the XP Registry!
IF @query(This requires reboot"," reboot now"?"@CR()Click cancel to reboot later".")
EXITWIN REBOOT
goto close
END
info Succecssfully Turned off LowDriveSpaceAlert in the XP Registry!
goto evloop
:enableBUTTON
REGISTRY WRITE,CURUSER,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,0,DWORD
REGISTRY WRITE,LOCAL,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,0,DWORD
info Succecssfully Enabled both back to normal"."
IF @query(This requires reboot"," reboot now"?"@CR()Click cancel to reboot later".")
EXITWIN REBOOT
goto close
END
goto evloop
:cancelBUTTON
:close
exit | [img][/img][img][/img] |
|