Page:  1  2  next 

All posts by quantic (17)

topic: Run command (How to enable Administrative rights)  in the forum: SuRun English speaking
quantic #1
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
you can do it this way also:

1. create one of these scripts:
"runbox.js"

(new ActiveXObject("Shell.Application")).FileRun()

"runbox.vbs"

Dim objShell
Set objShell = CreateObject("Shell.Application")
objShell.FileRun


2. create a shortcut with the following target:
%windir%\surun.exe wscript.exe f:\run.js //b
or
%windir%\surun.exe wscript.exe f:\run.vbs //b

// replace f:\ with your path



edit:

doesn't seem to work...
surun's dialog box pops-up but when some cmd is run from the RUN box there isn't any elevation..

use Kay method


edit2:

finally managed to do it...run box actually runs elevated.

instead of the above scripts, use an ahk script converted to exe.
the exe contains the following code:

hMod  := DllCall("GetModuleHandle",Str,"Shell32" )
pAddr := DllCall("GetProcAddress", UInt,hMod , UInt,61 )
DllCall( pAddr, UInt,0, UInt,0, UInt,0, UInt,0, UInt,0, UInt,0 )

since the only thing I did was the conversion to exe, real credits go here:
http://www.autohotkey.com/forum/viewtopic.…?p=154745#154…

download the attached file, or copy-paste the above code and download Autohotkey, then use the compiler tool.
The author has attached one file to this post:
runbox.exe | Save   202.3 kBytes, downloaded 112 times
This post was edited on 2010-05-26, 23:51 by quantic.
topic: How to use Sandboxie with Surun?  in the forum: SuRun English speaking
quantic #2
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 2672
Hi,

I also use Sandboxie with SuRun (XPSP3) and I created a context menu entry with the following:

(I edit/create my custom context menu using PowerPro)
%windir%\surun.exe \progra~1\sandbo~1\start.exe /box:__ask__


(you can edit the registry to avoid any tool, for that just copy and paste the following and save it as *.reg file or just apply the attached file):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\surunboxie]

[HKEY_CLASSES_ROOT\*\shell\surunboxie\command]
@="\"c:\\windows\\surun.exe\" \"\\progra~1\\sandbo~1\\start.exe\" /box:__ask__ \"%1\" %*"

if you wish to create the keys manually, here's the string:
"c:\windows\surun.exe" "\progra~1\sandbo~1\start.exe" /box:__ask__ "%1" %*
The author has attached one file to this post:
surunboxie.reg | Save   448 Bytes, downloaded 133 times
topic: Tray icon display  in the forum: SuRun English speaking
quantic #3
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1961
Kay,

thanks for taking the time to confirm my assumption.
It doesn't bother me at all, I was just curious to know the reason.
Maybe, you can add that note when final goes live.
topic: Tray icon display  in the forum: SuRun English speaking
quantic #4
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1945
In the end of this article, it says this:

Also, GetShellWindow fails if the default shell (Explorer) has been replaced with a custom shell.
topic: Tray icon display  in the forum: SuRun English speaking
quantic #5
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1942
No, I don't use Vista. I'm still on XP but after reading through those lines I think I nailed it.

