Avatar of ccsboe
ccsboeFlag for United States of America

asked on 

Appliying registry settings to current users profiles.

I have three registry settings that i need to apply to all of my users. I found a Microsoft artical on how to do this but it is not working. I do not know what i am missing. Here is a link to the aritical that i am using. http://support.microsoft.com/kb/823586/en-us 
Windows OSMicrosoft OfficeOperating Systems

Avatar of undefined
Last Comment
ccsboe
Avatar of ManicD
ManicD
Flag of United Kingdom of Great Britain and Northern Ireland image

Create the relevant reg file and script file.
Add them both to yoru domains sysvol folder, to propergate them throughout the domain.
use group policy to run them once on login.
Avatar of __Vortex__
__Vortex__
Flag of United Kingdom of Great Britain and Northern Ireland image

have you created a text file with the following text in it, and then renamed it to DisableCTF.REG :
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "ctfmon.exe"=-
[HKEY_CURRENT_USER\Software\Microsoft\CTF] "Disable Thread Input Manager"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\CTF\MSUTB] "ShowDeskBand"=dword:00000000

Also created a batch file with the following command, name it updatereg.bat:
REGEDIT -s DisableCTF.REG

put both files in the same folder, then execute the updatereg.bat file.
Avatar of ccsboe
ccsboe
Flag of United States of America image

ASKER

Yes i have it setup like that is a GPO under User Config.\Windows Settings\Logon Scripts. I have applied it to my user account and i still have the hand writing tools.
Avatar of __Vortex__
__Vortex__
Flag of United Kingdom of Great Britain and Northern Ireland image

Have you checked the registry on one of the PCs to make sure the change has been made?

The PC might need a reboot.
Avatar of ccsboe
ccsboe
Flag of United States of America image

ASKER

I have checked the users ntuser.dat and the registry changes have not been applied. This is on a windows 2003 box in a terminal service box. I am wondering if it is a permissions issue.
Avatar of __Vortex__
__Vortex__
Flag of United Kingdom of Great Britain and Northern Ireland image

try logging in as a administrator and manually running the script on the server.
make sure to make any backups.
Avatar of ccsboe
ccsboe
Flag of United States of America image

ASKER

Ok i ran a RSOP and it is being applied but i found an error in the event log. "Execution of GPO scripts has timed out and have been terminated." What could be causing this to time out?
Avatar of __Vortex__
__Vortex__
Flag of United Kingdom of Great Britain and Northern Ireland image

Is this happening on a Windows XP computer? Have you tried updating it to the latest service pack. I understand there was a fix in SP2 for users having similar problems.

Other possible solutions:
1) This could occur if the computer account was not created correctly. Try moving the computer to a workgroup and then back to the domain. Make sure the computer is on the right OU. When authenticated the computer will be added to the authenticated users group.

2) If the logon script is trying to connect to a network share and the user does not have permission to access it, the script will timeout.

3) The defualt timout is 10 minutes (600 seconds). You could try increasing the timeout:
http://technet2.microsoft.com/WindowsServer/en/library/32571e90-831b-4e88-8aa7-d6999f291c6d1033.mspx?mfr=true
ASKER CERTIFIED SOLUTION
Avatar of ccsboe
ccsboe
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ccsboe
ccsboe
Flag of United States of America image

ASKER

This is what i was needing. Thanks for everyones help.
dim strComputer
 
' Read computer name from argument supplied - if no argument, assume local machine
if WScript.Arguments.Count<1 then
	strComputer="."
else
	strComputer=WScript.Arguments(0)
end if
 
Const HKEY_CURRENT_USER = &H80000001
Const HKEY_LOCAL_MACHINE = &H80000002
dim oReg: Set oReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
 
oReg.SetStringValue HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Run","ctfmon.exe","ctfmon.exe"
oReg.SetDWORDValue HKEY_CURRENT_USER,"Software\Microsoft\CTF","Disable Thread Input Manager",1
oReg.SetDWORDValue HKEY_CURRENT_USER,"Software\Microsoft\CTF\MSUTB","ShowDeskBand",0

Open in new window

Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo