Sometimes we are diving into so many tools, products, technologies, etc that we forgot simple and old tools that can save the day or at least save a good time. I will give as example the Sysinternals psexec, that is very useful to run remote commands.
Let’s imagine that you need force a policy update in [...]
26 Feb
Posted by Roberto as Scripts
This vbs script consist into two verifications to restrict access of users from internet in Citrix XenApp (Presentation Server/Metaframe) servers or Terminal Services, to be included in the session initialization. The idea of this script allow access from users from Internet just if they are in a specific Active Directory group.
In the first verification, the [...]
Very useful on File Servers migrations, this script was created and used on login script of 1000+ users after migration from Novell file server to a new Windows file server. The script reduces the calls on service desk after migration, reading what mapped drivers each user has and creating a new mapped driver.
Basically, you need [...]
I made little modifications on this script created by Jakob Heidelberg to search for printers manually created on user profiles. This is very usefull when you wanna ensure that eveybody has only auto created printers, from Citrix or ThinPrint.
This script load ntuser.dat on each profile, check some registry keys, write a log and unload ntuser.dat. [...]
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 [...]
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\”)