forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Disable Low Disk Space Alert(nag) in Windows XP

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 622
Location: Indiana

PostPosted: Thu Apr 22, 2004 4:02 am    Post subject: Disable Low Disk Space Alert(nag) in Windows XP Reply with quote

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 Laughing - 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]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group