[quote="Shinra358"]x64. There isn't one. The registry just doesn't get changed through the .bat as well as it did on the other machine. Weird because it worked just fine on my other laptop. And I hadn't installed much of anything else on the new laptop yet.[/quote]Weird. The new additions are your medical test setting, and the Call to enable 3D. Try removing those pieces and see if you are still having problems. If we can narrow it down, we can solve it.
Shinra358 said:x64. There isn't one. The registry just doesn't get changed through the .bat as well as it did on the other machine. Weird because it worked just fine on my other laptop. And I hadn't installed much of anything else on the new laptop yet.
Weird. The new additions are your medical test setting, and the Call to enable 3D. Try removing those pieces and see if you are still having problems. If we can narrow it down, we can solve it.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607 Latest 3Dmigoto Release Bo3b's School for ShaderHackers
[quote="Milamber*"]Quick question, do I need to edit the code in anyway to enable all the functions? I renamed it to BAT but it didnt do anything.[/quote]Nope, should just work as a .BAT file. Let me know if you have any problems with it.
[quote="bo3b"][quote="Shinra358"]x64. There isn't one. The registry just doesn't get changed through the .bat as well as it did on the other machine. Weird because it worked just fine on my other laptop. And I hadn't installed much of anything else on the new laptop yet.[/quote]Weird. The new additions are your medical test setting, and the Call to enable 3D. Try removing those pieces and see if you are still having problems. If we can narrow it down, we can solve it.[/quote]
I figured it out. It was because I had the nvdia 3d checkbox happen before the registry stuff happened. But it didn't matter on my other machine. Maybe because my other machine was slower? Maybe it took too long opening the medical test that the registry entries had time to write before it initiated. Wierd. I moved the 3D checkbox activation to the bottom of the bat file and now it works without issue.
Shinra358 said:x64. There isn't one. The registry just doesn't get changed through the .bat as well as it did on the other machine. Weird because it worked just fine on my other laptop. And I hadn't installed much of anything else on the new laptop yet.
Weird. The new additions are your medical test setting, and the Call to enable 3D. Try removing those pieces and see if you are still having problems. If we can narrow it down, we can solve it.
I figured it out. It was because I had the nvdia 3d checkbox happen before the registry stuff happened. But it didn't matter on my other machine. Maybe because my other machine was slower? Maybe it took too long opening the medical test that the registry entries had time to write before it initiated. Wierd. I moved the 3D checkbox activation to the bottom of the bat file and now it works without issue.
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
OK, good to know.
For anyone else reading the thread, that's how the original post code is set up as well, so you should be able to just save that code text in a .bat file, and run it after a driver install to reset everything. Works for both x64 and x86.
For anyone else reading the thread, that's how the original post code is set up as well, so you should be able to just save that code text in a .bat file, and run it after a driver install to reset everything. Works for both x64 and x86.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607 Latest 3Dmigoto Release Bo3b's School for ShaderHackers
Example:
[code]REM [Change a registry key and values with Regedit.exe]
REM [and a temporary .reg file. Self-contained script.]
REM
REM [For magic keyboard numbers go here:]
REM [http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/]
REM [Necessary header for importing .reg file.]
> "%temp%\Update3DSettings.reg" ECHO Windows Registry Editor Version 5.00
>> "%temp%\Update3DSettings.reg" ECHO.
REM [Decide which CPU architecture- to set the proper registry keys for x86 and x64.]
REM [Using GOTO instead of IF THEN ELSE because of better compatibility.]
REM [Assume x86 as the architecture.]
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\Stereo3D]"
REM [Reset the key if that's not right.]
IF "%PROCESSOR_ARCHITECTURE%"=="x86" GOTO EchoKey
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]"
:EchoKey
>> "%temp%\Update3DSettings.reg" ECHO %KEY%
REM [Now the series of registry dwords for that \Stereo3D key.]
REM [Toggles first time usage test. [0=On, 1=Off]]
>> "%temp%\Update3DSettings.reg" ECHO "StereoVisionConfirmed"=dword:00000001
REM [Toggles whether the 3D effect is initiated when a compatible game starts. [0=Yes, 1=No]]
>> "%temp%\Update3DSettings.reg" ECHO "StereoDefaultOn"=dword:00000000
[/code]
I moved to your format because it's one less file. However mine has trouble writing on my system but yours works fine on my system. Is it because of the brackets that I'm using beside the 'REMs'?
REM [Change a registry key and values with Regedit.exe]
REM [and a temporary .reg file. Self-contained script.]
REM
REM [For magic keyboard numbers go here:]
REM [http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/]
REM [Necessary header for importing .reg file.]
> "%temp%\Update3DSettings.reg" ECHO Windows Registry Editor Version 5.00
>> "%temp%\Update3DSettings.reg" ECHO.
REM [Decide which CPU architecture- to set the proper registry keys for x86 and x64.]
REM [Using GOTO instead of IF THEN ELSE because of better compatibility.]
REM [Assume x86 as the architecture.]
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\Stereo3D]"
REM [Reset the key if that's not right.]
IF "%PROCESSOR_ARCHITECTURE%"=="x86" GOTO EchoKey
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]"
REM [Now the series of registry dwords for that \Stereo3D key.]
REM [Toggles first time usage test. [0=On, 1=Off]]
>> "%temp%\Update3DSettings.reg" ECHO "StereoVisionConfirmed"=dword:00000001
REM [Toggles whether the 3D effect is initiated when a compatible game starts. [0=Yes, 1=No]]
>> "%temp%\Update3DSettings.reg" ECHO "StereoDefaultOn"=dword:00000000
I moved to your format because it's one less file. However mine has trouble writing on my system but yours works fine on my system. Is it because of the brackets that I'm using beside the 'REMs'?
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
Update: the way I have it now (with brackets) work for my modified 314.22 drivers on the 780M but doesn't work for the updated drivers....
This makes no sense lol.
I don't think the brackets make any difference. Once it's a REM statement, nothing else on that line matters.
The example that you have above is incomplete, the actual regedit command is missing, so the BAT will make a temp file, but not execute it.
In general terms, the way to solve these sorts of problems is to narrow down what part is working and what isn't. And start with a simpler case to see if it works. So, for example, if you think the brackets might be the problem, delete all the comment lines (temporary test), and see if it works. If that still has the same symptom, you've ruled that out, and can look at something else.
In this case, the BAT creates a temp file with registry keys in it. Find that file and look at it to see if it's legit or somehow off. Use start menu, type in %temp%, and see what window it opens. Look for the Update3DSettings.reg file in that folder, and open it with a text editor.
I don't think the brackets make any difference. Once it's a REM statement, nothing else on that line matters.
The example that you have above is incomplete, the actual regedit command is missing, so the BAT will make a temp file, but not execute it.
In general terms, the way to solve these sorts of problems is to narrow down what part is working and what isn't. And start with a simpler case to see if it works. So, for example, if you think the brackets might be the problem, delete all the comment lines (temporary test), and see if it works. If that still has the same symptom, you've ruled that out, and can look at something else.
In this case, the BAT creates a temp file with registry keys in it. Find that file and look at it to see if it's legit or somehow off. Use start menu, type in %temp%, and see what window it opens. Look for the Update3DSettings.reg file in that folder, and open it with a text editor.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607 Latest 3Dmigoto Release Bo3b's School for ShaderHackers
Yeah I just posted a piece of it, not the whole thing. But I found out what it was. It needs admin priviledges because I'm on a non-admin account (just went to my admin account to click on it and it worked there). Have no idea why using different drivers makes you not need it and some do though lol (maybe because the modded driver was 'unsigned'). So a solution would be to add the Admin Password prompt to the .bat before it starts the process. Can you do this? It'll probably be best not to auto input the prompt code and hide it for security reasons.
Edit: I tried to give you the code but the website is blocking it from being posted. So I'll try and pm it to you. Edit 2: can't send it through pm either.
Here is the code (first codeblock):
http://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file
Then, you may want to change the temp file directory to %PROGRAMDATA%\Temp\Update3DSettings instead because when using the prompt, it automatically goes under the Admins profile instead of the profile you are on.
Lastly, write in the code to delete the temp file after the process is done to be clean:
[code]REM [Delete Temp File]
del "%PROGRAMDATA%\Temp\Update3DSettings.reg"[/code]
Yeah I just posted a piece of it, not the whole thing. But I found out what it was. It needs admin priviledges because I'm on a non-admin account (just went to my admin account to click on it and it worked there). Have no idea why using different drivers makes you not need it and some do though lol (maybe because the modded driver was 'unsigned'). So a solution would be to add the Admin Password prompt to the .bat before it starts the process. Can you do this? It'll probably be best not to auto input the prompt code and hide it for security reasons.
Edit: I tried to give you the code but the website is blocking it from being posted. So I'll try and pm it to you. Edit 2: can't send it through pm either.
Then, you may want to change the temp file directory to %PROGRAMDATA%\Temp\Update3DSettings instead because when using the prompt, it automatically goes under the Admins profile instead of the profile you are on.
Lastly, write in the code to delete the temp file after the process is done to be clean:
REM [Delete Temp File]
del "%PROGRAMDATA%\Temp\Update3DSettings.reg"
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
You might be able to Create a Task to run the .bat in Task Scheduler to run it at startup/logon with elevated privileges instead of putting it in the startup folder.
You might be able to Create a Task to run the .bat in Task Scheduler to run it at startup/logon with elevated privileges instead of putting it in the startup folder.
Nothing goes in the startup folder. Here, the temp stuff will go in the temp folder located in the folder that is located when you first enter your c drive. (I hope I understood you correctly).
Nothing goes in the startup folder. Here, the temp stuff will go in the temp folder located in the folder that is located when you first enter your c drive. (I hope I understood you correctly).
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
I confirm that if you are using a non-admin account that it won't work by itself.
It's possible to do what you pointed to with the stackoverflow article, but we are adding a fair amount of complexity that no one has previously requested. I'm concerned about complexity because I can't be sure this will work on Windows 8 and 8.1.
The simplest answer is to make a shortcut of the BAT file, right click for Properties, choose Advanced, and check the Run as Administrator checkbox.
If you drop that shortcut into your startup folder, it will prompt for password, or just run if you are running as admin.
I confirm that if you are using a non-admin account that it won't work by itself.
It's possible to do what you pointed to with the stackoverflow article, but we are adding a fair amount of complexity that no one has previously requested. I'm concerned about complexity because I can't be sure this will work on Windows 8 and 8.1.
The simplest answer is to make a shortcut of the BAT file, right click for Properties, choose Advanced, and check the Run as Administrator checkbox.
If you drop that shortcut into your startup folder, it will prompt for password, or just run if you are running as admin.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607 Latest 3Dmigoto Release Bo3b's School for ShaderHackers
I haven't gotten around to creating my own base REG settings yet but my usual install involves shutting down, unplugging from my splitter/switch/RCVR, plugging directly into my TV to activate 3D Vision (3D Vision Ready DLP), and shutting down again to replace the cables. I'm hoping this may help to get around that.
I've been messing around with Admin/UAC, I'm running an administrator account and have UAC enabled, when anything is Run as Admin, the UAC prompt pops up, right-click Run as Admin or the Shortcut Run as Admin. What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing.
edit: I found a way around Startup 'ignoring' the Run as Admin Shortcut issue, first I tried creating a Shortcut to the Shortcut, apparently Windows doesn't let you do that, then I tried creating a .bat to run the Shortcut.lnk, that works but the Admin Password prompt would always wind up minimized in the taskbar, on the Admin account the UAC Y/N prompt pops up just fine. So I tried a bunch of different arguments/options, /MAX, /B, /I, etc nothing worked until I tried changing the priority. First I tried /REALTIME, it worked, then I tried /NORMAL and it seemed to work until I restarted Windows, so then I tried /HIGH and it seems to work just fine also ... I didn't bother trying any of the other lesser modes as /HIGH or /REALTIME should be fine.
Startup *.bat:
START "" "C:\PATH\TO\SHORTCUT\Shortcut.lnk" /REALTIME
... unfortunately I couldn't find an easy way to create a Shortcut, it would be nice to ECHO it also but it contains stuff other than text, but for the Startup *.bat you could have it ECHO to:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
Something like this:
[code]ECHO START "" "%cd%\Shortcut.lnk" /REALTIME> "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Startup.bat"[/code]Or this: ... as you like to do it. :)
[code]> "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Startup.bat" ECHO START "" "%cd%\Shortcut.lnk" /REALTIME[/code] ... pressuming the Shortcut is in the current directory.
I haven't gotten around to creating my own base REG settings yet but my usual install involves shutting down, unplugging from my splitter/switch/RCVR, plugging directly into my TV to activate 3D Vision (3D Vision Ready DLP), and shutting down again to replace the cables. I'm hoping this may help to get around that.
I've been messing around with Admin/UAC, I'm running an administrator account and have UAC enabled, when anything is Run as Admin, the UAC prompt pops up, right-click Run as Admin or the Shortcut Run as Admin. What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing.
edit: I found a way around Startup 'ignoring' the Run as Admin Shortcut issue, first I tried creating a Shortcut to the Shortcut, apparently Windows doesn't let you do that, then I tried creating a .bat to run the Shortcut.lnk, that works but the Admin Password prompt would always wind up minimized in the taskbar, on the Admin account the UAC Y/N prompt pops up just fine. So I tried a bunch of different arguments/options, /MAX, /B, /I, etc nothing worked until I tried changing the priority. First I tried /REALTIME, it worked, then I tried /NORMAL and it seemed to work until I restarted Windows, so then I tried /HIGH and it seems to work just fine also ... I didn't bother trying any of the other lesser modes as /HIGH or /REALTIME should be fine.
... unfortunately I couldn't find an easy way to create a Shortcut, it would be nice to ECHO it also but it contains stuff other than text, but for the Startup *.bat you could have it ECHO to:
[quote="bo3b"]I confirm that if you are using a non-admin account that it won't work by itself.
It's possible to do what you pointed to with the stackoverflow article, but we are adding a fair amount of complexity that no one has previously requested. I'm concerned about complexity because I can't be sure this will work on Windows 8 and 8.1.
The simplest answer is to make a shortcut of the BAT file, right click for Properties, choose Advanced, and check the Run as Administrator checkbox.
If you drop that shortcut into your startup folder, it will prompt for password, or just run if you are running as admin.[/quote]
What I did was separate what the users can change by 5 empty lines before and 5 empty lines after the registry codes. By that separation, ones eyes can just pinpoint what they need to actually deal with. I knew the shortcut method. But if the user wanted to move the bat, they'd have to redo the shortcut all over again each time they move it. However, dropping it in a startup folder would initiate it everytime though right? That would be tedious, especially when you won't have to change it unless you reinstall drivers.
What I have is a .vbs called START.vbs. This starts the bat file while at the same time, making the dos box invisible. Then the prompt will come up. After it is done, it points to an END.vbs file that makes a dialogue box come up saying 3D settings updated. It will disappear on its own after 3 seconds or you can make it disappear before then by pressing okay. The .vbs files use relative paths so if I move the file or folder everything is in, it all still works. Just sharing how I use it.
I mean, if you are worried about a user not knowing what to change, you can use that code in a first bat and then have that bat point to another bat with just the registry stuff and name it Edit.bat or something. But I didn't do it that way because I wanted as less files as possible.
"What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing."
I had that problem with RealTemp xD
bo3b said:I confirm that if you are using a non-admin account that it won't work by itself.
It's possible to do what you pointed to with the stackoverflow article, but we are adding a fair amount of complexity that no one has previously requested. I'm concerned about complexity because I can't be sure this will work on Windows 8 and 8.1.
The simplest answer is to make a shortcut of the BAT file, right click for Properties, choose Advanced, and check the Run as Administrator checkbox.
If you drop that shortcut into your startup folder, it will prompt for password, or just run if you are running as admin.
What I did was separate what the users can change by 5 empty lines before and 5 empty lines after the registry codes. By that separation, ones eyes can just pinpoint what they need to actually deal with. I knew the shortcut method. But if the user wanted to move the bat, they'd have to redo the shortcut all over again each time they move it. However, dropping it in a startup folder would initiate it everytime though right? That would be tedious, especially when you won't have to change it unless you reinstall drivers.
What I have is a .vbs called START.vbs. This starts the bat file while at the same time, making the dos box invisible. Then the prompt will come up. After it is done, it points to an END.vbs file that makes a dialogue box come up saying 3D settings updated. It will disappear on its own after 3 seconds or you can make it disappear before then by pressing okay. The .vbs files use relative paths so if I move the file or folder everything is in, it all still works. Just sharing how I use it.
I mean, if you are worried about a user not knowing what to change, you can use that code in a first bat and then have that bat point to another bat with just the registry stuff and name it Edit.bat or something. But I didn't do it that way because I wanted as less files as possible.
"What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing."
I had that problem with RealTemp xD
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers
My 3D Vision Gallery
Helix 3D Fixes
Win 7 x64
i7 4960X Extreme Edition
MSI Big Bang XPower II
2x EVGA Titan Z
Silverstone Evo 1200w
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers
Thanks for the script by the way!
My 3D Vision Gallery
Helix 3D Fixes
Win 7 x64
i7 4960X Extreme Edition
MSI Big Bang XPower II
2x EVGA Titan Z
Silverstone Evo 1200w
I figured it out. It was because I had the nvdia 3d checkbox happen before the registry stuff happened. But it didn't matter on my other machine. Maybe because my other machine was slower? Maybe it took too long opening the medical test that the registry entries had time to write before it initiated. Wierd. I moved the 3D checkbox activation to the bottom of the bat file and now it works without issue.
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
For anyone else reading the thread, that's how the original post code is set up as well, so you should be able to just save that code text in a .bat file, and run it after a driver install to reset everything. Works for both x64 and x86.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers
I moved to your format because it's one less file. However mine has trouble writing on my system but yours works fine on my system. Is it because of the brackets that I'm using beside the 'REMs'?
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
This makes no sense lol.
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
The example that you have above is incomplete, the actual regedit command is missing, so the BAT will make a temp file, but not execute it.
In general terms, the way to solve these sorts of problems is to narrow down what part is working and what isn't. And start with a simpler case to see if it works. So, for example, if you think the brackets might be the problem, delete all the comment lines (temporary test), and see if it works. If that still has the same symptom, you've ruled that out, and can look at something else.
In this case, the BAT creates a temp file with registry keys in it. Find that file and look at it to see if it's legit or somehow off. Use start menu, type in %temp%, and see what window it opens. Look for the Update3DSettings.reg file in that folder, and open it with a text editor.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers
Edit: I tried to give you the code but the website is blocking it from being posted. So I'll try and pm it to you. Edit 2: can't send it through pm either.
Here is the code (first codeblock):
http://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file
Then, you may want to change the temp file directory to %PROGRAMDATA%\Temp\Update3DSettings instead because when using the prompt, it automatically goes under the Admins profile instead of the profile you are on.
Lastly, write in the code to delete the temp file after the process is done to be clean:
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate
It's possible to do what you pointed to with the stackoverflow article, but we are adding a fair amount of complexity that no one has previously requested. I'm concerned about complexity because I can't be sure this will work on Windows 8 and 8.1.
The simplest answer is to make a shortcut of the BAT file, right click for Properties, choose Advanced, and check the Run as Administrator checkbox.
If you drop that shortcut into your startup folder, it will prompt for password, or just run if you are running as admin.
Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers
I've been messing around with Admin/UAC, I'm running an administrator account and have UAC enabled, when anything is Run as Admin, the UAC prompt pops up, right-click Run as Admin or the Shortcut Run as Admin. What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing.
edit: I found a way around Startup 'ignoring' the Run as Admin Shortcut issue, first I tried creating a Shortcut to the Shortcut, apparently Windows doesn't let you do that, then I tried creating a .bat to run the Shortcut.lnk, that works but the Admin Password prompt would always wind up minimized in the taskbar, on the Admin account the UAC Y/N prompt pops up just fine. So I tried a bunch of different arguments/options, /MAX, /B, /I, etc nothing worked until I tried changing the priority. First I tried /REALTIME, it worked, then I tried /NORMAL and it seemed to work until I restarted Windows, so then I tried /HIGH and it seems to work just fine also ... I didn't bother trying any of the other lesser modes as /HIGH or /REALTIME should be fine.
Startup *.bat:
START "" "C:\PATH\TO\SHORTCUT\Shortcut.lnk" /REALTIME
... unfortunately I couldn't find an easy way to create a Shortcut, it would be nice to ECHO it also but it contains stuff other than text, but for the Startup *.bat you could have it ECHO to:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
Something like this:
Or this: ... as you like to do it. :)
... pressuming the Shortcut is in the current directory.
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]
What I did was separate what the users can change by 5 empty lines before and 5 empty lines after the registry codes. By that separation, ones eyes can just pinpoint what they need to actually deal with. I knew the shortcut method. But if the user wanted to move the bat, they'd have to redo the shortcut all over again each time they move it. However, dropping it in a startup folder would initiate it everytime though right? That would be tedious, especially when you won't have to change it unless you reinstall drivers.
What I have is a .vbs called START.vbs. This starts the bat file while at the same time, making the dos box invisible. Then the prompt will come up. After it is done, it points to an END.vbs file that makes a dialogue box come up saying 3D settings updated. It will disappear on its own after 3 seconds or you can make it disappear before then by pressing okay. The .vbs files use relative paths so if I move the file or folder everything is in, it all still works. Just sharing how I use it.
I mean, if you are worried about a user not knowing what to change, you can use that code in a first bat and then have that bat point to another bat with just the registry stuff and name it Edit.bat or something. But I didn't do it that way because I wanted as less files as possible.
"What's even worse is when anything is put in the Startup folder and set to Run as Admin it's just downright ignored, there's no pop up ... there's nothing."
I had that problem with RealTemp xD
Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate