eberhardt2329
asked on
Logon script for remote control
Hello,
My client would like me to input into the windows login scrip, for the login script to configure windows xp remote control. This will assist the techitians in beeing able to remote contol boxes. Thank you
Jason
My client would like me to input into the windows login scrip, for the login script to configure windows xp remote control. This will assist the techitians in beeing able to remote contol boxes. Thank you
Jason
ASKER
yes both are me, I had my father in laws account, and decided to buy my own. can you give me the layout of the batch file to accomplish what I am trying to do. Thank you, and how to add it to the login script I come from a novell background, and I am new to microsoft login scripts. Thank you
Jason
Jason
Create a new file, call this file login.bat (you can create this file with notepad) and start adding things within this file e.g.
net use u: \\servername\sharename
This creates a mapping to \\servername\sharename. You can do some more thing using a bat file. If you need more options (please post your intentions with the loginscript) you can use a .vbs script or Kixtart (http://www.kixtart.org). After creating the file, create a shortcut and place it in the start menu in the Start --> Programs --> Startup folder, then, if you start or take over a session, the bat file will be executed...
net use u: \\servername\sharename
This creates a mapping to \\servername\sharename. You can do some more thing using a bat file. If you need more options (please post your intentions with the loginscript) you can use a .vbs script or Kixtart (http://www.kixtart.org). After creating the file, create a shortcut and place it in the start menu in the Start --> Programs --> Startup folder, then, if you start or take over a session, the bat file will be executed...
ASKER
thank you for your comments. We have a global login script that executes when the users login to the domain. I need to know what the process is to configure the xp clients for remote control through the login script. a batch file sounds like a good idea, but what steps to take, I am sorry I do not know how to do this, but your help is greatly appreciated, anytime you need help with novell :)
Jason
Jason
Hi,
Is this global script some kind of .bat file?? What does this file do?? First off all me need to now what your objectives are with the login script... If we now that, we can create a good login script and after that, make sure that all users get that login script..
Is this global script some kind of .bat file?? What does this file do?? First off all me need to now what your objectives are with the login script... If we now that, we can create a good login script and after that, make sure that all users get that login script..
ASKER
this login script is global, and every user gets it. they get login mapped drives, registry changes etc. they want to be able to configure the xp remote control from this as well. what do you think?
Jason
Jason
I would say try to create a .bat file, add these lines..
net use f: \\servername\sharename
net use g: \\otherservername\othersha re
This creates the mappings...
After this, create the keys that need to be added using a .reg file (you can export this from Reg Editor) and in the .bat file create another line like
call regchange.reg
This changes the reg key...
>>they want to be able to configure the xp remote control from this as well<<
What exactly do you men by this
net use f: \\servername\sharename
net use g: \\otherservername\othersha
This creates the mappings...
After this, create the keys that need to be added using a .reg file (you can export this from Reg Editor) and in the .bat file create another line like
call regchange.reg
This changes the reg key...
>>they want to be able to configure the xp remote control from this as well<<
What exactly do you men by this
ASKER
they want to be able to remnote control the windows xp machines with windows xp remote that is built into windows xp. They want me to put something in the login script to get this working, and be able to have it working after they login. so the techs can remote control workstations.
Jason
Jason
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
rhandels,
Thank you so much for teh url this will really help me in understanding teh remote control with xp. I do see above that I need to make a batch file, and put net use f: \\servername\sharename and at the share name I put the .reg file. I need a liitle help in putting this in the login script. I am sorry I am new to this, I have been working with Novell for the past 5 years. Below is a copy of a part of teh login script, can you tell me how I would do this same thing and make it so that every iser would get this reg change when they login to enable remote control. Thank you so much.
; REM ** Enables DNS if $Enable9xDNS is set to 1 on Windows 9x
Select
Case (($OS = "WinNT4") OR ($OS = "Win2k"))
; REM ** This Setting only affects the Windows 9x Platform
$Status = $abortstr
Return
Case (($OS = "Win95") OR ($OS = "Win98"))
$EnableDNS = ReadValue("HKEY_LOCAL_MACH INE\System \CurrentCo ntrolSet\S ervices\Vx D\MSTCP", "EnableDNS")
If $EnableDNS <> "1"
$Dummy = WriteLine (10, "Enabling DNS Setting on Workstation." + @CRLF)
$Dummy = WriteValue ("HKEY_LOCAL_MACHINE\Syste m\CurrentC ontrolSet\ Services\V xD\MSTCP", "EnableDNS", "1", "REG_SZ")
$Dummy = WriteValue ("HKEY_LOCAL_MACHINE\Syste m\CurrentC ontrolSet\ Services\V xD\MSTCP", "HostName", "@WkSta", "REG_SZ")
$EnableDNS=1
$Reboot = "DNS"
$Dummy = WriteLine (10, "Updated DNS Enabled Settings." + @CRLF)
$Dummy = WriteLine (10, "HostName set to: " + @WkSta + @CRLF)
$Status = $updatestr
Else
$Dummy = WriteLine (10, "DNS is Enabled." + @CRLF)
$Status = $okstr
EndIf
Case 1
$Dummy = WriteLine (10, "Operating System does not require DNS to be enabled." + @CRLF)
$Status = $abortstr
Return
EndSelect
Return
Thank you so much for teh url this will really help me in understanding teh remote control with xp. I do see above that I need to make a batch file, and put net use f: \\servername\sharename and at the share name I put the .reg file. I need a liitle help in putting this in the login script. I am sorry I am new to this, I have been working with Novell for the past 5 years. Below is a copy of a part of teh login script, can you tell me how I would do this same thing and make it so that every iser would get this reg change when they login to enable remote control. Thank you so much.
; REM ** Enables DNS if $Enable9xDNS is set to 1 on Windows 9x
Select
Case (($OS = "WinNT4") OR ($OS = "Win2k"))
; REM ** This Setting only affects the Windows 9x Platform
$Status = $abortstr
Return
Case (($OS = "Win95") OR ($OS = "Win98"))
$EnableDNS = ReadValue("HKEY_LOCAL_MACH
If $EnableDNS <> "1"
$Dummy = WriteLine (10, "Enabling DNS Setting on Workstation." + @CRLF)
$Dummy = WriteValue ("HKEY_LOCAL_MACHINE\Syste
$Dummy = WriteValue ("HKEY_LOCAL_MACHINE\Syste
$EnableDNS=1
$Reboot = "DNS"
$Dummy = WriteLine (10, "Updated DNS Enabled Settings." + @CRLF)
$Dummy = WriteLine (10, "HostName set to: " + @WkSta + @CRLF)
$Status = $updatestr
Else
$Dummy = WriteLine (10, "DNS is Enabled." + @CRLF)
$Status = $okstr
EndIf
Case 1
$Dummy = WriteLine (10, "Operating System does not require DNS to be enabled." + @CRLF)
$Status = $abortstr
Return
EndSelect
Return
Hi,
I'm going on holiday, need to look into this when i get back.. Will be in two weeks.. Or try to add a new question which links here.
Regards,
Raymond
I'm going on holiday, need to look into this when i get back.. Will be in two weeks.. Or try to add a new question which links here.
Regards,
Raymond
I would say create a simple login script using a .bat file and put the script within the Startup folder of your startmenu, then the login script will be processed.
Another solution is to create the .bat file and place it on the desktop. Then, if a user takes over the server, they can click the bat file..