Or 2) Download the VB code to the computer and create a startup shortcut to the VB code so it is executed under the user context as they login. I guess your idea of running something during login is your only option unless you are using Altiris Notification Server which does allow a user context and DOES WORK! The work-around is thatyou would have to create multiple jobs for the one piece of software which can get very tedious, is prone to human error and generally looks very messy It's pretty messy in your case, but it worked great for what i needed it for. http://lanprolab.net/altiris-error/altiris-error-2.php
If you specify a drive letter in this function for Altiris to use it will think that W: is in fact a local drive in the Altiris server. If this does not help the first time then try one of the other suggested solutions, and try toggling between TCP/IP and Named Pipes again. After all these years IE7 is still giving me a hea... Cheers! http://www.symantec.com/connect/forums/no-console-user-logged-2008dagentphysical
Check out this thread for information on how to do it: Set HKEY_CURRENT_USER Registry key via the local system account www .altirigos.com/vbulletin/scripting-tools-docs/8145-set-hkey_current_user-registry-key-via-local-system-account.html But I couldnt follow it that well, and it For i = UBound(outLivingSorted) - 1 To 0 Step -1 For j = 0 To i If outLivingSorted(j)(1) > outLivingSorted(j+1)(1) Then temp=outLivingSorted(j+1) outLivingSorted(j+1)=outLivingSorted(j) outLivingSorted(j)=temp End This works by executing the add-printer script for every user that logs in (if it hasn't already happened before) with elevated System rights.
runs fine when I run it from the local machine... Members Members Quick Links Registered Members Current Visitors Recent Activity Help Help Quick Links Smilies BB Codes Trophies Search titles only Posted by Member: Separate names with a comma. Sorry, we couldn't post your feedback right now, please try again later. What I've tried so far to no avail : Run Script calling the VBS file from the network share all our DS jobs / software reside.
Use the approriate name) Ensure that the check boxes for "Use ANSI quoted identifiers" and "Use ANSI nulls, paddings, and warnings" are checked. Now the only caveat to this is that the user must log out and back in before these settings take effect. but cant find it now.. Did this article resolve your issue?
Any thoughts, insight, words of encouragement, new code, etc would be greatly appreciated. plus I have working VBS script, just doesnt seem to run from Altiris. You can't specify UNC as this will defeat the purpose of the above script. are you saying it wont work?
b) Click Next and verify that the authentication method is correct. http://www.symantec.com/connect/forums/console-currently-logged-users TECH12029 August 1st, 2011 http://www.symantec.com/docs/TECH12029 Support / Error: The console was not able to connect to the site you selected. The script i pushed out basically just loaded a registry entry into HKLM. The trick here will be to cycle through all these sub-keys in a dynamic sense.
biscuitgod, Sep 24, 2009 #6 MadDR Member Yup, its broken. his comment is here Even managed to find / cobble together necessary code to remove all the HKCU keys... To prevent this by set the recovery model on the eXpress database to simple or add a maintenance plan to backup the eXpress database nightly. Create a SymAccount now!' Error: The console was not able to connect to the site you selected.
WshEnv.Remove("SEE_MASK_NOZONECHECKS") wscript.Quit Send the Install command The installation command will obviously be different depending the program and installation package type. Solution C: 5.6 Only- Verify that the user has DBO rights to the eXpress database.Note that if the user has anything less then DBO rights to the eXpress database, a c)Click next again.Verify that the name of the default database is set to 'express'.(DS 6.5 allows the database name to be changed during install. this contact form Between client version thats in the field and new, company has changed hands - so much of the install/uninstall differs.
One thing that always annoyed me about Altiris was that when working with multiple servers there was no way toload balance orroute traffic based upon the closest server, instead Altiris would Living in Scotland. Stay logged in Altirigos Home Forums > Deployment Solution > Scripting/Tools/Docs > Home Home Quick Links Recent Activity What's New?
This is problem generally caused by: 1) The ODBC settings not being configured properly.(see solution A) 2) The user does not have administrative rights on either the local machine orto the If the test fails because of an authentication problem, you do not have DBO rights to the eXpress database (see Cause 3). I created a script job with "cmd /k" and the only command. then deleted itself and the vbs...
thought i saw a thread somewhere that said how to run a vb as the logged in user... Also saw : DS Script to Add/Delete Registry Keys www .altirigos.com/vbulletin/scripting-tools-docs/10542-ds-script-add-delete-registry-keys.html but this too wasnt quite what I was looking at, either. What I found was if I delete the HKCU keys prior to install, then it writes the HKLM, user logs in, and new HKCU keys are written and all is good. navigate here You code snippet references an HKCU registry which is unique to every user including the SYSTEM account.
Log in Altirigos Home Forums > Deployment Solution > Scripting/Tools/Docs > VBScript works local but not via DS Discussion in 'Scripting/Tools/Docs' started by NetForce-TX, Sep 24, 2009. Issue : Uninstall removes program and HKLM registry entries, but leaves HKCU registry entries. If the user is logged on it will use the users credentials to map the drive. OK - im good with all the above...
WshEnv("SEE_MASK_NOZONECHECKS") = 1 objFSO.CopyFolder "W:\yourfolder" , "C:\support\yourfolder\" , OverWriteFiles i = oShell.Run(sCmd,1,true) ' Enables the Open File security warning again. Same script, launched from Altiris, does NOTHING! :smack: Here is the code im using : Code: 'On Error Resume Next '------ Declare Variables ------- Const HKCU = &H80000001 Const HKLM = For more information search for "database recommendations" in the Altiris Support Knowledge base and review the SQL user guide. Often times SQL will fail because of a transaction log growing too large, this is largely due to the high number of transactions Deployment Server has with the database.
So I tried to launch my job using that bit of info like so : Code: 'vbscript dim strComputer, strProg, objWMIService, errReturn strComputer = "." strProg= "cmd.exe /c wscript.exe " & The script below will do the following tasks: Inform the client to ping a list of Altiris servers Clear the required drive letter on the client PC (W: in this example) Click on 'Configure' a.) On the first configuration page verify the name of the SQL server in the Server drop down menu. Solution D: Check any firewalls between the machine running the Altiris eXpress Server service and the machine opening the console.
Reason : HKCU keys still exist with old data and are not being overwritten by the new HKLM keys. support technician, talking about all aspects of technology both old and new. Close Login Didn't find the article you were looking for? Here is my ActiveSetup VB Script i pushed to the clients (notice the reference to the 'real' script on the server, and the 2nd line is basically the Date that i
Cheers! please some Altiris God save me :bow: NetForce-TX Vi veri veniversum vivus vici NetForce-TX, Sep 24, 2009 #4 MadDR Member User Context What Nick was referring to is the when you