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 


E:drive outta DISK space XP NAG! - - can VDS help?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Apr 21, 2004 11:41 pm    Post subject: E:drive outta DISK space XP NAG! - - can VDS help? Reply with quote

This outta DiskSpace NAG in Windows XP ihas drove me crazy, theres no need for it anyways...

I have a good reason to let the drive fill completely up(not gonna explain all that - long story).

But can VDS5 make a script solution for this MS NAG BUG !

I appreciate any help at all Smile (its driving me crazy - tired of clicking its X every 59 seconds.. to get it outta my way.)

Thanks
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Wed Apr 21, 2004 11:56 pm    Post subject: Reply with quote

Tried something like the following?
Code:

%%NagTitle = <Title of error window here>
:Timer
  if @WINEXISTS(%%NagTitle)
    WINDOW CLOSE,@WINEXISTS(%%NagTitle)
  end

:evloop
  wait event,1
  goto evloop

:Close
  exit

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Apr 22, 2004 12:35 am    Post subject: Reply with quote

You can use a registry entry. Works only for XP.

Code:

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
Value Name: NoLowDiskSpaceChecks
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = disable messages)

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Thu Apr 22, 2004 12:37 am    Post subject: Reply with quote

Figured there would be something like that Rolling Eyes
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Thu Apr 22, 2004 12:52 am    Post subject: Reply with quote

I searched for the Window name, no luck...

I like the REG method better(no offense) Smile

Since I also searched my REG in XP and found no 'NoLowDiskSpaceChecks' I guess you ment for me to make them...
Does this look like what I'm suposed to do below?

Code:
REGISTRY WRITE,HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

REGISTRY WRITE,HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\NoLowDiskSpaceChecks,1,DWORD


Not sure if I made any tiny mistakes either in above(please check it for me)

Correction: Sorry FF - but I should have prefex'd them, but just seeing if it basically was what he meant, and then I was gonna get real fancy with it Smile


Last edited by vtol on Thu Apr 22, 2004 1:01 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 22, 2004 12:57 am    Post subject: Reply with quote

Your code is close. Smile

You should use "LOCAL" or "CURUSER" instead of HKEY_CURRENT_USER etc.

Try this code:

Code:
# To affect current user only
REGISTRY WRITE,CURUSER,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,1,DWORD

# To affect entire OS/all users
REGISTRY WRITE,LOCAL,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoLowDiskSpaceChecks,1,DWORD

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Thu Apr 22, 2004 12:59 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Thu Apr 22, 2004 3:49 am    Post subject: Reply with quote

Thanks guys...

I took what I learned on this POST and made something usefull, maybe even for all them other XP registry commands out there.

I tested it pritty good, had no problems.
And best of all, the un-needed XP NAG is finally gone.

If you see a problem in script or etc, please let me know Smile



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


Maybe this will be useful to someone..
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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