Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. djalexnl

    enumerate the server from dfs share

    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...
  2. djalexnl

    DeleteKey in registry

    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
  3. djalexnl

    Scripting user policies

    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 &...
  4. djalexnl

    Scripting user policies

    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.
  5. djalexnl

    Scripting user policies

    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.
  6. djalexnl

    Scripting user policies

    Thank for your answer but I cannot get this script to work also.
  7. djalexnl

    Scripting user policies

    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")...

Part and Inventory Search

Back
Top