26 Sep
Posted by Roberto as Scripts
This simple .VBS script can verify in seconds what members belongs to local Administrators group and Power Users groups of all servers.
You only need inform the names of each server in a text file called servers.txt.
On Error Resume Next
Set objFSO = CreateObject(”Scripting.FileSystemObject”)
FoxIt Reader: This free PDF reader is faster than Adobe Reader and a great solution for a common issue ignored or unknown by many Citrix/Terminal Servers administrators.
Issue: Adobe doesn’t recommend use Acrobat Reader and Writer on the same machine, and when you have this scenario, all users open PDF’s on Acrobat Writer, because Acrobat Writer [...]
This script can be included in others scripts to verify if a user belongs to a specific group.
Set oShell = CreateObject(”Wscript.Shell”)
Set oNet = CreateObject(”Wscript.Network”)
set oFSO = CreateObject(”Scripting.FileSystemObject”)
This script is very useful with File Servers migration, when can be used at logon script identifying the mapped drivers of each workstation and changing theirs for new drivers.
You can just change variables Path_antigo by name of the old File Server and Path_novo by name of new file server.
On Error Resume Next
iDebug=1
26 Sep
Posted by Roberto as Scripts
Script to be used on notebooks, when a user uses a notebook inside of your company with a proxy server and at another networks without proxy servers, like home. The script execute a ping to a server (that can be the proxy server), if the ping command is successfully then Internet Explorer will be open [...]
A lot of people unknown some tools of Resource kit for Windows 2003, that can be essential in a environment implementation. Twice of this tools are instsrv.exe and srvany.exe that bring the possibility to you create new services for Windows 2003, using a executable file or a vbs script.
To create a new service on Windows [...]
Here we have a simple VBS that can be used at published aplicattions on Citrix XenApp (Presentation Server), or running local applications with their necessary mapped network drivers.
This script map network drivers and open an application.
Letra = “S:”
‘Precisa ser letra maiuscula
Caminho = servidorshare
Aplicativo = Letra & “teste.exe”
This script verify each 30 seconds if two process are running to a user that opened a application with the script. In case of one process was terminated, then the other process will be terminated.
On Error Resume Next
Set objNet = CreateObject(\”WScript.NetWork\”)
Set WshShell = WScript.CreateObject(\”WScript.Shell\”)