Logon Script for Registry Setting

mipoukmipouk Member Posts: 37 ■■□□□□□□□□
Hi guys,

I have been tasked with adding some registry changes to our logon script for Group Policy Slow Detection.

Ive got the registry key paths and values that need to be set however i cant get the logon.vbs to actually do anything or add the value. Below is what I have found from googling the problem.

'Set objWshShell = WScript.CreateObject("WScript.Shell")
'Set WshShell = WScript.CreateObject("WScript.Shell")
'WshShell.RegWrite "HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\GroupPolicyMinTransferRate",0, "REG_DWORD"

Im not sure whether I need the top line or not but can anyone see why no key gets added?

( We want the slow link detection set to zero so that all domain users get the bginfo, and other GPOs)

Thanks,

Comments

Sign In or Register to comment.