Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 22nd Apr 2008, 06:42 PM   #31 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 29,617
Reputation: 2162
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 56
Default

Oooo... ok, will try when I'm back tomorrow.
__________________
| Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings
Dashken is offline   Reply With Quote
SPONSOR
Old 22nd Apr 2008, 06:42 PM   #32 (permalink)
Pickin' Da Gitfiddle
 
Mac Daddy's Avatar
 
Join Date: 19 Nov 2007
Location: Canada
Posts: 2,048
Reputation: 802
Mac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to behold
Rep Power: 11
Default

Quote:
Originally Posted by Dashken View Post
Ok, I think I got it. You guys mentioned that if running the batch file (x264_benchmark-720p.bat) straightaway with UAC turned on, when it reach the line below, it won't run and just skip it right?
No thats what happens when you right click and run as admin. When you run the test normally with UAC enabled it prompts to allow or disallow CPUID after the first run and if your not there to accept it stalls the test and doesn't write the results.

Graysky I went in and saved the admin account pw and account enabled again and this time it worked so maybe I missed something the other day. Dashken your results look correct
__________________
Mac Daddy is offline   Reply With Quote
Old 23rd Apr 2008, 10:22 AM   #33 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 29,617
Reputation: 2162
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 56
Default

Yeah... then just warn them that they have to be there!

Coz running with runas with empty Administrator password, it won't work. And too messy to give Administrator a password. Haha...

I think the best thing is to..

- Use script to check whether UAC is on or off
- If off, prompt user whether want to disable UAC to continue (if not, exit)
- If yes, disable UAC and auto restart
- Then maybe add the batch file into run once or something (but that'll require approval as well)

LMAO! Fail...

LOL! I give up...
__________________
| Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings
Dashken is offline   Reply With Quote
Old 23rd Apr 2008, 02:20 PM   #34 (permalink)
Getting there
 
Join Date: 18 Aug 2007
Posts: 167
Reputation: 249
graysky has a spectacular aura aboutgraysky has a spectacular aura aboutgraysky has a spectacular aura about
Rep Power: 4
Default

Quote:
Originally Posted by Dashken View Post
Yeah... then just warn them that they have to be there!

Coz running with runas with empty Administrator password, it won't work. And too messy to give Administrator a password. Haha...
Yeah, that's cuz the environment doesn't get passed to the cmd (it defaults to I think c:\windows\something or c:\users\something when it needs to be the drive and folder where the batch file resides).

Vista sucks

Quote:
Originally Posted by Dashken View Post
I think the best thing is to..

- Use script to check whether UAC is on or off
- If off, prompt user whether want to disable UAC to continue (if not, exit)
- If yes, disable UAC and auto restart
- Then maybe add the batch file into run once or something (but that'll require approval as well)

LMAO! Fail...

LOL! I give up...
Any ideas how to have the batch file do the follow:

Detect if Vista is running or XP/Server etc. If it's Vista, then do a UAC check and prompt users for options.
__________________
http://encoding.n3.net <--- for all your DVD and audio CD backup needs!

graysky is offline   Reply With Quote
Old 23rd Apr 2008, 10:07 PM   #35 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 29,617
Reputation: 2162
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 56
Default

Yup. That's possible..

But I'll have to use the batch file to run vb script to detect the string in the registry, which as always will prompt UAC message.

And I guess that defeats the purpose eh?

Tell me if you want it, I can code one up... and how you want it.

Edit: Maybe it's possible...

- Run batch file to detect if Vista and if UAC ON, then prompt to disable UAC, then restart. If user doesn't want to disable UAC, then QUIT.
- After restart, rerun batch file (manually), or I can straightaway add in the batch file at runonce and it will run after system restarts.

- If not Vista, then run benchmark straightaway.
__________________
| Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings

Last edited by Dashken : 23rd Apr 2008 at 10:13 PM.
Dashken is offline   Reply With Quote
Old 24th Apr 2008, 04:32 AM   #36 (permalink)
Pickin' Da Gitfiddle
 
Mac Daddy's Avatar
 
Join Date: 19 Nov 2007
Location: Canada
Posts: 2,048
Reputation: 802
Mac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to behold
Rep Power: 11
Default

That sounds good Dash and good work guys keep us posted
__________________
Mac Daddy is offline   Reply With Quote
Old 24th Apr 2008, 08:26 AM   #37 (permalink)
Getting there
 
Join Date: 18 Aug 2007
Posts: 167
Reputation: 249
graysky has a spectacular aura aboutgraysky has a spectacular aura aboutgraysky has a spectacular aura about
Rep Power: 4
Default

Quote:
Originally Posted by Dashken View Post
Yup. That's possible..

But I'll have to use the batch file to run vb script to detect the string in the registry, which as always will prompt UAC message.

And I guess that defeats the purpose eh?

Tell me if you want it, I can code one up... and how you want it.

Edit: Maybe it's possible...

- Run batch file to detect if Vista and if UAC ON, then prompt to disable UAC, then restart. If user doesn't want to disable UAC, then QUIT.
- After restart, rerun batch file (manually), or I can straightaway add in the batch file at runonce and it will run after system restarts.

- If not Vista, then run benchmark straightaway.
Sounds like a plan dude. I dunno what to use to test if vista exists though... I looked through the environment variables but didn't see anything.... wait a sec %LOCALAPPDATA% is unique to vista so we could have it look to see that something exists there... dunno about UAC though.

Maybe we're making too much out of this. Maybe it's best to leave it as is?

Oh hey, thanks for fixing up the html on the main page. I like the predictor.
__________________
http://encoding.n3.net <--- for all your DVD and audio CD backup needs!

graysky is offline   Reply With Quote
Old 24th Apr 2008, 08:51 AM   #38 (permalink)
Pickin' Da Gitfiddle
 
Mac Daddy's Avatar
 
Join Date: 19 Nov 2007
Location: Canada
Posts: 2,048
Reputation: 802
Mac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to beholdMac Daddy is a splendid one to behold
Rep Power: 11
Default

I thought so at first Graysky but you and Dash are working on this and be nice to see it sweet. Disabling UAC is easy to do but admire both of your efforts on this one
__________________
Mac Daddy is offline   Reply With Quote
Old 24th Apr 2008, 09:28 AM   #39 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 29,617
Reputation: 2162
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 56
Default

Quote:
Originally Posted by graysky View Post
Sounds like a plan dude. I dunno what to use to test if vista exists though... I looked through the environment variables but didn't see anything.... wait a sec %LOCALAPPDATA% is unique to vista so we could have it look to see that something exists there... dunno about UAC though.
Well, I may use WMI query to check the operatingsystem's OperatingSystemSKU and detect whether it's Vista or not. Or I can just dive into the registry and find the windows current version and also at the same time whether UAC is enabled or not.

Quote:
Maybe we're making too much out of this. Maybe it's best to leave it as is?
Ohh... I'm just suggesting, it's really up to you whether you think we need it or not. But I think I'll try it anyway this weekend, most probably on Saturday. Just to keep my mind fresh. I like simple coding like this... haha.

Quote:
Oh hey, thanks for fixing up the html on the main page. I like the predictor.
Hey, no problem.

Quote:
Originally Posted by Mac Daddy View Post
I thought so at first Graysky but you and Dash are working on this and be nice to see it sweet. Disabling UAC is easy to do but admire both of your efforts on this one
yeah, disabling UAC, restart, run benchmark, then allow to reenable UAC and restart after benchmark is finished. I like everything automated.
__________________
| Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings

Last edited by Dashken : 24th Apr 2008 at 09:38 AM.
Dashken is offline   Reply With Quote
Old 24th Apr 2008, 06:03 PM   #40 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,719
Reputation: 2878
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 64
Default

Okay, once we settle this, we should call it.. Version 2.0? And send out news so that everyone can download and give the new version a try.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
x264 HD Benchmark Dashken Reviews & Articles 167 11th Oct 2008 09:50 PM
x264 Benchmark Dashken Reviews & Articles 203 4th Sep 2008 09:57 PM
Memory bandwidth tests... any real differences (PC4300 vs. PC7100) graysky Processors, Motherboards & Memory 2 1st Nov 2007 03:15 PM


All times are GMT +8. The time now is 05:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2007 Tech ARP. All rights reserved.