| View previous topic :: View next topic |
| Author |
Message |
Henrik Valued Newbie

Joined: 09 Jul 2000 Posts: 35 Location: Copenhagen, Denmark
|
Posted: Tue Apr 23, 2002 3:09 pm Post subject: ActiveDesktop |
|
|
Anyone knows how to disable ActiveDesktop in a script ?
Henrik _________________ Henrik Skov
Email: henrikskov@mail.dk |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Apr 24, 2002 9:50 am Post subject: |
|
|
This works for me on Win2000, probable also on Win98 but at least this
is the reg. key to check for.
| Code: |
title Check_ActiveDesktop
parse "%A;%B;%C;%D;%E",@regread(curuser,Software\Microsoft\Windows\CurrentVersion\Explorer,Shellstate)
if @equal(%E,99)
%E = On
else
%E = Off
end
info Active Desktop: %E
exit
|
Rgs
/Dan |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
Posted: Wed Apr 24, 2002 11:04 am Post subject: |
|
|
Nope, doesn't work in 98.  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Apr 24, 2002 1:19 pm Post subject: |
|
|
Sorry about that LiquidCode.
Found an alt. way to disable Active Desktop. (But I'm not sure it works on
the run from a VDS-prog many reg. keys changes need a reboot)
Here it is:
Create a new DWORD value named "NoActiveDesktop", and set the new value to equal "1" to enable the restriction or "0" to disable the restriction.
Note: This restriction can be used either on a user by user basis by adding it to HKEY_CURRENT_USER or on a computer wide basis by adding it to HKEY_LOCAL_MACHINE.
Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Policies\Explorer]
Value Name: NoActiveDesktop
Data Type: REG_DWORD
Data: (0 = disable restriction, 1 = enable restriction)
DanThe... |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
Posted: Wed Apr 24, 2002 1:59 pm Post subject: |
|
|
No Prob. I'll try to check it a little later..I'm at work now..  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Henrik Valued Newbie

Joined: 09 Jul 2000 Posts: 35 Location: Copenhagen, Denmark
|
Posted: Wed Apr 24, 2002 3:12 pm Post subject: Win 98 |
|
|
Hi guys !
I found that this works on Win98:
rem *** %B = DISABLE ACTIVE DESKTOP BINARY STRING
%B = 28|0|0|0|163|26|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|10|0|0|0
registry write,CURUSER,Software\Microsoft\Windows\CurrentVersion\Explorer,ShellState,%B
window send,#ProgMan,@key(f5)
in order to disable the ActiveDesktop
Could anyone try finding a similar key for XP, NT, ME ?
Thanks !
Henrik _________________ Henrik Skov
Email: henrikskov@mail.dk |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
Posted: Wed Apr 24, 2002 3:19 pm Post subject: |
|
|
Hum...It didn't work for me...  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Henrik Valued Newbie

Joined: 09 Jul 2000 Posts: 35 Location: Copenhagen, Denmark
|
Posted: Wed Apr 24, 2002 3:20 pm Post subject: |
|
|
it should be
%B = 28|.....
:-)
and ,BINARY should be added to the registry write line :-)
Henrik _________________ Henrik Skov
Email: henrikskov@mail.dk |
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Apr 24, 2002 7:06 pm Post subject: |
|
|
Here you have two more...
%%ME = 36|0|0|0|35|136|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|11|0|0|0|0|0|0|0|0|0|0|0
%%XP = 36|0|0|0|51|8|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|13|0|0|0|0|0|0|0|0|0|0|0
Rgs
Dan |
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Apr 24, 2002 7:16 pm Post subject: |
|
|
| Henrik! You now howto convert the "smiley" ?. You did the same before ... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Apr 24, 2002 7:54 pm Post subject: |
|
|
You guys can edit your posts and disable smilies...  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
|