Hi scripters around the globe.
I have a mapping (dfs) on a workstation and it can have the files from 3 servers: serverx servery or serverz
Is there a way to let a vbs script tell which server is the one the share of the workstation uses? goes to?
I have seen several scripts and read...
use the reg delete /f option under cmd in the script with a variable, it can delete keys and subkeys in one time forced. U can use the hide window wait for return option.
good luck, worked for me!
Alex
SUPER ;-) GOT IT TO WORK!!!!
maybe it can be done easier but this one does the work!
=======================================================
strComputer = "."
Set dtmConvertedDate = CreateObject("WbemScripting.SWbemDateTime")
Set objWMIService = GetObject("winmgmts:\\" & strComputer &...
Thanx for your answer :-) but getting error 0x80041021 at several workstations. It should be possible and probably very easy but just know how to script this.
Well again i know to get the computer policies, the problem is to get the user policies. All over the internet it is writen change root\rsop\computer to root\rsop\user. Only that does not work.
Hi scripters around the globe :-)
This script shows all computer policies. How can get the policies for the user logged on??
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\rsop\computer")
Set colItems = objWMIService.ExecQuery("Select * from RSOP_GPO")...
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.