(Show Atomic icon) //Shell is admin
  }else
  {
    (Show Red smiley)

Before the format, I was using LiteStep as shell in my admin account.
Is my assumption correct for seeing the red smiley before with LiteStep instead of the atomic icon now with Explorer?
topic: Tray icon display  in the forum: SuRun English speaking
quantic #6
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1940
So, why did I had a red smiley before in my admin account?
I've set up Windows accounts in the same way as before.
topic: Tray icon display  in the forum: SuRun English speaking
quantic #7
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
Kay,

I've reinstalled the beta on a new Windows install and now in my Admin account i get a black and yellow tray icon.
What does it mean?
Besides the green and red, where's the reference to the other states?
This post was edited on 2009-06-07, 11:25 by Kay.
topic: SuRun 1.2.0.7  in the forum: SuRun Beta
quantic #8
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1936
Mik.c.OS,

Yeah, you're right, that was a really bad idea :D
A simple and classic dialog box will do for me too.
topic: SuRun 1.2.0.7  in the forum: SuRun Beta
quantic #9
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1923
Sorry for my post in English but I can't express myself in German.

Cosmo,
to clarify the two methods I posted, method one and method two uses only one icon in DUST.
The first one (the menu) appears by left-clicking the icon and the context gets populated by the number of users logged on.
The second one does the same but using Alt-Tab as you could guess already.

As for your suggestions, I'm against the use of more than one icon.
I think it's better to keep it as it is right now with added functionality like different colors as you said or additional info in the tooltip. Adding more icons is not good IMHO.

Kay,
I like your idea of the blurred down window.

As for the warning, I'd suggest something like the OS X Volume Indicator:
http://www.silvermac.com/wp-content/uploads/2008/01/volume…

display it in the center of the screen with SuRun sad smiley:

: (

"No other user logged on"

Then auto close it by n or clicking anywhere in the dialog.

P.S. You can answer in German if you want, I'll just use the translator to get what you say.. :D
topic: SuRun 1.2.0.7  in the forum: SuRun Beta
quantic #10
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
Kay,

vorschlag:

http://www.waybeyonduk.com/DUST/nimenu.jpg
http://www.waybeyonduk.com/DUST/connect.jpg
topic: Option to switch users?  in the forum: SuRun English speaking
quantic #11
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1887
I've not yet switched from XP, but from what I've been reading, UAC is undoubtedly flawed, not by design but by its implementation as proved here: Windows 7 UAC whitelist: Code-injection Vulnerability (and more)

And even though rundll32.exe is not in the whitelist anymore, as it's stated here: Short: Windows 7 Release Candidate auto-elevate white list, code-injection is still possible as proved in the 1st link.

Of course, this is only possible when using an Admin account, which many people still do in Vista/7.

Quote by kay:
It should provide better safety (...)

You said the magic word, "should".

Let's see how that turns out in the RTM, or SP1
topic: Option to switch users?  in the forum: SuRun English speaking
quantic #12
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1881
I sure hope you can do it.
I'm planning to write an article about it and I'd like to let Win7 readers know, that they can replace UAC with SuRun.
Maybe I'll write it now and then make an update, or I'll just wait for the compatibility fixes.
I'll let you know either way.
topic: Option to switch users?  in the forum: SuRun English speaking
quantic #13
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1868
Fair enough Kay.
THE feature I wanted most is already implemented, so I'm a happy SuRunner :D

The only reason I asked for it is mainly for personal taste, nothing more, I guess I'm more into the old-school sort of things.
I even use the /sos switch in boot to see text instead of GUI :D

Disregard it completely, seriously. I'm very grateful for what you did in so short time.
Big thank you.


Just one more question Kay.
How's the feedback from Windows 7 users? Is it working ok?
This post was edited on 2009-05-22, 22:55 by quantic.
topic: Option to switch users?  in the forum: SuRun English speaking
quantic #14
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1862
From DUST page, read sections:

"Classic Logon under Windows XP"

and

"Enforcing Windows XP Fast User Switching"

it seems this is how they do it:
This is achieved through a service that monitors specific changes to the registry and then makes adjustments as necessary.

it also says that it doesn't work for Vista though...
topic: Option to switch users?  in the forum: SuRun English speaking
quantic #15
Member since May 2009 · 17 posts
Group memberships: Mitglieder
Show profile · Link to this post
In reply to post ID 1857
That was fast! :D
THANK YOU, Mr Kay!
Really,thanks a lot for this.

From my brief tests, it's all working ok without any glitches.
This on an XP SP3 en-EN 32-bits

As for your question, I don't need a GUI at all but if you want to make one will be welcomed of course.
For now, this only works if the Welcome Screen is ON.
Any chance to disable the Welcome Screen and use Classic Logon prompt as DUST does?

EDIT:

post cleaned up a bit, I used DUST a long time ago and was mixing things up.

and also want to say that I'm just lovin' this tool  :cool:
You are a really nice guy Kay.
This post was edited 2 times, last on 2009-05-20, 03:38 by quantic.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  next 
Special queries
Go to forum
Not logged in. · Lost password · Register
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 108.7 ms (78.5 ms) · 149 database queries in 33.7 ms
Current time: 2019-12-07, 19:38:51 (UTC +01:00)