I am still having problems copying a file(.lnk) to the all users desktop. Acualy I get the same error when copying to any profile folder. The OS is XP and the error is "Permission denied". All I am doing is a simple Fso.Copyfile, I do not understand. I can copy to other folders on in the system...
In this script I am writing, I need to copy a lnk from a share to the all users desktop. When the script runs I get an error "Permission Denied". I have not been able to figure this one out. any ideas?
The line is as below
FSO.CopyFile "\\south01\mtmm\Microtype_Network.lnk",_ strDesktop...
I am trying to deploy the EPO agent Via VBScript (FramePkg.exe). On some machines the blue icon does not apprear. Is there something possibly wrong with the epo client or is it just running in the background?
I have a script I found and modified. I need it to stop the wuauserv service change some reg settings then start the service on a remote computer. The script stops/starts the remote service but does not change the remote computers reg settings. I have done some research on this but it is a...
Hello, I am trying to delete some registry keys and I am recieving errors. I have used this method before, but with only one or two at a time. This is the second time I have had this problem. The error said it was unable to delete keys. Is there a better way to delete reg keys. I have verified...
Thank you for your input. I found two lines that seem to reboot the system fine. Here is the code I found. Let me know if there is wrong with using this.
Set WSHShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"
RL
Hello everyone,
I have a script ready to deploy, but I would like to add the ability to reboot the computer. I would like to prompt the user to reboot and if they click yes then reboot the computer. If this is not to difficult, could someone provide an example. Thank-You
oh, We are talking...
Ok this is what I have. The problem I have is in the If statement. I need it to compare to valuesb ut I is not working. It apears to be only looking at the first value sOSType and not sSPtype. I am so close but then so far.
If sOStype = "5.1" & sSPtype = "Service Pack 1" Then...
The way I see this, is I need to find the reg key that defines the service pack and add this to the case selection. Does this sound like I may be on the right track.
----------------------------------------------------
Set oWshShell = WScript.CreateObject("WScript.Shell")
GetOSType = 0...
Hello All,
For some time I have been using a script that determines the OS type then runs the correct code for the OS. I now need to deploy several updates that are Service Pack specific. The updates I need to deploy for example: Update 1 can run if 2k has sp3 or better, if the service pack...
Hello, I have another simple question, which has been haunting me. I am using the WshShell.Run command in a script to install three small applications. The script works great except that all three installs are running at the same time. How can I get the script to pause and wait for the previous...
Recently I replaced a Netgear with 3COM Office Connect. All the login issues were gone after the swap. But, this is not a usful solution for me. We have several Netgears in multiple locations. I have also narrowed the issue down to a certain model of Laptop. To summerize, There is a problem with...
Hello, I am fairly new to wireless technology but have been learning more everyday. We are using Netgear ProSafe access points. I am having diff issues in three locations, but I think may be related. At location #1 we are having problems at the Novell login. If connected via patch cable, we...
Xift, Thank you. This gives me a great start. I did notice another issue I will have with this script. How can I get the script to change/increment the table number for each line added? For example: [530005_e]: 8), [530005_e]: 9),[530005_e]: 10) ect. Is this even possible? It would have to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.