scripti..yanlıs yazdım sanırım..onu da yukarıda verdim.İngilizce olan..reg kaydı biçiminde regedite ekleyecektim ama basaramadım.
device=C:\PROGRA~1\ALWILS~1\Avast4\aswmonds.sys bu satırı CONFİG.NT dosyasından silip ingilizce registry degerini kayıt defterine ekleyin demis..tercümesini böyle yaptım..ama ekleyemedim..eklemek istedigimde gözüken hata yine yukarıda yazdıgım sekilde.
kayıt girdileri dosyası
- burak_dalkir
- Gigabyte2

- Mesajlar: 2208
- Kayıt: 15 Mar 2006, 10:10
- cinsiyet: Erkek
- Teşekkür edildi: 1 kez
- İletişim:
birde bu sekilde deneyebilirmisiniz? yalniz reg olarak kaydedin birdeWindows Registry Editor Version 5.00
"C:\Program Files\Alwil Software\Avast4\aswMonVd.dll"
into the the REG_MULTI_SZ value VDD under the key
HKLM\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers
Note that if you want to create the above registry file yourself, it
*must* be created as a Unicode file and not an ASCII file.
Also, the registry file will overwrite any existing value in the VDD
value (*not* good), and it will not care if you have another program
files path than "C:\Program Files".
See script below that is much safer to use than the registry file, it
will not overwrite any existing values, and it will use the correct
program files path in all cases. Put the script in a file named e.g.
Avast.vbs, and double click on it to run it.
So I will guess Avast's solution is that you need to delete the
"device=C:\PROGRA~1\ALWILS~1\Avast4\aswmonds.sys" line in CONFIG.NT
yourself, and then add the already discussed registry value to the
registry.
'--------------------8<----------------------
Const HKLM = &H80000002
strToTestOn = "\Avast4\aswMonVd.dll"
strToAddIfNecessary = CreateObject("WScript.Shell").ExpandEnvironmentStrings _
("%PROGRAMFILES%\Alwil Software\Avast4\aswMonVd.dll")
' Only continue if the file exist:
If Not CreateObject("Scripting.FileSystemObject").FileExists( _
strToAddIfNecessary) Then
MsgBox "File " & strToAddIfNecessary & " not found", _
vbCritical + vbSystemModal, "Avast SP2 fix"
WScript.Quit
End If
strKeyPath = "SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers"
strValueName = "VDD"
strComputer = "." ' "use "." for local computer
Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\default:StdRegProv")
objReg.GetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
If IsArray(arrValues) Then
' create string from array, easier to check for existence this way
strValues = "|" & Join(arrValues, "|") & "|"
Else
arrValues = Array()
strValues = ""
End If
If InStr(1, strValues, strToTestOn, vbTextCompare) = 0 Then
' entry is not in array, add it
intArrCount = UBound(arrValues) + 1
ReDim Preserve arrValues(intArrCount)
arrValues(intArrCount) = strToAddIfNecessary
objReg.SetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
End If
MsgBox "Done!", vbInformation + vbSystemModal, "Avast SP2 fix"
- velociraptor
- Yottabyte4

- Mesajlar: 53987
- Kayıt: 14 Mar 2006, 02:33
- cinsiyet: Erkek
- Teşekkür etti: 19832 kez
- Teşekkür edildi: 11995 kez
- burak_dalkir
- Gigabyte2

- Mesajlar: 2208
- Kayıt: 15 Mar 2006, 10:10
- cinsiyet: Erkek
- Teşekkür edildi: 1 kez
- İletişim:
- skinnycem
- Kilobyte4

