twinnis Posted February 21, 2006 Share Posted February 21, 2006 Hi. The command that send registry changes to remote computers works fine, but is it possible to implement a variable for computername?` Something like this only to describe what I want. Because this script dont work. Dim &Computer &Computer = Inputbox("Type remote computername", "Computername", "") RegWrite(\\&Computer\"HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test") /Twinnis Link to comment Share on other sites More sharing options...
Dirk Diggler Posted February 21, 2006 Share Posted February 21, 2006 try thisDim $Computer$Computer = Inputbox("Type remote computername", "Computername", "")RegWrite("\\" & $Computer & "\HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test") Link to comment Share on other sites More sharing options...
twinnis Posted February 21, 2006 Author Share Posted February 21, 2006 try thisThanks a lot. /Twinnis Link to comment Share on other sites More sharing options...
Skizz Posted March 8, 2006 Share Posted March 8, 2006 What if this doesn't work? I get the message box, but it never goes and connects to the registry. I really need something that can remotly connect to HKCU hive but I don't know if it can be done. Thanks for all your help! This board is great! Link to comment Share on other sites More sharing options...
Skizz Posted March 9, 2006 Share Posted March 9, 2006 Bueler.... Bueler.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now