Durr, I read that a few times and looked over it entirely (silly me)
Here's what the final script looks like, the path is subject to change, but it does what I need
Dim objNetwork, strComputer
Set objNetwork = CreateObject("WScript.Network")
strComputer = objNetwork.ComputerName
Set...
Whoops. The %systemname% area in the script was me testing it with another set of code.
The actual path was specific to a folder, neither systemname nor computername work.
I have a script that locates the PC's security log and exports it to a file on the server.
The only problem with the script is that I do this for about 30 computers. Currently we do the audit manually and place the output file in a folder corresponding to the PC's name
IE: Workstation 13's...
I'm looking to pull a weekly amount of security log information out of a computers event viewer.
We have about 20 odd PCs that are classified machines. I am required to do an audit on them weekly to check their security log for any anomolies, odd logins etc. Currently I have to go PC to PC...
This will be long and detailed, so bear with me.
Recently our company expanded, acquiring a new facility. We run a VPN between the facilities and both are seperate internet connections.
The staff moving to that facility needed their current project folders moved to a new file server located...
Hey Mark or any of you other VB guru's.
I use a program called PerfectDisk on our network. I'm not a particular fan of the software, but it does help with performance slightly.
The software is client/server based, requiring that each client have several ports opened on their Windows firewall...
Finally got ghosting software pushed in the company, and of course we run into a hurdle.
According to Symantec the two NICs that our Dell PCs are running are not supported.
The two NICs are:
Broadcom 57xx Gigabit NIC
Intel(R)Pro/1000 MT NIC
I've been hunting for a few days now trying to find...
Recently we have had a small problem in the company. We have our file share server setup, and the employees access it for whatever, programs or personal stuff.
About the last 10-12 boxes I've built out have had an issue browsing the network. They can see it, and connect no issues there, but...
Hey mark, appreciate the response and advice.
The script works partially. I set the path to the file, but it's still redirecting to the local HDD
The file itself is an excel spreadsheet located on the server.
I only posted here as I knew there were various methods of achieivng the goal, and...
Okay using the first script, I am unable to get it to execute in my VB script.
I can execute it from a cmd prompt no problems.
Here is the line I have
copy "\\server4\netlogon\shortcuts\sop.lnk" "C:\documents and settings\%username%\desktop" /y
Now in VB it will execute, and then say error...
Hey guys...I've read of several ways to impliment this via AD.
Basically after the adventure of creating a login script for the company, the Execs are starting to realize the managment capabilities I can offer...so now they want to create several company standard desktop shortcuts.
I've read...
Heh no fears Aaron, I have a basic understanding of it.
If you've done any programming, you'll be okay.
Appreciate the help guys, now to convince the boss man to do some major changes to the AD...oh joy
Mark is right, you don't really want to edit your default domain policies ever.
My current problem here is that I'm the junior admin, and I can't get stuff corrected...so I have to sort of jerry rig it.
At the moment our AD is very very screwy, and all of our users and groups are in the root...
I don't believe it should, as you do it via a console, I just tap directly into the server.
You didn't have to restart any services or anything did you? I'm going to go tinker with my test boxes that I can destroy if I need to, because I'm really in the mood to heh.
Appreciate the help man, I...
Okay so I totally think that the script isn't being enforced.
Basically I've created about 5 or 6 different variations of the script, and tested locally, on both the server and any box.
The scripts all point to the AD to check permissions, then execute an if then or a case...and locally...
Can you possibly email me a sample of your current script?
Realistically I've tried two other VBS scripts that are designed for network drive mapping, and neither are working, which is indicating a problem with the AD to me.
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.