Microsoft
Software
Hardware
Network
Question : Windows 7 Logon Script - Permission Errors - Route Add etc
Hi there,
We've been using .BAT logon scripts for years and they've worked fine. We're slowing moving over to Windows 7, so I'm converting the old scripts to .VBS scripts.
I've had loads of problems with mapped drives, replacing the hosts file etc, but I've sorted all of them now.
The current problem I have is adding entries to the route table. I'm using this command in the VBS script:
1:
Set objExecObject = objShell.Exec(route add -p 193.32.76.1 mask 255.255.254.0 193.32.73.252")
The command seems fine, but doesn't add the entry to the route table for non-administrators.
Does anyone know how to get around this? Either with a login in script, or some other way of globally adjusting the routing table on each computer without making the users local administrators?
Running a Windows 2003 domain with XP and 7 clients.
Thanks!
Answer : Windows 7 Logon Script - Permission Errors - Route Add etc
Go for false rather than true. The first form that is not read (not checked) is where you focus.
If Not Me.Check1 Then
Me.Page1.SetFocus
ElseIf Not Me.Check2 Then
Me.Page2.SetFocus
...
Else ' last page does not need test
Me.PageX.SetFocus
End If
Random Solutions
SSRS Combine two datasets into one data region - Must be in report not in SQL server
Datareader object is already open message
PHP/MySQL GROUP BY in query
I want to refresh the desktop in C#, I try to use IActiveDesktop::ApplyChang
es but IActiveDesktop alias is not found as C# underlines it. What should I do?
PHP: Accessing function from class
Discrete Math, Big O, Little o
10g form won't commit.
I have designed an website in flash as well in html, if the browser dont have flash then i want them to be directed to the html version, or else they need to directed to flash version
Using a hyperlink in a form to open another form with that record's data
Sonicwall E5500 bandwidth/shaping vs Packetlogic PL5600