ISC-IT-Admin
asked on
How to enfore Network Connectivity before Window 7 Starts?
Dear Experts,
I have Windows 7 desktops joined to a domain.
All desktops are configured as Kiosk machine, PC boots, auto-login to the domain, then auto-connect through RDP.
I need to set up the network card to be up and connected before the OS is fully loaded.
All NICs are configured with Static IP Addresses.
The issue is when the OS is booting, it's giving an RDP error message, that can't find the computer on the network, I click ok, then it will re-connect successfuly.
How can I configure this using Group Policy?
Thank you and regaards,
I have Windows 7 desktops joined to a domain.
All desktops are configured as Kiosk machine, PC boots, auto-login to the domain, then auto-connect through RDP.
I need to set up the network card to be up and connected before the OS is fully loaded.
All NICs are configured with Static IP Addresses.
The issue is when the OS is booting, it's giving an RDP error message, that can't find the computer on the network, I click ok, then it will re-connect successfuly.
How can I configure this using Group Policy?
Thank you and regaards,
ASKER
Thank you databoks for the reply,
I have a script already in place which will launch the RDP file automatically.
Could you please advise, how can I add a 4 ping before the RDP file launch?
Clients and servers are on the same network subnet.
Please find the script for your reference:
-------------------------- ---------- ---------- ---------- ----------
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objShell = CreateObject("Wscript.Shel l")
Do While True
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'mstsc.exe'")
If colProcesses.Count = 0 Then
objShell.Run "mstsc.exe C:\Server.rdp"
End If
Wscript.Sleep 600
Loop
Thank you and regards,
I have a script already in place which will launch the RDP file automatically.
Could you please advise, how can I add a 4 ping before the RDP file launch?
Clients and servers are on the same network subnet.
Please find the script for your reference:
--------------------------
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objShell = CreateObject("Wscript.Shel
Do While True
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'mstsc.exe'")
If colProcesses.Count = 0 Then
objShell.Run "mstsc.exe C:\Server.rdp"
End If
Wscript.Sleep 600
Loop
Thank you and regards,
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
if the RDP connection is the problem I would suggest using scripting.
You can configure startup scripts that runs as soon Windows boots.
A script could be that you can ping the RDP IP/servername and if there is response then start RDP else wait 2-3 seconds and try again.
This is the most effective solution. If the RDP instance you are connecting to is on the same Network or within the corporate network this should not take much time.