regedit

how can I run an app automatic after restart?

心已入冬 提交于 2019-11-30 05:17:59
how can I run an app automatic after restart? (by c# code) I create A new string in 'runOnce' key in registry with the path of the App. the OS run this APP before it load the OS my problem is: My APP loads but explorer doesn't load, after I close my APP, explorer loads I restart the computer in APP, and after restart I want that my APP reopen When you click restart from your app, make the following modifications to the registry: Create an entry in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry branch. Use Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\Windows\

How to do RegAsm so that it cover 32-bit and 64-bit?

廉价感情. 提交于 2019-11-29 13:09:51
I have a DLL file prepared by C# and my system is Windows 7 64-bit. When i apply the RegAsm its not adding the registry to 64-bit path but only adding it to 32-bit path. "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe" /register /codebase "C:\o.dll" then if i check my GUID in regedit.exe i see that i have it only in 32-bit registry path: HKEY_CLASSES_ROOT\CLSID\{... my guid is found here ....} instead of HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{... not found my guid ...} As a result i have other issues for this. Can anyone please suggest what is going on and why its not making 32-bit

how can I run an app automatic after restart?

蓝咒 提交于 2019-11-29 03:23:12
问题 how can I run an app automatic after restart? (by c# code) I create A new string in 'runOnce' key in registry with the path of the App. the OS run this APP before it load the OS my problem is: My APP loads but explorer doesn't load, after I close my APP, explorer loads I restart the computer in APP, and after restart I want that my APP reopen 回答1: When you click restart from your app, make the following modifications to the registry: Create an entry in HKLM\SOFTWARE\Microsoft\Windows

How to launch Windows' RegEdit with certain path?

五迷三道 提交于 2019-11-28 04:53:30
How do I launch Windows' RegEdit with certain path located, like " HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0 ", so I don't have to do the clicking? What's the command line argument to do this? Or is there a place to find the explanation of RegEdit's switches? There's a program called RegJump , by Mark Russinovich, that does just what you want. It'll launch regedit and move it to the key you want from the command line. RegJump uses (or at least used to) use the same regedit window on each invoke, so if you want multiple regedit sessions open, you'll still have to do things the old

How can I enable Assembly binding logging?

别等时光非礼了梦想. 提交于 2019-11-28 03:39:41
I'm getting, "Could not load file or assembly 'Bla' or one of its dependencies. An attempt was made to load a program with an incorrect format." A portion of the detailed info says: "WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]." So, thinking this may give me some insight in why I'm getting the

lsass.exe病毒木马手工清除方法

倾然丶 夕夏残阳落幕 提交于 2019-11-28 01:52:02
病毒症状 进程里面有2个lsass.exe进程,一个是system的,一个是当前用户名的(该进程为病毒).双击本地磁盘D:打不开,只能通过右击选择打开来打开.用瑞星扫描可以扫描出来,并且可以杀掉.但是重启后又有两个lsass.exe进程.该病毒是一个木马程序,中毒后会在D盘根目录下产生command.com和autorun.inf两个文件,同时侵入注册表破坏系统文件关联.该病毒修改注册表启动RUN键值,指向LSASS.exe,修改HKEY_CLASSES_ROOT下的.exe,exefile键值,并新建windowfile键值.将exe文件打开链接关联到其生成的病毒程序%SYSTEM/EXERT.exe上. 该病毒新建如下文件: c:/program files/common files/INTEXPLORE.pif c:/program files/internet explorer/INTEXPLORE.com %SYSTEM/debug/debugprogram.exe %SYSTEM/system32/Anskya0.exe %SYSTEM/system32/dxdiag.com %SYSTEM/system32/MSCONFIG.com %SYSTEM/system32/regedit.com %SYSTEM/system32/LSASS.exe %SYSTEM

Inno Setup Creating registry key for logged in user (not admin user)

谁都会走 提交于 2019-11-27 15:55:07
I'm trying to create an installer using Inno setup when I encounter this problem, everything else is being installed, but the registry keys are not being installed in the current user, I can't find it in the HKEY_CURRENT_USER . But when I try to run the Regedit as Administrator, the registry is installed there. I have UAC turned on and validating with an admin account for the install to run, why is that happening? Here's my Registry section [Registry] Root: HKCU; Subkey:Software; Flags: uninsdeletekey; ValueName:ABS; ValueType:string; ValueData:ABS; Root: HKCU; Subkey:Software\Microsoft\Office

How to launch Windows' RegEdit with certain path?

浪子不回头ぞ 提交于 2019-11-27 05:27:52
问题 How do I launch Windows' RegEdit with certain path located, like " HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0 ", so I don't have to do the clicking? What's the command line argument to do this? Or is there a place to find the explanation of RegEdit's switches? 回答1: There's a program called RegJump, by Mark Russinovich, that does just what you want. It'll launch regedit and move it to the key you want from the command line. RegJump uses (or at least used to) use the same regedit

How can I enable Assembly binding logging?

☆樱花仙子☆ 提交于 2019-11-27 00:08:31
问题 I'm getting, "Could not load file or assembly 'Bla' or one of its dependencies. An attempt was made to load a program with an incorrect format." A portion of the detailed info says: "WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM

Modifying registry to increase GPU timeout, windows 7

瘦欲@ 提交于 2019-11-26 16:35:28
Im trying to increase the timeout on the GPU from its default setting of 2 seconds to something a little longer. I found the following link but it appears its slightly different in windows 7 as i cant see anything mentioned in the webpage. Has anyone done this before? If so could you fill in the gaps please. Thanks @RoBik so as follows if i want 6 days (bit excessive i know but just for example)? Thanks again for your help, +1. EDIT This is the error im currently getting. An error has occured and the operation has been terminated. CUDA.NET exception: ErrorLaunchTimeOut. Stack Trace for above