Old 29th October 2007, 23:51   #1
Action
Junior Member
 
Join Date: Aug 2007
Posts: 4
Command Prompt in Vista

Hi,
I have a gaming site that users have to install our software to play online multi-player games. We recently have come across an issue with Vista's TCP Auto-Tuning lagging our players. So I would like to be able to disable this during the installation of our software.

The following is what i need to do....

I think I got step 1 handled its step 2 im having troubles with.

Step 1. The first thing that needs to be done is to disable User Access Control which can be done editing the registry...

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Locate the following DWORD value, "EnableLUA" and assign it a value of 0.
Reboot for this change to take effect.

Step 2. Then after the comp reboots i need the installer to restart if possible and some how
Open a "Command Prompt" with the "Run as Administrator" option.
Enter the command, "netsh interface tcp set global autotuning=disabled" to disable TCP Auto-Tuning.

Can this all be done from within the installer setup?
Action is offline   Reply With Quote
Old 30th October 2007, 01:45   #2
Action
Junior Member
 
Join Date: Aug 2007
Posts: 4
No one can help me launch a command prompt window?
Action is offline   Reply With Quote
Old 30th October 2007, 09:57   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
1. To reset group policies without restarting execute gpupdate /force.

2. http://support.microsoft.com/kb/285879
Another method is to call runas.exe with VBScript with WScript.Shell and to type in the password with the SendKeys method before sending vbNewLine.
You will need the administrator password.

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump