Thanks mrmovie. That worked fine.
And yes, you are right, I have to figure out how to handle diffrent data types.
I try to recreate the "header.exe"-tool included for Exchange 5.5, but now for Active Directory.
I have a script that let you choose the objects to import/export depending on the...
Hi,
I have a problem and can not find the error.
This is a modefied script from Microsoft to create a user in Active Directory. I have just added some code to get the information from a excel document.
It worksfine if a add text or mixed content, but if I try to add just numbers it will return...
Thanks for the reply mrmovie.
To change the account for the ADS agent was oure primary solution, but it never reconnected to the ADS server again afterwards.
This was an attemt to find a workaround :)
I will check the "adsrunas" command you talked about.
Hi,
I found out that this was a bit more tricky then expected.
I use ADS to deploy servers and ADS is using an agent on the remote servers to execute commands.
This service is running as system and can not be changed.
I need the the service to run a VBScript to join the computeraccount to...
Hi all,
I guess this is a easy question, but I got stuck anyway:)
I have created a MST file for a application and want to set the value for TargetDir to "D:\Apps\Application name".
I do this with a custom action and it works fine then a do a normal installation.
But then I use the Quiet mode...
Hi roblay,
This is not always as easy at it sounds.
You can try this script:
Set fso = CreateObject("Scripting.FilesystemObject")
Set Shell = WScript.CreateObject("WScript.Shell")
If not Fso.FolderExists ("C:\Program Files\Application") Then
Shell.Run(("%comspec% /C...
Hi all,
I have some problems to write a script to find out the current profile type (Local / Roaming or Mandatory).
I can access the object WIN32_LogonSession and this one include the profile type but not the username.
I can access the object WIN32_NetWorkLoginProfile, but this does not...
Is it possible to use a vb-script to import a .hiv-file (binary) of HKCU then a user login to the computer. And then a simular export then the user logoff.
Today we use reg.exe to solve the issue, but I can not add error handling and reporting to that function.
This is used in a load balanced...
Hi all,
I need to map a network drive and then lanch i program using a specific working directory.
This is my current syntax:
--------------------------------------------------
on error resume next
Dim strArgs
Set objArgs = WScript.Arguments
strArgs = objArgs(0)
Set Shell =...
Hi all,
Why dont use SUS 1.1 to install ALL new updates and Hfnetchk to validate that it works as planed.
It takes about 2 houres to setup and is a "by MS supported solution".
We have it running for over 1000-users and it workes fine.
// Wibbe
Hi rb4,
You can do this by using VBScript and ADSI to edit Active Directory.
But if I understand you right, you want to add a new E-mail adress on all your users in Exchange 2000.
Then I recommend to use the reciption policy in Exchange, it is mutch easier and and faster.
See Q285136 in...
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.