To me it sounds like rights...  Give everyone full privs to the key you are 
using

Sent from my Windows Phone



                                          Jimmy Martin | HS IS-INFRASTRUCTURE | 
BMHCC - CORPORATE

                                                         Phone: (901) 227-8209 
| [email protected]

                                          The opinions expressed above are not 
necessarily those of Baptist





________________________________
From: Dwayne
Sent: 10/25/2013 1:41 PM
To: [email protected]
Subject: RE: [mssms] RE: user_printers.vbs deployment in CM12 "BAD ENVIRONMENT"

Yes..  I can manually drop the .vbs onto a machine that gives the Bad 
Environment error and from my cmd prompt using psexec, run cscript.exe 
user_Printers.vbs and it runs fine.. Now I don’t get the desired results 
because the script captures the user profile that runs it and takes the users 
network printers and drops it into a registry entry, so when I run it , it will 
pull my userid.. but it does run and shows Windows Script Host Version 5.7

Dwayne

From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Friday, October 25, 2013 1:25 PM
To: [email protected]
Subject: RE: [mssms] RE: user_printers.vbs deployment in CM12 "BAD ENVIRONMENT"

If you take one of the machines that is giving you issues, and try to run 
cscript from a cmd prompt, does it launch?

Christopher Catlett
Consultant | Detroit
[cid:[email protected]]

Sogeti USA
Office 248-876-9738 |Fax 877.406.9647
26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456
www.us.sogeti.com<http://www.us.sogeti.com/>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Dwayne
Sent: Friday, October 25, 2013 2:12 PM
To: [email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: user_printers.vbs deployment in CM12 "BAD ENVIRONMENT"

Greetings ,
         I ‘ve got a small issue with the vbs script, I’ve pkg’s it in SCCM and 
deployed it.. I’ve got 106 successes but I’ve over 2 thousand Errors with “Bad 
Environment”..  in the program properties I’ve got cscript.exe 
user_printers.vbs.   no quotes ..  And “Only When a user is logged on”..  (the 
fact it is installing successfully on some and not all leads to think the 
program is set correctly).. I was hoping someone may have seen these errors 
before and point me in the right direction to fix it..   Below is a snipt of 
the execmgr.log

Invalid data file user_printers.vbs to execute using file association           
execmgr              10/24/2013 8:20:07 AM  2580 (0x0A14)



Regards,

Dwayne Hebert. MCTS, MCP
SCCM ADMINISTRATOR
Systems Infrastructure
Office: 504-310-7102
Mobile: 225-315-9553
[cid:[email protected]]

Internet Email Confidentiality
Privileged/Confidential information may be contained in this message. If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message and kindly notify the 
sender by reply email. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of the bank shall be understood as neither given nor endorsed by it.
Thank You.





This message and any files transmitted with it may contain legally privileged, 
confidential, or proprietary information. If you are not the intended recipient 
of this message, you are not permitted to use, copy, or forward it, in whole or 
in part without the express consent of the sender. Please notify the sender of 
the error by reply email, disregard the foregoing messages, and delete it 
immediately.

P Please consider the environment before printing this email...




<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to