Search found 15 matches

by casaestrada
Tue Jun 12, 2012 10:56 am
Forum: Other Scripting Languages
Topic: netsh wlan add
Replies: 1
Views: 13578

netsh wlan add

I'm getting "undetermined string constant "

Code: Select all

WSHShell.Run "Netsh wlan add profile filename=""xxxxxxxxxxxxxxxxxxx.xml""user=all >>C:xxxxx.txt"
even if i
remove user=all >>C:xxxxx.txt"
or
add WSHShell.Run "Netsh wlan add profile filename=""xxxxxxxxxxxxxxxxxxx.xml user=all""

i get same error
by casaestrada
Tue Jun 12, 2012 9:50 am
Forum: Other Scripting Languages
Topic: netsh wlan add
Replies: 1
Views: 13578

netsh wlan add

I have an HTA that I am trying to modify which will allow my staff to simply select a location via check and then using sub wireless will automatically load the xml from a network drive. Problem is I can do this via vbs and bat but from hta i cant get the correct parameters to work. Any ideas?? Shou...
by casaestrada
Mon Nov 28, 2011 1:49 pm
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

My problem with all my scripts running on Windows 7 with UAC is fixed. Dont know why you are are taking offense - :) my problem is solved aka sorted. Thanks
by casaestrada
Mon Nov 28, 2011 12:34 pm
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

I never said I had a bginfo issues per say- i said it was UAC issue. Regardless -I found a way to bypass the windows 7 UAC ...thanks Vierra.answer: use a batch file then call your script e.g.@echo offset __COMPAT_LAYER=RunAsInvoker
start regedit.exe servernameNETLOGONchange.reg /s
by casaestrada
Mon Nov 28, 2011 8:39 am
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

I did read the documentation JVierra...as i stated early- the script runs without prompting my users in Windows XP however it asks my users for confirmation to run bginfo in windows 7. This is obviously indicative of Windows UAC. I just asked if there was another method that someone may know to get ...
by casaestrada
Mon Nov 28, 2011 5:57 am
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

I'm running a long login script and its not an error. Its with bginfo and every time I run it in windows 7 my users get a prompt to confirm running bginfo.exe. On windows Xp, it works flawlessly. Declare Variables and constants Dim objShell, objFSO, intErrorCode 'Create objects Set objShell = Create...
by casaestrada
Sun Nov 27, 2011 3:42 pm
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

So besides removing UAC is there anyway to run scripts via windows 7?? I'm struggling with vbs hta wmi cmd kix scripts on windows 7.
by casaestrada
Sun Nov 27, 2011 2:49 pm
Forum: VBScript
Topic: Windows 7 UAC
Replies: 9
Views: 5766

Windows 7 UAC

Anyone know how to run the following via vbs script: SET __COMPAT_LAYER=RunAsInvoker I am trying to run an executable script but darn Windows 7 UAC prompts my users. This command is a way to run without the prompt but I am not sure how to run via vbs script. Hopefully someone knows a better method.
by casaestrada
Fri Aug 28, 2009 2:15 am
Forum: Other Scripting Languages
Topic: Proxy IE Exceptions
Replies: 2
Views: 4183

Proxy IE Exceptions

Under Internet exporer toolsconnections lan settings you can place Proxy server as well as exceptions to bypass proxy server.....

Group policy can do this but we are having group policy issues at moment
by casaestrada
Fri Aug 28, 2009 1:26 am
Forum: Other Scripting Languages
Topic: Proxy IE Exceptions
Replies: 2
Views: 4183

Proxy IE Exceptions

I am trying to create an HTA for my users to check if they have IE proxy enabled most importantly if they have IE Exceptions.. if no to both it will automate this for them. I found out how to do first part but can't get IE exceptions auto populated. <html> <head> <title>Proxy Switcher</title> <hta:a...