OSD, ADSI Script run fail in WinPE5.1(ADK 8.1)
I want to run ADSI script to check if there is a computer in domain. If I find this computer account already exists in domain then you can join domain. My script as below.
But it can't work in winpe. it said "Table does not exist" of code "Set objRecordSet = objCommand.Execute". BTW, this script run fine in standard system and the boot image had been
installed all cab plugin(Script,WMI...).
I know it should miss some ADSI related plugin. I want to know how to make this script work or how to check if there is a computer acount in domain.
strUser="Name"
strPassword="Password"
PcName="Computer"
Const ADS_SCOPE_SUBTREE = 2
Const ADS_SECURE_AUTHENTICATION = &H1
Const ADS_SERVER_BIND = &H200
Dim objConnection, objCommand, objRecordSet
Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = "ADsDSOObject"
objConnection.Properties("User ID") = strUser
objConnection.Properties("Password") = strPassword
objConnection.Properties("Encrypt Password") = True
objConnection.Properties("ADSI Flag") = ADS_SERVER_BIND Or ADS_SECURE_AUTHENTICATION
objConnection.Open "Active Directory Provider"
Set objCommand.ActiveConnection = objConnection
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
objCommand.CommandText = "SELECT ADsPath FROM 'LDAP://dc=abc,dc=com' WHERE objectCategory='computer' AND Name='" & PcName & "'"
Set objRecordSet = objCommand.Execute
If objRecordSet.PageCount Then
IsPCname="True"
Else
IsPCname="False"
End If
WScript.Echo IsPCname
Hi,
Johan has a great blog post on how to add ADSI support in WinPE 5 here:
http://www.deploymentresearch.com/Research/tabid/62/EntryId/128/ADSI-plugin-for-WinPE-5-0.aspx
It explains all the steps.
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec
Similar Messages
-
How to run next script if previous script is failed?
Hi,
I am running my 10 scripts in one master script. These 10 scripts are my 10 test cases.
Right now if any script is failing, execution is stopping that time. It is not going to next script.
So how can i do that if one script failed, control will go to next script.
I dont have OTM.
Regards,
DeeptiHi,
I think you will need to set the error recovery setting within the java code of your script in this case, e.g.
getSettings().setErrorRecovery("http.zeroLengthDownloads", "IGNORE");
getSettings().setErrorRecovery("http.zeroLengthDownloads", "FAIL");
The preferences you set within OpenScript only apply when the script is played back in OpenScript.
There is a command line option -errorRecoverySettingId ReportErrorAndContinue.
Regards,
Jamie -
Front end application error after import script run successfully in R12
Hi ,
i got an exception in R12 environment.
i developed one simple OAF page and deployed in apps import script run successfully.
but when i am opening that page in Front end it will give an exception.
That is
Exception Details.
oracle.apps.fnd.framework.OAException: Could not load application module 'tflsm.oracle.apps.po.per.server.TflsmAM'.
## Detail 0 ##
JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
## Detail 0 ##
oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
## Detail 0 ##
oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
i will check all the class files and xml files of Application Module below top, all are there in the server top(below top)
/u02/TST22/apps/apps_st/comn/java/classes/xxfls
but i got the exception.
is there any different structure in R12.
i.ein the server top /u02/TST22/apps/apps_st/comn/java/classes/xxfls (Here my all class files in Binary mode and xml files in ASCII mode)
only CLASS files are needed or XML files are also need.(i am moving all CLASS and XML files)
could you please help me on this.
Thanks with Regards,
MuthuMuthu,
This issue usually occurs when the AM.class file is not available at the given location. Try to find out on the server whether this
tflsm.oracle.apps.po.per.server.TflsmAM exists.
If still the problem persists then go for redeployement by deleting the existing one.
Regards,
Gyan -
Test Script execution failed.
I'm getting the Test Script Execution Error - "Test Script execution failed. Reason: The system cannot find the file specifiied"
This is happening to all my test script files. I can load the test script files, edit the test cases, etc, but cannot execute the test scripts
If I click on View Test Script Specification, they all come up, and the report shows all the cases in the test script.
If I look into the directory, they are all there, with the .tsc extension and a file type of TSC
I created a new TSC this morning, but with the same results
They were working yesterday. Since then, I did rename one of the test scripts, and changed my build platform from .NET to Java.
Any thoughts?
Thanks,
Allan Gibson
P.S. I also now note the my what-if analysis files do not run, and are getting a message: run time error '-2146233088 (80131500)': Batch process has failed. Reason: the system cannot find the file specified (OPA-E00241). When I press the debug button, I'm taken to a screen where the line "Call GetExcelCompilerProxy() .Analyze(ActiveWorkbood)" is highlighted in yellow.
Edited by: A Gibson on 11-Sep-2012 9:02 AM
Edited by: A Gibson on 11-Sep-2012 9:09 AMHey Allan,
It looks like it either can't find the Java component it needs to run or the test script for some reason. If you look in the bin directory of the OPM install (which is normally something like c:\program files\Oracle\Policy Modeling\bin) do you see a file called determinations-remote-clr.jar? If not it sounds like something's gone wrong with your install.
If so, can you run the test script in the standalone debugger? Also, if you look at the absolute path of your test script file, does it contain any non-ascii characters? If so, try removing those characters and see if it works.
Thanks,
Kristy -
I have a tool in the form of a .exe, its job is to execute a batch of T-SQL scripts against a SQL database. The tool I am running from a different machine from where the database is hosted.
The tool was built on SQL server 2008 R2 and the server which hosts the database is SQL server 2012. When I try to run, I get Script deployment failed:
Microsoft.SqlServer.Management.Smo.SmoException: An exception occurred while executing a Transact-SQL statement. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch.
---> System.Data.SqlClient.SqlException: The data types date and datetime are incompatible in the add operator...
What's the problem? Is this a compatibility between the two different SQL's or is it because the tool is running from a different machine than where the database is restored....please help! Thanks.Refer the below link
http://beyondrelational.com/modules/2/blogs/77/Posts/18855/0239-sql-server-2012-msg-402-the-data-types-datetime-and-time-are-incompatible-in-the-addsubtract-op.aspx
--Prashanth -
Script initialization failed with several plasmoids
I'm using KDE on Arch and since a few previous KDE versions or Plasma updates (I don't remember the exact version) when i try to install some plasmoids (for example 'Yahoo Currency Converter', 'Temperature' or 'Brigtness control') i get the message 'script initialization failed'. Python-pyqt4, python-pyqt5, kdebindings-python, kdebindings-python2 and qscintilla packages are installed.
For this issue, you can check below link
http://www.systemcentercentral.com/research-this-kb-workflow-initialization-failed-to-start-a-workflow-that-runs-a-process-or-script/
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
Technical | Twitter:
Mai Ali -
My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: chrome://tavgp/content/libs/include.js:595"
How do I solve these issues???No idea - and you provide no clues
what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
Somehow my "IPhoto" icon now says "Preview". When I click on "Preview" nothing opens up except the bar says Preview. When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there. The only thing that work is the "quit preview". However, it is still there where my IPhoto icon should be. I can't get into my IPhoto. How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
If you go to your Applications folder and double click on iPhoto what happen?
LN -
Firefox freezes due to a script running. how can I stop it or fix it
I keep having a script run when I am playing Face Book games Especially Battle Pirates and it freezes everything. What can i do to stop it? Or fix it so it dosen't freeze my game?
This script runs over and over while I am playing Battle Pirates. Every time it runs it freezes the darn game and I have to click and click on the screen before a box pops up with a long string and asks if I want to stop the string. This is what it says:
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
" Script:http://static.ak.fbcdn.net/rsrc.php/...tS5XVSwP/ks:42 "
What is this and dose it need to run or is it a hacker messing with me and my FF browser ?
When I'm in the middle of a battle screen and it freezes it messes me up. If I am in full screen when it freezes it throws me to another open Browser tab or out of full screen if i don't have another open.
What is this? Something to do with FaceBook? A Hacker ? A BP game glitch. please help. This is driving me crazy. Imagine being in the middle of the best part of a BP battle and freeze.... then click click click i go and zoom to another open window away from the battle so i no longer have a view of the fight let alone control it or boom to non full screen and 1/2 the screen is obscured.
It just happened again while I was typing this request for help. I have a window open with BP also and it took me there. HELPHi knighterrant56,
Have you looked at the Knowledge Base article [[Problems using Facebook in Firefox]]? There is a lot of good troubleshooting information in there. Please be sure to try all of the suggested steps. Each one is valuable and may be the answer to your issue.
Hopefully this helps! -
ORA-3113 while running export (first run ok, second run fails)
Hi,
I'm running 10g (10.1.0.2.0) on gentoo Linux.
After a restart of the database I can do an EXP for any user without errors. But when I repeat the same command after the export I get the following error:
. . exporting table WEB_SESSION_DATA 0 rows exported
. exporting synonyms
EXP-00008: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
EXP-00000: Export terminated unsuccessfully
It's always the same error on the same task (exporting synonyms) but always just for the second and any later export, while the first one is ok.
I read through some forums and found, that ORA-3113 is a standard error which just hides the real error. So I look into the trace files and found:
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [jox_lookup_known_object()+413] [SIGSEGV] [Address not mapped to object] [0x1AD14034] [] []
Current SQL statement for this session:
SELECT SYNNAM, DBMS_JAVA.LONGNAME(SYNNAM), DBMS_JAVA.LONGNAME(SYNTAB), TABOWN, TABNODE, PUBLIC$, SYNOWN, SYNOWNID, TABOWNID, SYNOBJNO FROM SYS.EXU9SYN WHERE SYNOWNID = :1 ORDER BY SYNTIME
If I call this SQL from sqlplus I get the same ORA-3113, so this seems to be the cause for the export failure.
When I remove the DBMS_JAVA.LONGNAME calls from the statement, it runs fine. It also runs fine, when I add a "and 1=0" to the EXU9SYN view. But this will not really solve the problem, because then all synonyms don't get exported.
I also checked all the synonyms and they are valid, the referenced tables exist and can be queried.
Because we use JavaStoredProcedures I cannot remove the Java Features in Oracle. But I reinstalled it (rmjvm.sql and initjvm.sql) but this did not help.
Does anyone have an idea what's happening here?
Especially the "first run ok, second run fails" seems to be very strange, because DB objects including DBMS_JAVA should be ok, if the first export can be done. So what changes in the database during or after the first run?Maybe description for bug 3953108 (ORA-7445 AND ORA-3113 DURING DIRECT FULL DATABASE EXPORT OF PUBLIC SYNONYMS) is helpful.
Werner -
Hello OTN,
After converting/exporting machines from VMware and importing them into OVM i am receiving errors on some of the machines when powering on.
Here is the complete error message:
Start - /OVS/running_pool/dirkwin
PowerOn Failed : Result - failed:<Exception: return=>failed:<Exception: ['xm', 'create', '/var/ovs/mount/483E943AE684484EAD7255356E8F24CC/running_pool/machinename/vm.cfg'] => Error: Device 768 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.
>
StackTrace:
File "/opt/ovs-agent-2.3/OVSXXenVM.py", line 57, in xen_start_vm
run_cmd(args=cmd)
File "/opt/ovs-agent-2.3/OVSCommons.py", line 85, in run_cmd
raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
>
StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 131, in start_vm
raise e
Searching for this error turned up different solutions but none of them worked.
One mentioned OVM not being able to handle spaces in vm names but this is not a working solution as most of the machines are just regular names without spaces or special characters.
Also interesting, sometimes this error does not turn up when powering on BUT the machine just powers off again and returns to its turned off state. Next power on the error returns.
OS types vary from S10, Win XP and RedHat so a possible connection to the error being the host OS is not there.
Harddrive types are set to auto. The vm.cfg's of functioning machines do not differ from non functioning machines besides the actual vm name in the vm.cfg
Any idea to this error or how to solve it ?
Thanks
-StephanHello Sebastian,
This is one of the vm.cfg which will abort due to the above mentioned error:
acpi = 1
apic = 1
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
disk = ['file:/var/ovs/mount/483E943AE684484EAD7255356E8F24CC/running_pool/vmname/vmname.img,hda,w',
',hdc:cdrom,r',
kernel = '/usr/lib/xen/boot/hvmloader'
memory = '2048'
name = 'vmname'
on_crash = 'restart'
on_reboot = 'restart'
pae = 1
serial = 'pty'
timer_mode = '0'
usbdevice = 'tablet'
uuid = 'a2a62bcb-f9ab-4ec3-8574-7415985cdf0a'
vcpus = 1
vif = ['bridge=xenbr0,mac=xx:xx:xx:xx:xx:xx,type=ioemu']
vif_other_config = []
vnc = 1
vncconsole = 1
vnclisten = '0.0.0.0'
vncpasswd = 'xx'
vncunused = 1
The xend.log also turned up nothing concerning this error. no messages were written into it. No other log has been created by xen in the /var/log/xen directory concerning an issue with the current machine.
Thanks for your help !
-Stephan
ps:mac address + pw is commented out
Edited by: Stephan Becker on Aug 5, 2010 7:11 AM -
STEPS TAKEN:
Logged into Mac for first time today.
Noticed a new individual file in Directory Library ".a.text". (Settings disply hidden system file/folders)
File contained only the text "--purge".
Meta data on file directed source to bash process run @ startup.
Attached History command output.
Disabled ARD for now.
SETTINGS:
All Sharing was Off.
Firewall was set to Block All Incoming Connections.
Home network with no other active users at time.
Upgraded to Mavs 10.9.2 last night.
Do not use any file sharing or remote access into Mac.
The SSH host attempts were my old Amazon EC2 instances.
Appears to start bitcoin app and few databases.
Worth noting I've been having tons of various issues last few months.
Thanks.
<POB> My CommandLine prompts. XXXX on locals.
XXXXXX:~ Administrator$ export HISTTIMEFORMAT='%F %T '
XXXXXX:~ Administrator$ history
<POB> OUTPUT
1 2014-02-27 17:23:35 rm -rf ~/.Trash/*
2 2014-02-27 17:23:35 cd
3 2014-02-27 17:23:35 .
4 2014-02-27 17:23:35 ./
5 2014-02-27 17:23:35 cd
6 2014-02-27 17:23:35 lib
7 2014-02-27 17:23:35 cd/
8 2014-02-27 17:23:35
9 2014-02-27 17:23:35 ls
10 2014-02-27 17:23:35 cd downloads
11 2014-02-27 17:23:35 ls downloads
12 2014-02-27 17:23:35 ls Downloads
13 2014-02-27 17:23:35 find / -nouser -ls
14 2014-02-27 17:23:35 find /~nouser -ls
15 2014-02-27 17:23:35 ls
16 2014-02-27 17:23:35 ls /library
17 2014-02-27 17:23:35 /LaunchAgents
18 2014-02-27 17:23:35 ls /LaunchAgents
19 2014-02-27 17:23:35 ls /Automator
20 2014-02-27 17:23:35 ls /KeyChains
21 2014-02-27 17:23:35 sha
22 2014-02-27 17:23:35 toop
23 2014-02-27 17:23:35 top
24 2014-02-27 17:23:35 dscl . -list /Users UniqueID
25 2014-02-27 17:23:35 $ dscl -plist . readall /users
26 2014-02-27 17:23:35 $ dscl . readall /users
27 2014-02-27 17:23:35 $ dscl . readall /503
28 2014-02-27 17:23:35 ls/Users
29 2014-02-27 17:23:35 - dscacheutil -q group
30 2014-02-27 17:23:35 cd
31 2014-02-27 17:23:35 cd.
32 2014-02-27 17:23:35 cd .
33 2014-02-27 17:23:35 ls
34 2014-02-27 17:23:35 ifconfig
35 2014-02-27 17:23:35 ifconfig
36 2014-02-27 17:23:35 ifconfig
37 2014-02-27 17:23:35 config helper
38 2014-02-27 17:23:35 config
39 2014-02-27 17:23:35 ls
40 2014-02-27 17:23:35 ssh awsXXXX
41 2014-02-27 17:23:35 defaults write com.google.Keystone.Agent checkInterval 0
42 2014-02-27 17:23:35 exit
43 2014-02-27 17:23:35 exit
44 2014-02-27 17:23:35 /var/log/secure.log
45 2014-02-27 17:23:35 ssh awsXXXXXX
46 2014-02-27 17:23:35 exit
47 2014-02-27 17:23:35 kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
48 2014-02-27 17:23:35 sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
49 2014-02-27 17:23:35 launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
50 2014-02-27 17:23:35 ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
51 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
52 2014-02-27 17:23:35 top
53 2014-02-27 17:23:35 ps
54 2014-02-27 17:23:35 top
55 2014-02-27 17:23:35 top
56 2014-02-27 17:23:35 top
57 2014-02-27 17:23:35 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -agent -stop
58 2014-02-27 17:23:35 man who
59 2014-02-27 17:23:35 who
60 2014-02-27 17:23:35 whoami
61 2014-02-27 17:23:35 ps -aux
62 2014-02-27 17:23:35 ps
63 2014-02-27 17:23:35 top
64 2014-02-27 17:23:35 ps -eo pid,etime
65 2014-02-27 17:23:35 top
66 ??ps aux | less
67 2014-02-27 17:23:35 pstree
68 2014-02-27 17:23:35 ps -eo euser,ruser,suser,fuser,f,comm,label
69 2014-02-27 17:23:35 pgrep
70 2014-02-27 17:23:35 pgrep remote
71 2014-02-27 17:23:35 apt-get install htop
72 2014-02-27 17:23:35 htop
73 2014-02-27 17:23:35 netstat -tulpn | grep :80
74 2014-02-27 17:23:35 ls -l /proc/635/exe
75 2014-02-27 17:23:35 swapon -a
76 2014-02-27 17:23:35 ma ps
77 2014-02-27 17:23:35 man ps
78 2014-02-27 17:23:35 man ps
79 2014-02-27 17:23:35 ps -a
80 2014-02-27 17:23:35 ps -A
81 2014-02-27 17:23:35 whoami
82 2014-02-27 17:23:35 ps -f
83 2014-02-27 17:23:35 ps -G
84 2014-02-27 17:23:35 ps -g
85 2014-02-27 17:23:35 ps -T
86 2014-02-27 17:23:35 ps-t
87 2014-02-27 17:23:35 ps -v
88 2014-02-27 17:23:35 ps start
89 2014-02-27 17:23:35 top
90 2014-02-27 17:23:35 ps
91 2014-02-27 17:23:35 users
92 2014-02-27 17:23:35 last
93 2014-02-27 17:23:35 ls /var/log/wtmp*
94 2014-02-27 17:23:35 last -f /var/log/wtmp.1
95 2014-02-27 17:23:35 last -f /var/log/wtmp.0
96 2014-02-27 17:23:35 ~/.bash_history
97 2014-02-27 17:23:35 cat ~/.bash_history
98 2014-02-27 17:23:35 ls /Automator
99 2014-02-27 17:23:35 cat Automator
100 2014-02-27 17:23:35 open ~/.bash_history
101 2014-02-27 17:23:35 dscl . readall /users
102 2014-02-27 17:23:35 ls/library
103 2014-02-27 17:23:35 cd/library
104 2014-02-27 17:23:35 cd..
105 2014-02-27 17:23:35 cd
106 2014-02-27 17:23:35 ls
107 2014-02-27 17:23:35 cd Library
108 2014-02-27 17:23:35 cd/Library
109 2014-02-27 17:23:35 ls/Automator
110 2014-02-27 17:23:35 toop
111 2014-02-27 17:23:35 top
112 2014-02-27 17:23:35 ifconfig
113 2014-02-27 17:23:35 config helper
114 2014-02-27 17:23:35 config
115 2014-02-27 17:23:35 top
116 2014-02-27 17:23:35 ps -a
117 2014-02-27 17:23:35 ps -A
118 2014-02-27 17:23:35 ps -aux
119 2014-02-27 17:23:35 ps
120 2014-02-27 17:23:35 getprocessforpid(677)
121 2014-02-27 17:23:35 man ps
122 2014-02-27 17:23:35 ps -U
123 2014-02-27 17:23:35 ps -u
124 2014-02-27 17:23:35 GetProcessPID(494)
125 2014-02-27 17:23:35 GetProcessPID() q
126 2014-02-27 17:23:35 GetProcessPID494
127 2014-02-27 17:23:35 GetProcessPID 494
128 2014-02-27 17:23:35 netstat -b
129 2014-02-27 17:23:35 top
130 2014-02-27 17:23:35 top
131 2014-02-27 17:23:35 top
132 2014-02-27 17:23:35 netstat -a
133 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
134 2014-02-27 17:23:35 top
135 2014-02-27 17:23:35 netstat -a
136 2014-02-27 17:23:35 top
137 2014-02-27 17:23:35 top
138 2014-02-27 17:23:35 netstat -a
139 2014-02-27 17:23:35 ps -aux
140 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
141 2014-02-27 17:23:35 ps -aux
142 2014-02-27 17:23:35 ps -A
143 2014-02-27 17:23:35 ps -A
144 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
145 2014-02-27 17:23:35 netstat -a
146 2014-02-27 17:23:35 top
147 2014-02-27 17:23:35 top
148 2014-02-27 17:23:35 netstat -a
149 2014-02-27 17:23:35 netstat -a
150 2014-02-27 17:23:35 netstat -a
151 2014-02-27 17:23:35 q
152 2014-02-27 17:23:35 top
153 2014-02-27 17:23:35 top
154 2014-02-27 17:23:35 sudo tmutil disablelocal
155 2014-02-27 17:23:35 exit
156 2014-02-27 17:23:35 top
157 2014-02-27 17:23:35 top
158 2014-02-27 17:23:35 top
159 2014-02-27 17:23:35 top
160 2014-02-27 17:23:35 top
161 2014-02-27 17:23:35 top
162 2014-02-27 17:23:35 neststat -n
163 2014-02-27 17:23:35 netstat -n
164 2014-02-27 17:23:35 netstat -n
165 2014-02-27 17:23:35 ls
166 2014-02-27 17:23:35 lsaf
167 2014-02-27 17:23:35 cd ..
168 2014-02-27 17:23:35 cd ..
169 2014-02-27 17:23:35 cd ..
170 2014-02-27 17:23:35 cd ..
171 2014-02-27 17:23:35 ls
172 2014-02-27 17:23:35 top
173 2014-02-27 17:23:35 netstat
174 2014-02-27 17:23:35 dscl . list/users
175 2014-02-27 17:23:35 cd ~
176 2014-02-27 17:23:35 dscl . list/users
177 2014-02-27 17:23:35 dscl . list /users
178 2014-02-27 17:23:35 dscl . list /groups
179 2014-02-27 17:23:35 dscl . readall /users
180 2014-02-27 17:23:35 netstat
181 2014-02-27 17:23:35 netstat
182 2014-02-27 17:23:35 whoami
183 2014-02-27 17:23:35 ls
184 2014-02-27 17:23:35 cd ..
185 2014-02-27 17:23:35 cd ..
186 2014-02-27 17:23:35 cd .
187 2014-02-27 17:23:35 cd ..
188 2014-02-27 17:23:35 ls
189 2014-02-27 17:23:35 tree
190 2014-02-27 17:23:35 cd Users
191 2014-02-27 17:23:35 ls
192 2014-02-27 17:23:35 cd Administrator
193 2014-02-27 17:23:35 ls
194 2014-02-27 17:23:35 cd ..
195 2014-02-27 17:23:35 cd ..
196 2014-02-27 17:23:35 cd ..
197 2014-02-27 17:23:35 ls
198 2014-02-27 17:23:35 cd Users
199 2014-02-27 17:23:35 ls
200 2014-02-27 17:23:35 cd Adminstrator
201 2014-02-27 17:23:35 cd Administrator
202 2014-02-27 17:23:35 ls
203 2014-02-27 17:23:35 cd Downloads
204 2014-02-27 17:23:35 ls
205 2014-02-27 17:23:35 exit
206 2014-02-27 17:23:35 whoami
207 2014-02-27 17:23:35 ls
208 2014-02-27 17:23:35 ls
209 2014-02-27 17:23:35 cd Library
210 2014-02-27 17:23:35 ls
211 2014-02-27 17:23:35 cd Application Support
212 2014-02-27 17:23:35 ls
213 2014-02-27 17:23:35 cd ..
214 2014-02-27 17:23:35 ls
215 2014-02-27 17:23:35 cd ..
216 2014-02-27 17:23:35 ls
217 2014-02-27 17:23:35 cd pXXXXXXXX
218 2014-02-27 17:23:35 ls
219 2014-02-27 17:23:35 cd Library
220 2014-02-27 17:23:35 whoami
221 2014-02-27 17:23:35 sudo - Adminsitrator
222 2014-02-27 17:23:35 ls
223 2014-02-27 17:23:35 ls
224 2014-02-27 17:23:35 sudo -
225 2014-02-27 17:23:35 more /etc/hosts
226 2014-02-27 17:23:35 scc ver
227 2014-02-27 17:23:35 scc numprofiles
228 2014-02-27 17:23:35 netstat -an |find /i "listening"
229 2014-02-27 17:23:35 netstat
230 2014-02-27 17:23:35 top
231 2014-02-27 17:23:35 kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
232 2014-02-27 17:23:35 sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
233 2014-02-27 17:23:35 launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
234 2014-02-27 17:23:35 ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
235 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
236 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
237 2014-02-27 17:23:35 top
238 2014-02-27 17:23:35 dscacheutil -flushcache
239 2014-02-27 17:23:35 sudo killall -HUP mDNSResponder
240 2014-02-27 17:23:35 top
241 2014-02-27 17:23:35 ./bitcoin-qt
242 2014-02-27 17:23:35 cd $home
243 2014-02-27 17:23:35 ls
244 2014-02-27 17:23:35 cd ..
245 2014-02-27 17:23:35 cd ..
246 2014-02-27 17:23:35 cd ..
247 2014-02-27 17:23:35 ls
248 2014-02-27 17:23:35 cd Applications
249 2014-02-27 17:23:35 ls
250 2014-02-27 17:23:35 ./bitcoin-qt.app
251 2014-02-27 17:23:35 top
252 2014-02-27 17:23:35 ps -420
253 2014-02-27 17:23:35 ps -9541
254 2014-02-27 17:23:35 top
255 2014-02-27 17:23:35 /Applications/Postgres93.app/Contents/MacOS/bin/psql ; exit;
256 2014-02-27 17:23:35 /Applications/Postgres93.app/Contents/MacOS/bin/psql ; exit;
257 2014-02-27 17:23:35 top
258 2014-02-27 17:23:35 ps -a (2077)
259 2014-02-27 17:23:35 ps -a2077
260 2014-02-27 17:23:35 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
261 2014-02-27 17:23:35 top
262 2014-02-27 17:23:35 on run
263 2014-02-27 17:23:35 do shell script "osascript -e 'tell app \"ARDAgent\" to do shell script \"say quack\"'"
264 2014-02-27 17:23:35 end run
265 2014-02-27 17:23:35 ls -ls /System/Library/Filesystems/AppleShare/check_afp.app/Contents/MacOS/check_afp 2
266 2014-02-27 17:23:35 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
<POB> ENDI'm extremely unclear on exactly what's happening. You mention something about a script running at startup in your subject, but then never mention that again. What's going on there? Where are you finding that script?
That script would suggest someone playing a joke on you, by making your computer say "quack" every time you start up. That's not indicative of malware.
On the other hand, a hidden file as you describe is a common malware trick, though I'm not sure why it would only contain "--purge" - that isn't a complete command, as far as I know, and the purge command isn't likely to be used for malicious purposes anyway.
Still, you do have some indication that you're using Bitcoin-related apps, and there has been some Bitcoin malware that has appeared recently. See:
New CoinThief malware discovered
Note that the post on MacRumors that you refer to in your second post is almost six years old, and references a vulnerability that was closed later in 2008. It's completely irrelevant to any modern system. -
PowerShell Script running Excel won't run on Windows Server 2008 R2
I have a script that creates a report of a single example of each warning or error in the Windows Event log, for each server in a list of servers,with the number of times that error has occurred in the last week on each server. It creates this report in
Excel. I have this script running automated through Task Scheduler for one client on Windows 7 and it's working perfectly. I have another client that I am attempting to run this script automated on a server running Windows Server 2008 R2. I can manually run
the script and everything works, but if I try to schedule the script everything works except for the Excel PowerShell commands. I've have tried:
Created the Desktop folders for config\systemprofile in System32 and in SysWOW64.
Configured permissions in DCOM for Microsoft Excel Application.
Configured folder permissions for config\systemprofile.
Verified PowerShell is working.
Unchecked the option in the task to only run while logged on.
Does anyone have any idea why this is happening and how I can fix it? Thanks!
Sincerely,
Christopher BeardYou might have to launch the application once as the system account so that it can set up the Excel environment, I've had the same problem when trying to update Excel files from an admin Powershell console using my admin account. Use psexec with
a -s option to run it as system account locally while logged on to the target server:
psexec -s "c:\program files (x86)\microsoft office\office14\excel.exe"
Then you'll most likely be prompted to input initials - which is what I suspect is preventing your code from running properly.
There may be some other more elegant way to handle this, but you'd be better off asking that question in one of the forums devoted to Office products.
I hope this post has helped! -
Ondemand Script is failing in oracle documaker 12.2
We just upgraded from oracle documaker 11.3 to 12.2. When we try to generate AFP file, ondemand script is failing in 12.2. It is failing in Gen print.
GenPrint
Transaction Error Report - System timestamp: fri sep 26 09:24:12 2014
DM17115: Warning : The DownLoadFAP INI option is set to YES, this option should be set to NO for optimal performance. Check the RunMode control group, DownLoadFAP option.
DM17065: Warning in GENGetRecipientSet(): AGENT batch is empty, Unable to RCBGetFirstRcpSetRec(NULL).
DM17065: Warning in GENGetRecipientSet(): ERROR batch is empty, Unable to RCBGetFirstRcpSetRec(NULL).
DM12041: Error : FAP library error: Transaction:<>, area:<..\C\rulcomnt.c,Aug 8 2013 19:10:48,12,2,0,21451>
code1:<0>, code2:<0>
message:<Script: DEFLIB\LOADONDEMAND.DAL
Line: 10 Col: 642 Err: 65535 Token: ) Msg: Unknown>.
ULL).
DM12041: Error : FAP library error: Transaction:<>, area:<..\C\rulcomnt.c,Aug 8 2013 19:10:48,12,2,0,21451>
code1:<0>, code2:<0>
message:<Script: DEFLIB\LOADONDEMAND.DAL
Line: 10 Col: 642 Err: 65535 Token: ) Msg: Unknown>.
==> Warning count: 6
==> Error count: 2
End of Transaction Error Report - System timestamp: fri sep 26 09:24:13 2014
Elapsed Time: 1 secondsThis appears to be telling you that there is a DAL script error. There's probably some syntax error not previously detected in the script that is now being reported. The script execution is not able to tell whether LOADONDEMAND is really the name of a script or a routine found within a script library, but that is where the error is located.
Perhaps you can bring that script up in DMStudio and do a syntax check from the menu/ribbon. That might help you recognize what needs to be corrected.
Line 10, column 642 would mean that it is a really long line! Might mean there is just a paren out of place or not enough to satisfy the syntax. -
AN odd sql script run on server every 20 seconds
I run profiler trace T-sql for one day today, and I see below script run under sa account every 20 seconds on the server:
select table_id, item_guid,
oplsn_fseqno, oplsn_bOffset, oplsn_slotid
from [DB_Name].[sys].[filetable_updates_1983398185]
with (readpast)
order by table_id
What is this script? and how to stop it running every 20 seconds? Thanks!Vivian,
Are you using FileStream feature, similar issue is discussed here, Please refer
here and
here too
Thanks
Manish
Please click Mark as Answer if my post solved your problem and click
Vote as Helpful if this post was useful. -
Machine authentication is a little slow causing logon script to fail
using:
- Windows Zero with PEAP
- Machine authentication only (AuthMode is set to 2 in the registry)
- PCs are loginning it automatically, so it's a fast process
It appears that machine authentication is a little slow. I can ping the PC's IP after the auto login happens. This cuses logon script to fail.
If I hold shift to cancel auto-login, and wait for 10-20 seconds, the ping of the PC starts, and then if I login the logon script works.
Does anyone know a solution to this issue? Maybe a way to introduce a delay for login window (msgina.dll) to appear, so that machine authentication has time to connectIt's a common issue when authentication takes time.
You can simply delay the logon scripts.
This is an example of waiting for network to be up by pinging 10.10.10.10
Only when network is up, then it will execute the script
:CHECK
@echo off
echo Please wait....
ping -n 1 -l 1 10.10.10.10
if errorlevel 1 goto CHECK
@echo on
# Now the actual Logon script:
net use L: \\fileserver\share
Note: Modify the script in accordance with the network topology.
Nicolas
===
Don't forget to rate answers that you find useful
Maybe you are looking for
-
How to put constraint for a property in ATG Search
Hi We are facing an issue with search 10.0.2 We have added a functionality to search promotions along with catalog. Now, if we search by promo id and if an exact match is found then the results come fine. like if i search for "promo123" and if there
-
Why internet has always to be manually conected
I wonder why I always have to connect to my home network manually instead it does automatically can you please help me to know why it does that.
-
Hi, I am using a Pentium 4 with XP Home PC and have been for many years a MS Office user. In Word I can use a blank page and produce a letter and have it printed on my HP PhotoSmart 7550 printer and its produced as it is on the screen. Having recentl
-
Moving datafles between ASM disk groups?
Does anyone know the proper process to move a datafile to a different ASM disk group? For example, I would like the TEMP and UNDOTBS01 to be in their own ASM disck groups separate from SYSTEM. Right now everything is in one ASM disk group. An argumen
-
SWF bgcolor, width and height
me have start a ActionScript Project in Flex how to set the output swf' width and height? and the bgColor?