- Mesajlar: 669
- Kayıt: 19 Mar 2006, 18:32
- cinsiyet: Erkek
- Teşekkür etti: 2 kez
- Teşekkür edildi: 1 kez
tümü asagıdaki gibidir.
The registry entry above will put the hard coded value
"C:\Program Files\Alwil Software\Avast4\aswMonVd.dll"
into the the REG_MULI_SZ value VDD under the key
HKLM\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers
Note that if you want to create the above registry file yourself, it
*must* be created as a Unicode file and not an ASCII file.
Also, the registry file will overwrite any existing value in the VDD
value (*not* good), and it will not care if you have another program
files path than "C:\Program Files".
See script below that is much safer to use than the registry file, it
will not overwrite any existing values, and it will use the correct
program files path in all cases. Put the script in a file named e.g.
Avast.vbs, and double click on it to run it.
So I will guess Avast's solution is that you need to delete the
"device=C:\PROGRA~1\ALWILS~1\Avast4\aswmonds.sys" line in CONFIG.NT
yourself, and then add the already discussed registry value to the
registry.
'--------------------8<----------------------
Const HKLM = &H80000002
strToTestOn = "\Avast4\aswMonVd.dll"
strToAddIfNecessary = CreateObject("WScript.Shell").ExpandEnvironmentStrings _
("%PROGRAMFILES%\Alwil Software\Avast4\aswMonVd.dll")
' Only continue if the file exist:
If Not CreateObject("Scripting.FileSystemObject").FileExists( _
strToAddIfNecessary) Then
MsgBox "File " & strToAddIfNecessary & " not found", _
vbCritical + vbSystemModal, "Avast SP2 fix"
WScript.Quit
End If
strKeyPath = "SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers"
strValueName = "VDD"
strComputer = "." ' "use "." for local computer
Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\default:StdRegProv")
objReg.GetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
If IsArray(arrValues) Then
' create string from array, easier to check for existence this way
strValues = "|" & Join(arrValues, "|") & "|"
Else
arrValues = Array()
strValues = ""
End If
If InStr(1, strValues, strToTestOn, vbTextCompare) = 0 Then
' entry is not in array, add it
intArrCount = UBound(arrValues) + 1
ReDim Preserve arrValues(intArrCount)
arrValues(intArrCount) = strToAddIfNecessary
objReg.SetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
End If
MsgBox "Done!", vbInformation + vbSystemModal, "Avast SP2 fix"
The registry entry above will put the hard coded value
"C:\Program Files\Alwil Software\Avast4\aswMonVd.dll"
into the the REG_MULI_SZ value VDD under the key
HKLM\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers
Note that if you want to create the above registry file yourself, it
*must* be created as a Unicode file and not an ASCII file.
Also, the registry file will overwrite any existing value in the VDD
value (*not* good), and it will not care if you have another program
files path than "C:\Program Files".
See script below that is much safer to use than the registry file, it
will not overwrite any existing values, and it will use the correct
program files path in all cases. Put the script in a file named e.g.
Avast.vbs, and double click on it to run it.
So I will guess Avast's solution is that you need to delete the
"device=C:\PROGRA~1\ALWILS~1\Avast4\aswmonds.sys" line in CONFIG.NT
yourself, and then add the already discussed registry value to the
registry.
'--------------------8<----------------------
Const HKLM = &H80000002
strToTestOn = "\Avast4\aswMonVd.dll"
strToAddIfNecessary = CreateObject("WScript.Shell").ExpandEnvironmentStrings _
("%PROGRAMFILES%\Alwil Software\Avast4\aswMonVd.dll")
' Only continue if the file exist:
If Not CreateObject("Scripting.FileSystemObject").FileExists( _
strToAddIfNecessary) Then
MsgBox "File " & strToAddIfNecessary & " not found", _
vbCritical + vbSystemModal, "Avast SP2 fix"
WScript.Quit
End If
strKeyPath = "SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers"
strValueName = "VDD"
strComputer = "." ' "use "." for local computer
Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\default:StdRegProv")
objReg.GetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
If IsArray(arrValues) Then
' create string from array, easier to check for existence this way
strValues = "|" & Join(arrValues, "|") & "|"
Else
arrValues = Array()
strValues = ""
End If
If InStr(1, strValues, strToTestOn, vbTextCompare) = 0 Then
' entry is not in array, add it
intArrCount = UBound(arrValues) + 1
ReDim Preserve arrValues(intArrCount)
arrValues(intArrCount) = strToAddIfNecessary
objReg.SetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
End If
MsgBox "Done!", vbInformation + vbSystemModal, "Avast SP2 fix"
- burak_dalkir
- Gigabyte2

- Mesajlar: 2208
- Kayıt: 15 Mar 2006, 10:10
- cinsiyet: Erkek
- Teşekkür edildi: 1 kez
- İletişim:
en basiti kirmizi ile isaretledigim yer MULTI olacak MULI degil diger taraflarinada baktim ama mayhemious script yaziyordu sanirim birde o bakarsa scriptyazan insanlar daha dikkatli olur bu gibi konularda.skinnycem yazdı:tümü asagıdaki gibidir.
The registry entry above will put the hard coded value
"C:\Program Files\Alwil Software\Avast4\aswMonVd.dll"
into the the REG_MULI_SZ value VDD under the key
HKLM\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers
