Hi all I have been searching for an answer to this for a while. I have a script that works Great as a Domain admin. However I need to write the Log to Program Files Folder and a normal user doesn't have write permissions, also they do have read only to WINNT folder. The script runs under the...
Good morning, I am trying to come up with a script that I can use with Schedualer that automaticly defrags the local drives and puts a log file on a server
Hi, I need to document in an output file all network printers and who is mapped to them (username) in a domain environment. I have seen many scripts that show what is mapped to my local system, but I need to see all users and the mapped printer they are using.
This is a Great Forum
Thanks
Good morning I need to script getting the System log from a print server "cscprnt" and copy it to a txt file on my Workstation "WS8582". Any idead?
Thanks hooverd
Ok here is the whole script. everything works EXCEPT the line to map the users Home drive (i:)
Option Explicit
' Declare basic objects
dim wshFSO : Set wshFSO = CreateObject("Scripting.FileSystemObject")
dim wshShell : Set wshShell = CreateObject("WScript.Shell")
dim wshSysEnv': Set...
This is from my .bat file
net use i: \\cscapp1\%username%$
net use k: /d
net use k: \\cscapp1\servicemailpool
net use g: /d
net use g: \\cscfs\smart\prod
net use h: /d
NET USE H: \\cscfs\smart\COMMON
net use o: /d
net use o: \\DAP\image$ /persistent:no
net use s: /d
net use s...
The lines I pasted are from my VBS script all the drive mappings shown work great except for the line for the users home directory.
Yes in the batch format it works fine for all. Just not in vbs format.
Thanks
Thank you Mark but I have tried that from your post several times and in different ways and can't get it to
work. Here is some of my script.. I is the designated drive letter.
oNetwork.MapNetworkDrive "h:", "\\CSCFS\prod"
On Error Resume Next
oNetwork.MapNetworkDrive "i:"...
I have been searching this and other forums to find how to map a users home drive. Our enviroment is locked down and the user shares are hidden ($). Nothing I have tried has worked. The mapping works great in a .bat format.
Thanks hooverd
I have been searching threads and Forums but can't find an answer to this problem. I have a VB Script that maps drives and deletes temp folders and temp Internet folders. I need also to delete the WINNT temp folder, but that requires different permissions than a regular user has. I saw a thread...
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.