Hi Mark,
I'm trying to CONVERT a batch file script to a VB SCRIPT and I'm a little lost....
Here is the BATCH FILE SCRIPT.
NET USE K: \\Z02APIMCF02\CRISTEST Password1 /User:dc1\CAD
Try to help me on this please.
Thanks,
Hi All,
I need a simple vbscript that can Export User Accounts from AD to a spread sheet. I need to send these accounts to our HQ home office. Any simple script out there??
I want take a minute to thank you for all hard work and knowledge that you've freely given to millions around the world. You make us look good! Thanks again and don't stop giving others what you have. It's good to give.
I just ordered the(Admin Script Pack) book and I didn't need to...
Mark,
It uses drive M: and even though the script deletes the drive it's remapped when a user logs in.
Is there a way to prevent the script from deleting this particular drive if found and map it if not found??
Hi Mark,
I've an old NT 4.0 server running an old DOS based application. For some reason users cannot run it after launching the script. Is there any part of the script to edit to allow the app to run as usual. When users click on the apps desktop icon, you get a quick flash and then it...
In the meantime, while waiting to get access to the GPO..how I can code this script to open the welcome message window in the beginning of the script? The script is not visible to end users as such.. it's running in a min/window on the system tray, but even though it's minimized users tend to...
Mark,
My script is not in a GPO yet and it's unlikely it will be put there. Our org has many others OU's and for me to manage the script it's best not to have the script placed in a GPO... reasons being if I need to change anything, I have to call enterprise group for that, ... in a Netlogon...
Hi Mark,
Sorry it took so long to come back and post the results.
The script is working great and my users are loving me more and more, especially when their names are mentioned "good morning/evening and so on. The only part I'd like to edit in the html popup window. I would like this message...
Sorry,
I got your August 13th response but I got carried away by other problems. I've time now to devote to vb scripting and a good reason to justify the study guide expense.
My DNS Name is Medstarcorp.com
I would like to hard code domain information into the function to overcome this...
I'm still have some problems on connected drives.
If a user happens to login and then logoff, an error is generated stating that
1. " The local device name is already in use" If I uncomment out this line: 'WSHNetwork.RemoveNetworkDrive "F:" the script generates an error.
2. Dim GreetName...
Thanks Mark, the script is working like charm..
Now I need the popup window to close in 20 or 30 seconds. I've tried almost all kinds of codes but still the user has to manually close the window. I would like the popup window to close itself after 20 or 30 sec.
One more problem, even though a...
Hi All,
Update: I've been working on this all day now and it seems like it's paying of now.
I tested the script on two user accounts and I noticed that if that same user log on and then logsoff, the network drives are still mapped, and an error being generated.
What can I add to the script...
Here is the error msg:
Line: 43 WSHNetwork.RemoveNetworkDrive "F:"
Source: WSHNetworkRemoveNetworkdrive
Code: 800708CA
I'm almost there but still having problems.
Any suggestions well appreciated.
Thanks,
Yes, I did and this is error I'm getting.
Line: 18
Char: 1
Error: The server is not responding.
After changing the server name I got this error.
Line 18
Char: 1
Error: The specified domain either does not exist or could not be contacted
I'm burning out on this script! I really need help.
I decided to start a New Post. The other one was getting too big and long.
I'm using a batch file to call this vbscript and I'm not sure whether that's causing any problems. My company has an OU and I don't have access to GPO, I'm only allowed to manage my OU.
Here is my current vbscript...
Yes, it's
Type: Security Group-Global.
*** Some new development. One user is able to login and all the drives are mapped and the printers installed, BUT if I use a different account to login, nothing happens---no drive maps or printers installed.
I'm also using a batch file to call the...
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.