Windows error 0x00000005, 5

Detailed Error Information

ACCESS_DENIED[1]

MessageAccess is denied.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070005.

INVALID_PROCESS_ATTACH_ATTEMPT[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x5: INVALID_PROCESS_ATTACH_ATTEMPT.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code5 (0x0005)

Questions

34votes
4answers

Indexing .PDF, .XLS, .DOC, .PPT using Lucene.NET

I've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
.net
asp.net
lucene
solr
lucene.net
23votes
11answers

ERROR No package identifier when getting value for resource number

Both activities are in the same package Second activity uses second layout file setContentView(R.layout.main2); Errors on this line in the Second_Activity. EditText text1 = (EditText) findViewById(R.id.EditText03); Here is the layout file for the Second_Activity. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView android:id="@+id/TextView01" [...] read more
android
android-layout
android-resources
18votes
9answers

Metro apps crash on startup, driver or permissions issue?

After installing Win8 x64 RC, Metro apps worked correctly, but desktop OpenGL apps were slow and unresponsive. I installed the latest Win8 nVidia drivers, and the OpenGL apps started working correctly. At the same time, because of annoying permission messages, I changed the C:\ drive and all its files ownerships [...] read more
windows
crash
windows-8-preview
modern-ui
15votes
1answer

Error occurred while opening logfile C:\Windows\system32\LogFiles\Sum\Api.log

I need to restart the MS SQL server service every morning because my web client site can not connect. However, when I start my services it works. I don't know what is causing the problem. I found this in my error log. sqlservr (4052) An attempt to open the file [...] read more
sql-server
visual-studio-2012
window
12votes
5answers

Robocopy permission denied

Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with robocopy c:\source "\\server\share\path" /s /r:2 /w:2` As a result I get permission denied. Using explorer I can copy files to this share. I've opened a [...] read more
windows-7
networking
troubleshooting
file-management
robocopy
9votes
3answers

What is SRUJet?

I see in Event log many error entries : > svchost (1500) SRUJet: An attempt to open the file > "C:\Windows\system32\SRU\SRUDB.dat" for read / write access failed with system > error 5 (0x00000005): "Access is denied. ". The open file operation will fail > with error -1032 (0xfffffbf8). The key [...] read more
windows
windows-8
event-log
error-logging
7votes
1answer

Why do I get the Debug exception reason: Stack canary watchpoint triggered (main)?

I'm writing a program for esp32-wroom-32 using esp-idf-v3.0. I'm trying to add logs, which will be saved in fatfs. After some logs I get: 21:54:21.306 -> Debug exception reason: Stack canary watchpoint triggered (main) 21:54:21.306 -> Register dump: 21:54:21.306 -> PC : 0x40089827 PS : 0x00060b36 A0 : 0x40082179 A1 [...] read more
esp32
esp-idf
5votes
1answer

Issue connecting windows 7 slave to debian master on jenkins

I am trying to connect a windows slave to a linux master on jenkins and I always see the error below. I have tried everything that the link below mentions but I still see the same error. > ERROR: Access is denied. See http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM for more information about how to [...] read more
java
selenium
jenkins
webdriver
debian
5votes
4answers

gcc arm executable "no such file orr directory", wrong dynamic lib

I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
gcc
4votes
2answers

ESENT fails to determine the minimum I/O block size

I'm trying to get RavenDB running in embedded mode on a shared/multi-tenant webhost. RavenDB relies on the ESENT storage API. The filesystem on the hosting machines is locked down. The RavenDB Initialize() call results in the following eventlog entry Raven (20604) D:\Path\To\Website\App_Data\RavenDB\Data52e0e402-79d7-4f47-a219-3d1e2e73321c: An attempt to determine the minimum I/O block [...] read more
windows
permissions
filesystems
ravendb
4votes
1answer

Visual Studio debugger doesn't display std::string properly in debug

Me and my team are having an issue with Visual Studio displaying gibberish instead of proper string contents when I pause my program. The string inside has correct data, it's just that the debugger of VS gets lost somehow. I marked the correct contents in green, incorrect in red. std::string [...] read more
c++
visual-studio-debugging
visual-studio-2019
stdstring
4votes
2answers

Bit order in struct is not what I would have expected

I have a framework which uses 16 bit floats, and I wanted to separate its components to then use for 32bit floats. In my first approach I used bit shifts and similar, and while that worked, it was wildly chaotic to read. I then wanted to use custom bit sized [...] read more
c++
endianness
bit-fields
4votes
1answer

Why is there a memory space between my function local variables in the stack?

I have a C program compiled with gcc on Ubuntu x86. This is a function I am calling from main void addme() { long a = 5; char c = '3'; long array[3]; array[0] = 2; array[1] = 4; array[2] = 8; } If I break at last line, and [...] read more
c++
c
x86
gdb
4votes
3answers

RoboCopy unable to copy between a server on a domain to a computer in a workgroup

I have a RoboCopy problem and here is the scenario. My server is running Windows Server Essentials 2012 R2. My laptop is running Windows 10 Technical Preview. The server is running as a domain controller but my computer is not joined to that domain. I have a share on the [...] read more
windows
network-shares
domain
robocopy
workgroup
4votes
1answer

How to send an SMS from Debian command line?

I have a 4G wwan modem (Fibocom L850GL) with a valid SIM card on a Debian PC. I have modem-manager-gui and I can send SMS with it. modem manager gui help send SMS from linux with a GUI [https://i.stack.imgur.com/Rgfy6.png] How can I do the same from the command line? I [...] read more
networking
debian
modem
wwan
3votes
0answers

Old server accounts persist after migration to Windows Server 2019

I went through the process of migrating Active Directory 2012 R2 to Active Directory 2019. Minus a few firewall ports needing to be opened up, I was able to get through the process of promoting the new Windows Server 2019 machine and demoting the old Windows Server 2012 r2. After [...] read more
networking
active-directory
domain
windows-server-2019
3votes
2answers

How to query what users are logged on to a remote server's Terminal Services

I've used quser before to query users on the local server. I noticed today that it has an option for querying a remote server. However, when I tried it, I keep getting the following error: C:\Users\nimmylebby>quser administrator /SERVER:remote_server Error 0x00000005 enumerating sessionnames Error [5]:Access is denied. I'm assuming it's because [...] read more
windows
command-line-interface
windows-terminal-services
3votes
2answers

Getting ERROR 5 (0x00000005) Creating Destination Directory while using robocopy to copy files

I am getting the above error while I am using robocopy command. I have given all possible permissions on both source and destination folders but still I am getting this error. Any idea how to fix this. read more
windows
teamcity
webdeploy
robocopy
3votes
1answer

grub doesn't seem to load my kernel correctly

I use grub to load my kernel. Although I specified .=0x100 0000 in the linker script, I can only find a valid MultiBoot2 header at 0x10 0000. After comparing them one by one, I found that it is not my kernel. And use gdb to debug Found that qemu's RIP [...] read more
assembly
gcc
osdev
grub
multiboot
3votes
0answers

Android Runtime Error: Invalid ID 0x00000001 happening during Chip inflation

I have a screen that populates a bunch of Chips into a ChipGroup from the database, and they are all populated appropriately but I keep seeing a bunch of these errors when I navigate to the screen. E/sarahmica.myapp: Invalid ID 0x00000000. E/sarahmica.myapp: Invalid ID 0x00000001. E/sarahmica.myapp: Invalid ID 0x00000005. E/sarahmica.myapp: [...] read more
android
android-chips
3votes
4answers

Installing Net Framework 4 Remotely as an Administrator

I am trying to install the .net framework 4.0 remotely using the following commands 1 command => 'Powershell.exe -Verb RunAs -FilePath C:\Temp\dotNetFx40_Full_setup.exe -ArgumentList "/q /norestart /log C:\Temp\NetFx40.htm"' 2 command => 'C:\Windows\System32\cmd.exe /c C:\Temp\dotNetFx40_Full_setup.exe /q /norestart /log C:\Temp\NetFx40.htm', With both i get the following in the logs. Btw the user running [...] read more
.net
powershell
.net-4.0
puppet
3votes
1answer

In Windows 7, how to send a Ctrl-C or Ctrl-Break to a separate process

Our group has long running processes which run daily. The processes are typically started at 9pm on any given day and run until 7pm the next day. Thus they typically run 22hrs/day. They are started by scheduled tasks on servers under a particular generic user ID, and they start and [...] read more
windows-7
signals
control-c
2votes
2answers

Robocopy Error 5

When using robocopy to backup data in a directory tree to a NAS, I keep getting Error 5 - Copying NTFS Security to Destination Directory. Access denied. for folders which shouldn't return such error. The robocopy script is executed by a non-admin user called "backup" used specifically for backups which [...] read more
networking
security
backup
windows-server-2012
robocopy
2votes
3answers

WDS error: Windows cannot install required files. Make sure all files required for installation are available, and restart the installation

I have a Windows 8.1 x64 image that I sysprep'd and captured onto a Windows 2008R2 WDS server. When attempting to install it on a fresh client, the first action "Copying Windows Files" happens in about 2 seconds, showing a successful green checkmark. Then the second action (Getting files ready [...] read more
wds
windows-8.1
2votes
1answer

User can not access network printers with Windows 7 connected to Windows 2008 R2

A single user on Windows 7 on a Windows Domain can not access/use/manipulate network printers shared from a server running Windows 2008 R2. The error that occurs is "0x00000005 Access is denied". Any other user I create in the system can access and print to said printers, even with identical [...] read more
windows
shared-printers
2votes
2answers

Robocopy access denied, despite having Full Control?

Pretty straightforward script: ROBOCOPY \\servername\S$\SCCM2012\SCCMPackageSource\Files C:\Files /S /COPYALL /MIR /IS /LOG:C:\Copy.log I can run this as administrator just fine, and all the files get copied correctly. However when I push this script to a computer as an Application via SCCM 2012 and run it, the log file gives me the [...] read more
batch-file
cmd
robocopy
sccm
2votes
2answers

Handling a VB6 event in C# - why does it only work sometimes?

I have a VB6 application implemented as an ActiveX exe. I also have a C# application that interacts with the VB6 app via COM. This all works fine except in one scenario. If the VB6 app is kicked off from the C# app, everything is fine. If, however, the VB6 [...] read more
c#
vb6
interop
event-handling
events
2votes
1answer

Why is paging not working and getting physical address not available error on Bochs

I have the following assembly code to set up paging for long mode. org 0x7e00 bits 32 mov eax, 0x08000008 mov cr3, eax pml4t: mov dword [0x8000], 0x0900000f mov dword [0x8004], 0x0 pdpt: mov dword [0x9000], 0x0a00000f mov dword [0x9004], 0x0 pdt: mov dword [0xa000], 0x0b00000f mov dword [0xa004], 0x0 [...] read more
assembly
x86
paging
bootloader
2votes
1answer

jInterop - Access is denied [0x00000005]

We have an application with a java component and a com component, the communication between which is facilitated through j-Interop. We have been using this for almost 3 years with no major issues, but only recently we have observed that our java components fails while it tries to commumnicate with [...] read more
java
com-interop
2votes
1answer

Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
c
embedded
stm32
bare-metal
cmsis
2votes
1answer

RoboCopy "Access Denied" Does not return failure

I have a powershell script to copy files from one computer to another UNC, using robocopy. Recently, it was run with a new user account, and got an Access Denied on the target. The retry limit was set to 10, so it failed out at that point. The problem is [...] read more
powershell
robocopy
2votes
2answers

gcsfuse touch: cannot touch ‘test2/test.txt’: Input/output error

I am trying to mount a google bucket using gcsfuse. I am able to mount it but am getting an input/output error message when I try to use touch to test making files inside of it. The command below shows that there are no errors trying to connect to the [...] read more
google-cloud-platform
google-cloud-storage
gcsfuse
2votes
1answer

Windows 10 Update to 1903 Error: 0x8007042B - 0x2000D

The update starts on the windows 10 machine but after the restart everything is rolled back. My setuperr.txt: 2019-07-16 16:38:55, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #10# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 974 ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034] 2019-07-16 16:38:55, Error [...] read more
windows-10
windows-update
2votes
0answers

If ESENT complains that it cannot create its logfile, is it avoidable?

In my installation of Windows 10 on a fairly new machine that shipped with it, I get a lot of errors in my eventvwr log, and some of them I feel are indicative of why my system hits 100% disk use for about 10 minutes at a time on boot. [...] read more
windows-10
event-log
2votes
1answer

Trouble copying a folder from my computer to another network computer using ROBOCOPY

I am trying to write a batch file to copy all files and subfolders in a folder from my local machine to another machine on our network. I am trying to use the ROBOCOPY command and would like the command to either copy the files to an existing folder on [...] read more
networking
command-line
batch
1vote
0answers

Hyper-V Core Server 2019 ignoring power plan thresholds

I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
hyper-v
ups
1vote
2answers

Copying files from one machine to several others, all on the same small network

I'm looking to automate a copying job that I usually do manually. I've never worked with scripting, and I have little networking knowledge, so it's entirely possible that the answer is simpler than I realize, but I've had no luck so far. The Details I have several Windows 10 computers [...] read more
networking
permissions
robocopy
1vote
2answers

Uncorrectable Machine Check Exception on HP DL360 G7

i have about every hour in IML (hplog) from HP DL360 G7 record: -------------------------------------------------------------------------------- CRITICAL: CPU - Uncorrectable Machine Check Exception (Board 0, Processor 1, APIC ID 0x00000003, Bank 0x00000005, Status 0xBE000000'00800400, Address 0x00003FFF'811239E0, Misc 0x00000000'00007FFF) -------------------------------------------------------------------------------- hpasmcli> show server System : ProLiant DL360 G7 ROM version : P68 09/30/2010 [...] read more
hardware
hp
hp-proliant
central-processing-unit
1vote
1answer

Samba4 net join member fails

I'm trying to join a RHEL6 server using samba4 to a domain. Net ads join works correctly, join member does not however. Effectively wbinfo --getdcname does not work where as wbinfo --dsgetdcname does. If some light could be shed on the difference between these commands that would be very helpful. [...] read more
active-directory
samba
winbind
samba4
1vote
1answer

Deploy Windows 7 to OpenStack - Windows Setup Error when instance boots

I created Windows 7 Pro 64 images and all are getting this error. I configured them to use virtio disk and network adapter using the 1-74 drivers. They work fine locally (kvm on ubuntu 13, qcow2 drive, virtio nic and disk), but when I upload them to my org's OpenStack [...] read more
windows-7
openstack
sysprep
1vote
1answer

Why am I not receiving interrupts on Port Status Change Event with the Intel's xHC on QEMU?

I'm coding a small OS kernel which is supposed to have a driver for the Intel's xHC (extensible host controller). I got to a point where I can actually generate Port Status Change Events by resetting the root hub ports. I'm using QEMU for virtualization. I ask QEMU to emulate [...] read more
c++
x86
usb
osdev
hci
1vote
1answer

xcode attach to debugger fails when attempting "Debug Selected View" from the editor menu

I am trying to debug Views with IBDesignables (I like using them for composed views, but without being able to debug, it's quite annoying to check for issues). There is an option on xcode's menu under editor -> Debug Selected View, but when I try to do that, the debugger [...] read more
ios
xcode
interface-builder
1vote
2answers

RoboCopy giving error in universal file path

I am conducting some Arduino HID research. I was trying to set my Leo to open powershell and make a back up of all the .pdfs in my Documents folders to a flash drive by volume name. I want this to be portable to different machines. So a specified file [...] read more
windows
powershell
cmd
scripting
robocopy
1vote
1answer

Get Device id using ipmitool failed

I'm executing below command for getting Device ID from BMC but I got error Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) ipmitool -I lanplus -H 192.168.0.147 -U root -P root raw 0x06 0x01 Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) I have give verbose option to [...] read more
ipmitool
1vote
3answers

TFS Release, running PowerShell, cannot create DtlDownloads

I am trying to get some automatic deployments up and running using TFS 15 (on-premise). I have a powershell script on the deployment target to call. The deployments starts fine by downloading the artifact. But when the agent runs the script it wants to create a folder C:\Windows\DtlDownloads (thats not [...] read more
tfs
ms-release-management
1vote
0answers

bomblab phase_6: Where did I make mistake?

This is the code of node6. 0x00005555555558ab <+0>: endbr64 0x00005555555558af <+4>: push %r14 0x00005555555558b1 <+6>: push %r13 0x00005555555558b3 <+8>: push %r12 0x00005555555558b5 <+10>: push %rbp 0x00005555555558b6 <+11>: push %rbx 0x00005555555558b7 <+12>: sub $0x60,%rsp 0x00005555555558bb <+16>: mov %fs:0x28,%rax 0x00005555555558c4 <+25>: mov %rax,0x58(%rsp) 0x00005555555558c9 <+30>: xor %eax,%eax 0x00005555555558cb <+32>: mov %rsp,%r13 0x00005555555558ce [...] read more
assembly
x86-64
reverse-engineering
1vote
0answers

Why does Bochs crash on simple mov instruction

I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
assembly
x86
qemu
bootloader
bochs
1vote
1answer

How to correctly parse nested json with Python where several keys are equal

I have a problem with flatten / json_normalize functions. There's a nested json with 6 "receipts" in it, but flattening this json gives me only 1 row with 1 receipt, which is also last, I need all 6 in my pandas dataframe. [ { "_index": "packets-2020-02-03", "_type": "receipts_file", "_score": null, [...] read more
json
python-3.x
pandas
normalization
flatten
1vote
2answers

How do I download a file using windows command line without having to input a proxy password?

After looking at various stackoverflow questions, I found several ways to download a file from a command line without interaction from the user. The only one that worked for me also works only on Windows 10 natively : curl -sko %TEMP%\file.txt "https://some.hostname/file.txt" But installing an external tool like wget/curl is [...] read more
windows
powershell
command-line
http-proxy
1vote
1answer

How to check if certain uint has 0x01000000 mask applied?

I do some reverse engineering. There is an uint value indicating slot number where something is stored. But there is different types of storages. When something stored in different storage the value has 0x01000000 mask applied. And when it stored in one more storage the mask is 0x02000000. My function [...] read more
c#
bit-fields
1vote
2answers

Android Studio problem ; java.lang.IllegalStateException: Could not execute method for android:onClick

I am new in Android studio, I am creating an app and I can't get it to run properly. The purpose is When I press the button order, one of the textView's shows in text "5", by default is 0. This is the activitymain.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" [...] read more
java
android
1vote
2answers

Convert column values to float using a conversion function

Given the following CSV +-------------------------------+-------------+--------------------+--------------+ | Timestamp | DoublePoint | HexPoint | BooleanPoint | +-------------------------------+-------------+--------------------+--------------+ | 07/23/2019 16:53:12.523-07:00 | 0.0 | 0x0000000000000001 | True | | 07/23/2019 16:53:14.519-07:00 | 0.0 | 0x0000000000000002 | False | | 07/23/2019 16:53:16.516-07:00 | 0.25 | 0x0000000000000003 | true | | 07/23/2019 16:53:18.513-07:00 | 0.25 [...] read more
python
python-3.x
pandas
csv
1vote
1answer

pymqi on macos Library not loaded: @rpath/libmqic_r.dylib

I'm trying to set up IBM MQ and pymqi on my macbook. MQ is done via docker, no issues there. I've installed the IBM MQ from https://developer.ibm.com/messaging/2019/02/05/ibm-mq-macos-toolkit-for-developers/ and followed the instructions. I pip installed pymqi with no issues after that. But when simply running import pymqi I get ImportError: dlopen(/Users/.../Library/Python/2.7/lib/python/site-packages/pymqi/pymqe.so, [...] read more
python
python-2.7
ibm-mq
pymqi
1vote
1answer

PCI driver 'Oops: Kernel access of bad area' error

I wanted to write a simple PCI express driver for Xilinx FPGA. But I am not able to request memory region for PCI. Question is: How to claim that I/O memory area for custom driver. I want to write 3. byte of that area using driver. Below are the details. [...] read more
linux
linux-kernel
linux-device-driver
embedded-linux
device-driver
1vote
1answer

Are integers always placed before character array in memory by the gcc compiler?

I am trying a simple buffer overflow in C from HTAOE book . This is the code : #include<stdio.h> #include<string.h> int main(int argc, char *argv[]){ int val0=10; char buffer_two[8], buffer_one[8]; int val1=5; strcpy(buffer_one, "one"); strcpy(buffer_two, "two"); printf("[BEFORE] buffer_two is at @%p contains \'%s\'\n", buffer_two, buffer_two); printf("[BEFORE] buffer_one is at @%p [...] read more
c
arrays
gcc
memory
buffer-overflow
1vote
0answers

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
ios
nativescript
nativescript-angular
1vote
1answer

Linking error while cross compiling Qt5 for Beaglebone

Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more
linker
qt5
cross-compiling
beagleboneblack
1vote
0answers

Running runas/psexec in powershell remote session is not working

I have a remote machine where PS-Remoting enabled and I am able to run commands and scripts from my client/workstation. I want to run certain tasks as different user, in other words not the same user as I connect the remote-session. Why I am doing this ? I am using [...] read more
powershell
puppet
powershell-remoting
1vote
1answer

Robocopy Access Denied Error 5 From Powershell

I am copying files from my build server to a web server on Windows Server 2016. I am running the following from PowerShell. I am running this script with an administer account which has read/write access to the destination directory. robocopy $Path\Items $_\Items /Sec /copy:DT /MIR /NDL /NS /NP /MT [...] read more
powershell
robocopy
1vote
1answer

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
1answer

Process.GetProcesses and IsWow64Process does not return all the running processes

Im using this simple code to list all the running processes and their architecture (32bit or 64bit) on console, And it works nearly accurate but the number of processes in result is not even half of what i see in WindowsTaskManager or ProcessHacker. Most of my running processes are not [...] read more
c#
import
cpu-architecture
windows-process
1vote
0answers

cannot access memory at address 0x10084 when trying to set breakpoint via gdb

I wrote this simple assembly-program (based on a tutorial, only slightly changed.) @ p = q + r + s @ let q=2, r=4, s=5 @ this version of the simple-equation stores in memory p: .space 4 @reserve 4 bytes in memory for variable p q: .word 2 @create 32-bit [...] read more
debugging
assembly
memory
arm
gdb
1vote
0answers

How to install WCF class library project as a windows service programmatically in C#

Trying to create the windows service programmatically. Found out the reference from stackoverflow to do it. However the parameter filename in InstallAndStart method expects a .exe In my case, my WCF project which i want to host as windows service is a Service library project. Hence the output is in [...] read more
c#
wcf
windows-services
1vote
1answer

Binary Bomb phase 6 no nodes

This question is based on the same project as the other Binary Bomb Phase 6 questions (most likely will be related links), but for some reason I can't find the nodes themselves, to check their increasing/decreasing values. When I try to use the function: x/3x $eax, it returns: Cannot access [...] read more
assembly
x86
gdb
reverse-engineering
1vote
0answers

How to prevent maximum recursion runtime error in python when using the libtiff library

In the past few years I have worked with the libtiff library and I have developed some classes and scripts around it. I felt confident to now use my insights in a larger project. Instead of opening one TIFF file, I had to now open many of them. The runtime [...] read more
python
recursion
runtime-error
ctypes
libtiff
1vote
0answers

How to get ROBOCOPY to throw an error when there's denied access

I am using ROBOCOPY to copy some files from folder A to folder B. I have purposefully made folder B inaccessible using NTFS permission to throw an error so that it can take a different action when copy is failed. However it seems that ROBOCOPY is not throwing a errorlevel [...] read more
robocopy
1vote
1answer

Robocopy will not copy files involving any external drives

I am attempting to back up data onto some external hard drives as a part of my job, the data sets can be over 100GB in size with specific file structure so using robocopy is a must. When I run this command where G:\ is an external hard drive or [...] read more
windows-7
permissions
cmd.exe
robocopy
1vote
0answers

Why upgrading to Windows 10 anniversity edition fails

After running upgrade Windows 10 to anniversity edition screen in blank. After computer restart windows 10 restores its previous version. Tried two times but problem persists. How to upgrade ? Earlier Windows 10 works OK, all windows 10 uodates are installed. C:\$WINDOWS.~BT\Sources\Panther\setuperr.log contains: 2016-08-06 11:20:32, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
1vote
1answer

Xcopy or Robocopy from Network folder to SharePoint(2013)

I am trying to copy files from a network folder to a SharePoint folder. I have read/write permissions to the SP folder and can manually upload documents to it. I was able to get the .bat to work 1 time but after that I keep getting the following log message: [...] read more
command-line
batch
sharepoint
1vote
1answer

Robocopy - NTFS Access is Denied

I am trying to backup a disk from one share to another using robocopy with the following command: robocopy \\servername\E$ \\servername\F$\Copy /E /ZB /copyall /r:5 /w:30 /dcopy:T /log:"C:\Temp\log.log" /v /fp /tee /eta However whenever I try to execute the command (with Admin privileges), I get the following error: ERROR 5 [...] read more
command-line
ntfs
network-shares
windows-server-2012
robocopy
1vote
3answers

Freebsd (Freenas 8) and robocopy gives Error 5 Time-Stamping Destination File WHy?

I have a NAS running FreeBSD/FreeNas 8.0.4 When I copy files from a windows system to it via SMB/CIFS normally (explorer/copy) it all goes fine. User can create/delete/update files When i attempt the same thing with Robocopy. I get either of 2 errors, depending on command. robocopy .\ \\freenas\temp *.* [...] read more
freebsd
freenas
robocopy
1vote
1answer

Macbook kernel panic, esp. during DLs, kernel_task causing page fault

I've owned a 2010 13" Macbook for a little over a year and throughout that time have often downloaded files from sites like MediaFire and RapidShare without any problems. However in the past few months, initiating downloads from these sites has triggered a seemingly increasing number of kernel panics. The [...] read more
macos
kernel-panic
1vote
1answer

Access denied error with robocopy as admin

> Possible Duplicate: > Robocopy permission denied When trying to run the following command robocopy d:\directory \\server\directory /S /XO /COPY:DT I get an access denied error. I am running Vista Ultimate x64, Administrator permissions, I am the owner of both directories. I saw this question and thought it was similar, [...] read more
windows-vista
robocopy
0votes
3answers

Migrating Domain Controller from Windows 2003 SBS

I'm trying to migrate DC from Windows Server 2003 SBS to Windows Server 2016. Problems begin when I try to promote Server 2016 to domain controller. I get the following error message on 'Prerequisites Check' step: Verification of outbound replication failed. Error reading the NTDS settings on replication source domain [...] read more
active-directory
windows-server-2003
domain-controller
migration
0votes
3answers

Unable to export VM from Hyper-V

TLDR; Incorrect function (0x80070001) means the Hard Disk is stuffed. If this is you, hope you had backups! The full story I'm trying to move a Virtual Machine from 1 disk to another on the host. However, when I try to export the VM it runs for about 15 minutes [...] read more
hyper-v
windows-server-2016
0votes
2answers

Samba4 join NT_STATUS_CONNECTION_REFUSED error

I have a Centos 7.2 server running Samba 4.6.13 as an active directory domain controller. I am trying to join a new Fedora 27 server running Samba 4.7.5 to the domain. The domain command will not connect to the other server. I have firewall disabled on both servers, I can [...] read more
samba4
0votes
2answers

ROBOCOPY - Getting File System Type of Destination - Access is denied

I am trying to run a copy command to transfer a Zip file from the local file system to a UNC path on a different server. The file does copy but I get the below error and exit code 1. The user has full permissions on the destination folder. Command: [...] read more
robocopy
0votes
1answer

Sync WindowsImageBackup folder

I have a server running Windows Server 2016 Essentials. (Usually try and avoid the SBS type versions although I was hoping they hadn't hobbled things in 2016, ... but yes, they have) This customers previous server backed up to a NAS using Symantec System Recovery, which we've always had good [...] read more
robocopy
windows-server-backup
windows-server-essentials
0votes
0answers

1TB .vhd won't copy via Robocopy, access denied error 5

OK, I'm about to drive down to Mexico and bust this server with a hammer. Basically, the RAID 5 array is hosed, so we need to copy everything off it so we can rebuild the array. I have everything copied off the drive so far, EXCEPT for the .vhd for [...] read more
windows-server-2008-r2
robocopy
vhd
0votes
0answers

How do I run dnscmd via ssh?

I am looking for a working solution that would allow me to run dnscmd and other similar commands that do require you to logged in into a domain via SSH, so I can execute them freely from my machine (which is obviously not a Windows one). I already configured Cygwin, [...] read more
cygwin
cygwin-sshd
0votes
0answers

Remote Desktop Services stopped working after domain change

I had Remote Desktop Services (RD Session Host deployment) functioning properly on the Windows Server 2012 R2. The server had to be moved to another domain. That went well but now Remote Desktop Services completely lost the configuration which I expected. I tried removing the roles and features and adding [...] read more
windows-server-2012-r2
remote-desktop-services
0votes
0answers

How to Form the SQL Connection String while on Mac Terminal via Docker MSSQL Linux Container - Locally

I'm missing something here, and if someone could help clarify I'd greatly appreciate it: I have a Docker Ubuntu container running mcr.microsoft.com/mssql/server:2019-latest called sql1 on my Mac I also have an outside .net core 2 project from a friend i'm wanting to connect to and simply run update-database or dotnet [...] read more
sql
.net
sql-server
docker
connection-string
0votes
0answers

Esp32 AsynWebserver Websocket Crush

I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] read more
websocket
webserver
esp32
arduino-esp32
0votes
0answers

Windows Time service won't synchronize

I'm posting my problem here because even with all the post I could read to fix this, the w32tm still give me the same error message when trying to synchronize the computer time with a local NTP server (which is a PLC). Here's a quick explanation of the situation : [...] read more
windows
synchronization
windows-services
wireshark
ntp
0votes
1answer

"add-symbol-file" can't recognize .bss & .data symbols when using kgdb to debug kernel modules

I am trying to use gdb 8.3.1 for the kernel module on RPI-4 board. When I use the command add-symbol-file to add .bss and .data sections, it doesn't work. The Kernel version is 5.4 and CONFIG_DEBUG_INFO is turned on. I list the simple code, dmesg and kgdb info below. If [...] read more
c
linux
debugging
linux-kernel
gdb
0votes
0answers

Xcode lldb can't attach to MacOS system program /bin/cp - "Not allowed to attach to process."

When I try to use LLDB included with Xcode 12.4 to run the Unix cp command on either macOS Catalina 10.15.7 and Big Sur 11.2.2, LLDB freezes for several seconds when I start the process, then fails with the following error: > error: process exited with status -1 (attach failed [...] read more
xcode
debugging
lldb
0votes
2answers

Buffer overflow that doesn't overflow

I am currently learning exploitation from the book Art of Exploitation. The first code in Exploitation part basically taught me a very basic overflow. This is the code from the book: #include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { int value = 5; char buffer_one[8], buffer_two[8]; strcpy(buffer_one, "one"); [...] read more
c
buffer-overflow
0votes
1answer

Read process information. Win32Exception ERROR_PARTIAL_COPY

I want to get the process id of Microsoft Movies & TV (Video.UI.exe). When I loop through all the processes to check if the file name contains Video.UI.exe I get a lot of Win32Exceptions which I expected. I thought so. I only expected NativeErrorCode 0x00000005 'Access denied' because I'm not [...] read more
c#
process
win32exception
0votes
0answers

Audio recording from two microphones on android using oboe library

I am quite new in android and java development. I have access to an app that was written by my teammate for CAT S61 phone using oboe library. The phone is using the two microphones to localize a sound source using audio of both microphones. However, when I try it [...] read more
java
android
audio-recording
oboe
0votes
0answers

Guru Meditation Error: Core 0 panic'ed (LoadProhibited),(Interrupt wdt timeout on CPU1)

I was trying to record light intensity values for a Li-Fi project. This is my code: #include <soc/sens_reg.h> #include <soc/sens_struct.h> #include <driver/adc.h> #include <SD.h> #define ADC1_GPIO36_CHANNEL ADC1_CHANNEL_0 #include <adc_channel.h> const char filename1[] = "/part1.dat"; const char filename2[] = "/part2.dat"; File file1, file2; int local_adc1_read(int channel) { uint16_t adc_value; SENS.sar_meas_start1.sar1_en_pad = [...] read more
interrupt
esp32
arduino-ide
adc
0votes
1answer

Shift 32 bit Numbers on a 16 bit Datapath

HOW TO SHIFT 32 BIT NUMBERS ON A 16 BIT DATAPATH This is a computer architecture question. -------------------------------------------------------------------------------- My datapath is only 16 bit wide, meaning my ALU can only process 16 bit operands at a time. My registers are 32 bits wide and are addressable in lower and upper [...] read more
cpu-architecture
32-bit
riscv
16-bit
riscv32
0votes
0answers

Having issues with a Frida gadget on an emulated Android device

I am trying to inject a Frida gadget into an Android App which is already installed on an emulated (MEmu) Android 7.1 rooted system. When I connect to the device using adb, I can see that the files are store here: ASUS_Z01QD:/data/app/com.turtle.foo.bar-1 # ls base.apk lib oat split_config.armeabi_v7a.apk The MEmu [...] read more
android
arm
apk
emulation
frida
0votes
3answers

onAudioReady callback method for Oboe is never called

I'm using Oboe library for a music android app developing in Qt. In my sound processing class which dervives from AudioStreamCallback I use the builder to create both a recording and playback stream and this works fine and I received AAUDIO_OK as a result for opening boths streams. I've registered [...] read more
android
c++
qt
oboe
0votes
0answers

Confused about Y86 assembly code memory storage

I've been using an online compiler but I'm not sure why the memory is being split the way it is It's coming out as: 00a8 0000001d 00ac 01000000 when 00a8 should just hold the whole hex value as 0000011d. .pos 0 irmovl $1, %eax # int i = 1 irmovl [...] read more
memory
y86
0votes
0answers

Computer crashed after attempting to start bettercap http/api server. I copied some errors from journalctl --system. The output baffles me

There is something strange going on here. In the log, it mentions two other private IPs that I definitely do not use. Especially since it's on a different IP subnet. I've noticed this the other day and was actually able to ping them. Still can. The other thing I seen [...] read more
crash
out-of-memory
httpserver
0votes
0answers

Why is my 'buffer overflow' program not resulting in the buffer being overflowed on Windows but does overflow when using the program on Linux?

I am currently learning about buffer overflows and programmed an example of one in C which uses two buffers, buffer two is deliberately supposed to have more bytes than it should be able to handle but somehow in Windows, it shows that the extra bytes are still in buffer two [...] read more
c
overflow
0votes
0answers

How can I find the node6

I found that I needed to input 6 integers, and that the integers consist of 1 to 6. And I found the node1 ~ node5. But, this phase needs 6 nodes. So I looked for more, but instead of node 6, I found'host_table'. (gdb) x/3x 0x555555559230 0x555555559230 <node1>: 0x00000303 0x00000001 [...] read more
x86-64
reverse-engineering
disassembly
0votes
0answers

Java or Solaris issue

so i have been tasked with migrating some machines mainly all windows and all has gone well until now with one machine giving us this error. As i am no software techie type and have never used Solaris or java for apps its puzzled me and I am wondering if [...] read more
java
oracle
solaris
0votes
1answer

Segfault in qemu user emulation of Android binary

I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For example: Build $ i686-linux-android28-clang hello_world.c -o hello_world Check dependecies and paths $ file ./hello_world [...] read more
android
segmentation-fault
emulation
qemu
0votes
0answers

Why the top of the stack contain the address of <_dl_fini>?

I disassemble the next simple source: #include <stdio.h> void func3() { int i = 11; printf("\t\t\t[in func3] i = %d\n", i); } void func2() { int i = 7; printf("\t\t[in func2] i = %d\n", i); func3(); printf("\t\t[back in func2] i = %d\n", i); } void func1() { int i = [...] read more
c
gdb
x86-64
cpu-registers
callstack
0votes
0answers

ET035009DH6 lcd display config

The display (ET035009DH6) stays dark with the following configuration. The backlight is on. Touch is working. ETM035009EDH6 Spec * Toradex Colibri iMX6ULL 512MB V1.1A * Toradex Colibri Evaluation Board Rev. 3.2 * ET035009DH6 * angstrom-lxde-image Device Tree lcdif@021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x00004000>; interrupts = <0x00000000 [...] read more
embedded-linux
yocto
u-boot
lcd
imx6
0votes
0answers

How to get TLV data from kannel by using meta-data

Pcap of kannel shows that it received the 4 TLV in deliver_sm, but when i want to fetch the same in dlr-url by using meta-data=%D I am not getting all 4 TLV Params. 1. I am hitting this curl URL : http://IP ADDRESS:PORT/cgi-bin/sendsms?username=dummy&password=dummy&to=91ext=This+is+a+test+message&dlr-mask=23&coding=0&dlr-url=http%3A%2F%2F10.0.6.100%3A9992%2Fdlrhandler%2Fdlrrequestlistener%3Fstatus%3D%25d%26msgdetail%3D%25A%26meta-data%3D%25D basically I am using %D to fetch [...] read more
smpp
kannel
tlv
0votes
0answers

How to start the ApacheDS as a windows service in background using batch file or powershell script?

I want to write a batch file or powershell script as a wrapper that can invoke apacheds.bat provided by ApacheDS to create a new ApacheDS instance and register it as a windows service. Currently I use C# to create powershell process and pass argument: "-c & '$scriptFullName' -Service" to powershell [...] read more
powershell
batch-file
windows-services
apacheds
0votes
0answers

How to wait for characters from UART and transmit back on the UART in ARM Cortex -M3 emulated by Qemu

I am trying to do the echo of the data received on the UART, i.e wait for the characters from the UART and transmit it back on the UART. I am emulating the LM3S811 board in QEMU. I have attached the .c file and the startup and linker code. I [...] read more
assembly
arm
microcontroller
microprocessors
cortex-m3
0votes
0answers

How to dislay number to UART with lpc2148 and simulation on Proteus?

I am writing a code to count the number of times a person enters a room and display it using UART. For the purpose of counting I am using IR sensor, connected to pin 0.2. So whenever this pin is low increment the count value and display it using UART. [...] read more
arm
keil
proteus
0votes
1answer

Same HTTP request passes with CURL_CLI but fails with LIBCURL

Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
c
curl
libcurl
0votes
0answers

Is there a way to access the shared memory(File Mapping Object) from a process that is executed as AppContainer?

Say there is two processes: server and client. Server simply calls CreateFileMapping() to create file mapping object and commits the memory by calling MapViewOfFile() and write on that memory. Meanwhile, client tries to access the memory and only reads what is written on the memory. There is no problem when [...] read more
c++
memory
shared-memory
dll-injection
file-mapping
0votes
3answers

iOS app crashes due to unknown error NO_CRASH_STACK + 0

Users complained that the application began to crash at startup. Users use ios 9.3 or 10.3. Application crashes due to an unknown error. This error is not reported in Crashlytics. I see an error in Xcode - Window - Organizer - Crashes, but there are no details: NO_CRASH_STACK + 0 [...] read more
ios
xcode
0votes
1answer

Binary bomb- phase 6

This is the disassembly of phase_6: 08048dbf <phase_6>: 8048dbf: 55 push %ebp 8048dc0: 89 e5 mov %esp,%ebp 8048dc2: 83 ec 18 sub $0x18,%esp 8048dc5: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 8048dcc: 00 8048dcd: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 8048dd4: 00 8048dd5: c7 44 [...] read more
assembly
x86
reverse-engineering
0votes
1answer

Difficulties Understanding Format String Exploitation

I am reading a book, Hacking: The Art of Exploitation 2nd Edition, and I'm at the chapter of format string vulnerability. I read the chapter multiple times but I'm unable to clearly understand it, even with some googling. So, in the book there is this vulnerable code: char text[1024]; ... [...] read more
c
format-string
stack-memory
0votes
2answers

Porting a simple MIPS32 program to MIPS64

I am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent. The main issue that I am facing is the following line: bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero. I am not sure why this line causes an error? The instruction [...] read more
assembly
porting
mips32
mips64
edumips64
0votes
1answer

StoreProhibited Error on ESP32 when calling i2s_read function

I am trying to use a microphone sensor on my esp32 microcontroller. Currently, it is running the ESP-IDF framework. The microphone is the sph0645lm4h-b. I am using the I2S protocol to connect to the sensor. I2S config is shown below: void i2s_init() { i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER [...] read more
c
microcontroller
microphone
esp32
0votes
0answers

C# web API: Why int value changing to hex value by itself?

I am facing some weird issue, appreciate any help on this. I am using VS 2019 and .Net Core 2.2. In VS created new web api and if I pass integer value 5 in the controller the id value shows as hex ( id = 0x00000005) also I declared integer [...] read more
c#
.net
webapi
0votes
2answers

Robocopy - Backup between network computers

I am trying to use Robocopy to perform a backup on a daily basis and only update files which have either been updated, or they are new files. At the moment I am using the following script within a Batch file:- @ECHO OFF SETLOCAL SET _source="\\REMOTE-SERVER\Share" SET _dest="\\LS-WXLDE8\Shared_QP" SET _what=/COPYALL [...] read more
batch-file
cmd
robocopy
0votes
1answer

How to declare COM interface with properties in C++

I'm trying to call a registered COM interface (Inproc dll) in an Eclipse C++ environment (MinGW GCC toolchain). I therefore don't believe that I can simply import the dll typelib the way I typically would in Visual C++. I'm trying to define the interface myself to simplify the function calls [...] read more
c++
interface
com
idispatch
0votes
2answers

E_UNEXPECTED in MESessionStarted event when topology has two branches

I am working on a session topology that records a video (with audio) while showing the video stream with an EVR. I am using SampleGrabber sinks for the video and audio streams so I can easily control when I start/end recording (using a sinkwriter) and extract sample data as I [...] read more
audio
video
video-capture
ms-media-foundation
audio-capture
0votes
1answer

Error invoking Windows DLL function from Python

I have a Windows DLL that exposes a function. Let's call it Fn. It takes two CStrings as parameters and returns a CString: CString Fn(CString a, CString b) The C++ code you see below successfully loads the DLL and invokes Fn. A side effect of Fn is that it prints [...] read more
python
c++
windows
dll
ctypes
0votes
2answers

LPC2148 UART interrupt

I am using LPC2148 with SIM800L on UART1 using interrupt. When I use memset(buff, 0 , sizeof(buff)); in while(1) at first the program works fine but when while(1) loop runs again it prints error over and over but when I comment the memset(buff, 0, sizeof(buff)); it works fine. So why [...] read more
c
interrupt
uart
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
1answer

Reduce flickering when using SetWindowPos to change the left edge of a window

Update 1: Here's the simplified version: So I have a special fixed-size child window that I want to make it stay at the right side of the resizable main window. When users resize the main window by dragging the left/right edge of it, WM_WINDOWPOSCHANGED is sent, the child window will [...] read more
winapi
resize
flicker
0votes
0answers

Copying the files from one server to another server getting NTFS error

I am using one batch file to copy files from one server to another server. That batch file run fine when I run it manually, but I run the same batch file using task scheduler am getting below error. > ERROR 5 (0x00000005) Getting File System Type of Source > [...] read more
batch-file
robocopy
0votes
0answers

How to read values from the potentiometer through ADC in STM32f4?

I am trying to read the values from potentiometer which is connected to pin A0 (ADC channel 0 of STM32f407VG discovery board). I have attached my code. The problem is that, the values that I read are not only constant, but also aren't affected by the rotation of potentiometer. Although [...] read more
arm
keil
stm32f4discovery
adc
0votes
1answer

How to derive all offered interface types from an COM idl?

My goals is to generate bridging code that allows to call a COM interface in Java. I do use successfully JNA, insofar as I get an handle to the interface and can successfully work with most of the functionality of the interface. I have a question regarding several interfaces that [...] read more
c#
com
ole
0votes
2answers

Address of variable lower than address of a pointer?

int main(int argc , char *argv[] ) { int value = 5; char buffer_one[8] , buffer_two[8]; strcpy(buffer_one,"one"); strcpy(buffer_two,"two"); printf("[BEFORE] buffer_two is at %p and containt \'%s\' \n ",buffer_two,buffer_two); printf("[BEFORE] buffer_one is at %p and containt \'%s\' \n ",buffer_one,buffer_one); printf("[BEFORE] value is at %p and is %d (0x%08x)\n",&value,value,value); } I got [...] read more
c
pointers
stack
heap
0votes
2answers

Windbg script - automatically parse each frame of a stack

Hullo, I am looking at a few stacks recently, and I'm manually finding a certain thing that I want to get the address of so that I can delve inside it with ??. For example: 00 00000005`9c88a558 00007ffa`bc2713ed ntdll!NtWaitForMultipleObjects+0xa 01 00000005`9c88a560 00007ffa`be477d51 KERNELBASE!WaitForMultipleObjectsEx+0xed 02 00000005`9c88a840 00007ffa`be477773 kernel32!WerpLaunchAeDebug+0x23a1 03 00000005`9c88adb0 00007ffa`bc351c1f [...] read more
scripting
windbg
0votes
0answers

Vagrant - launch using a private network

I tried to run private network using https://www.taniarascia.com/how-to-install-apache-php-7-1-and-mysql-on-ubuntu-with-vagrant/ I am trying to start vagranta using a private network but I am getting this message: There was an error while executing `VBoxManage`, and CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["hostonlyif", "create"] Stderr: [...] read more
apache
vagrant
virtualbox
0votes
1answer

BITS job throws an error trying to download a zip file

We get this error from the BITS job when trying to download a zip file from a remote server (we implemented an HTTP Handler for zip files on that server): ERROR CODE: 0x80200013 - The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that [...] read more
http-headers
httphandler
microsoft-bits
0votes
1answer

GCC different actual amount of memory allocation then i assigned to variables in program

#include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { int value = 5; char buffer_one[9], buffer_two[9]; strcpy(buffer_one, "one"); /* Put "one" into buffer_one. */ strcpy(buffer_two, "two"); /* Put "two" into buffer_two. */ printf("[BEFORE] buffer_two is at %p and contains \'%s\'\n", buffer_two, buffer_two); printf("[BEFORE] buffer_one is at %p and contains [...] read more
c
gcc
gdb
binaryfiles
0votes
1answer

handle drop event of drag and drop from ListView to ListView with UWP and C++/WinRT app

I am working on a simple UWP application written in C++/WinRT under Windows 10 that contains two ListView controls. The goal of this application is to learn how to select an item from one ListView control, drag it to the other ListView control, and drop the item so that it [...] read more
c++
xaml
uwp
drag-and-drop
c++-winrt
0votes
0answers

ARM car Head Unit - extract rootfs from cpio

Got an ARM powered head unit and im trying to get the rootfs (ramdisk) out of the kernel image. I found uImage header and was able to extract the zImage. Using binwalk i found gzip data in the zImage, which I also extracted. I get a file called 20C50.cpio, which [...] read more
linux-kernel
u-boot
firmware
cpio
0votes
1answer

Windows 10: enumerating sessionnames - access is denied

When I open Task Manager, Processes and Users tabs are empty. There are a lot of topic over the internet with the problem, but I couldn't find a fix for the problem. Then tried to open a cmd prompt and type "quser", the result is: C:\Windows\system32>quser Error 0x00000005 enumerating sessionnames [...] read more
windows-10
permissions
task-manager
0votes
1answer

How to change Power options through registry or through command line?

I want to change powercfg.cpl "Power Options" directly through registry. Specifically I want to change this: enter image description here [https://i.stack.imgur.com/R2Fqq.png] To these settings: enter image description here [https://i.stack.imgur.com/mQyWK.png] I am using a desktop computer on alternating current power, therefore power saving is unnecessary and it impairs performance; I have [...] read more
windows-10
command-line
windows-registry
power-management
0votes
2answers

Please help interpret setuperr.log from failed Win10 1903 Update

I'm trying to update to Win10 1903 from 1803 but keep getting BSOD with 0xc1900101 code. I've tried removing attached USB devices and disabling my overclock, without success. Today I learned that there is a setup error log, which you can see below, but I don't understand what it's telling [...] read more
windows-10
updates
windows-10-v1903
0votes
0answers

Windows update from 1803 fails with 0x8007042B - 0x2000D SAFE_OS phase during MIGRATE_DATA operation

I am updating a Windows 10 PC from 1803 (to the latest OS which is 1909) and it's failing with this error: 0x8007042B - 0x2000D The installation failed in the SAFE_OS phase with an error during MIGRATE_DATA operation It fails the same way each time, pretty much down to the [...] read more
windows-10
0votes
2answers

Permissions for file share used by PC on same domain

I have created a script that runs on \\Server and writes to \\BackupServer\BackupShare. It works as expected when I run it myself. I then setup a job in Windows Task Scheduler to run as SYSTEM and the same script fails with error 0x00000005 permission denied. How to fix this? The [...] read more
windows
permissions
network-shares
windows-server-2012
0votes
1answer

Windows 10 Pro bluescreens during Windows update (Windows 1803)

Been having a recurring issue for months now where I cannot update my Windows 10 Pro N machine. It blue screens through the process and then when Windows restarts and attempts to repair it freezes around 44%. Inside C:\$Windows.~BT\Sources\Panther there are the follow errors: 2019-10-25 20:07:34, Error DU DU::CDUSession::Search: Failed [...] read more
windows-10
windows-update
bsod
0votes
2answers

ConEmu reports "Injecting hooks into PID" failure

After a recent Windows 10 update, my ConEmu has started reporting the following message in a popup when I open a new DOS (cmd.exe) prompt: > ConEmuC.M, PID=14284 > Injecting hooks into PID=11432 > FAILED, code=-703:0x00000005 I suspect this is caused by some kind of security update that was imposed [...] read more
conemu
0votes
0answers

How do I upgrade from Windows 10 1803 to 1809? I'm getting a failure 0x80070003

When attempting to upgrade from Windows 10 1803 to 1809, I get a failure every time. I tried Microsoft support and three reps were unable to assist me. I tried disabling all the startup programs, running the update troubleshooting tool, running Windows 10 update assistant, and downloading / installing from [...] read more
windows-10
windows-10-upgrade
0votes
0answers

robocopy to Drive File Stream Fails in powershell but not at command line Error 5

When I run the robocopy at an admin command prompt it runs successfully. > C:\Users\StoreMgr>robocopy "C:\Users\Public\Documents\Intuit\QuickBooks Point > of Sale 12.0\Data\Paracept" "G:\My Drive\Backup" qbpos1.db > > ROBOCOPY :: Robust File Copy for Windows Started : Friday, April 6, 2018 > 3:46:37 PM Source : C:\Users\Public\Documents\Intuit\QuickBooks Point of Sale > 12.0\Data\Paracept\ [...] read more
powershell
google-drive
robocopy
0votes
0answers

Upgrading to Windows 10 fall creator fails

This is the setuperr.log. 2018-01-23 16:43:24, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteInstallMode(723): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteDownlevelMode(347): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::Execute(237): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupHost::Execute(375): Result = [...] read more
windows-10-v1703
0votes
1answer

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings

My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
windows-10
sleep
power-management
dell-inspiron
0votes
0answers

How do I copy to the root of a network share with Robocopy?

I'm trying to copy very large amount of small files from one folder on my local drive array to a network share, and after trying many different methods of copying files I decided Robocopy might be best, but I keep getting weird errors that indicates Robocopy is trying to modify [...] read more
windows
network-shares
samba
robocopy
0votes
0answers

Windows 10 1607 upgrade issues

Sorry there's a lot of issues, they could be related so I will list them in one question. The issues are:- 1. As posted previously here Windows Update is failing to install the anniversary update. 2. I've since turned off Windows Update, until I can resolve issue #1 and now [...] read more
windows
windows-10-upgrade
sql-server
0votes
0answers

Cannot update to Windows 10 on HP 15-f014wm

I'm trying to update to Windows 10 on my 15-f014wm laptop. I'm using the "Windows10Upgrader9194.exe" (which updated itself, so the presumably version number at the end may be wrong) thing to update, but after trying to update, it restarts, shows me a window saying that Windows 10 couldn't be installed, [...] read more
windows
windows-update
windows-10-upgrade
0votes
0answers

Win 10 doesn't upgrade to November update or Redstone

I have an one year old ASUS laptop, which originally shipped with Win 8.1. When Windows 10 was released I upgraded without hassle to Windows 10. Trying to update to November update (Threshold-2) or more recently Redstone just doesn't work. The upgrade starts and finally Windows is restarting. Then after [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
0votes
0answers

Robocopy: ERROR 5 (0x00000005) Accessing Source Directory \\server\ParentFolder\ChildFolder\ Access is denied

I have the following robocopy command to copy the directory from a folder on the network location to another folder on the same network location: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^| findstr ^[0-9]') do (set ts=%%a) robocopy \\server\SharedFolder\ParentFolder\ChildFolder1 \\server\SharedFolder\ParentFolder\ChildFolder2 /log+:C:\Yash\log\log_%ts:~0,8%_%ts:~8,4%.log /e /xo /w:10 /r:2 /z [...] read more
permissions
batch
robocopy
asp.net
mvc
0votes
1answer

Bitsadmin Download Error

I saw a feed referring to downloading via bitsadmin (v.7.5.7601.17514) on Windows 7. I have trouble implementing this myself and continue to get errors when running the code when running from a batch file(which is my requirement) Errorcode: 0x80190194 Error Context: 0x00000005 The code is as follows: bitsadmin.exe /Transfer myDownloadJob [...] read more
command-line
download
batch-file
0votes
0answers

xbootmgr failing to run a trace, couldn't find a kernel logger

I am attempting to run a boot trace on a computer that is slow to log in using xbootmgr. It is a Windows 7 Professional computer that is on a domain. Based on the guide on this website: http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/ I installed the WPT, and ran the following command from the [...] read more
windows-7
performance
login
logging
diagnostic
0votes
2answers

Windows 8 upgrade fails

Upgrading windows 8 keeping programs and settings is not working. It fails at 47% of migrating settings and rolls back. This is the relevant part of the log (Sources/Panther/setuperr.log): 2013-02-03 00:02:02, Error [0x0803b6] MIG Can't retrieve group information for user NT SERVICE\MSSQLFDLauncher. NetUserGetLocalGroups failed 0x000008AD 2013-02-03 00:30:39, Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer [...] read more
windows-8
windows-8-upgrade
0votes
2answers

windows xp randomly reboots while transcoding videos with mencoder

A WinXP box (SP3, 32-bit) reboots randomly after I initiate batch transcoding of some videos using console mencoder. Event log has the following record: > The computer has rebooted from a bugcheck. The bugcheck was: 0x0000009c > (0x00000005, 0x8054e5f0, 0xb2000010, 0x04000e0f). A dump was saved in: > C:\WINDOWS\Minidump\Mini100310-04.dmp. I understand [...] read more
windows-xp
bsod
reboot
0votes
2answers

Windows Malicious Software Removal Tool log says it can't do all required actions. Should I be concerned?

Here's what the log file c:/Windows/debug/mrt.log of my Windows 7 install says: WARNING: Security policy doesn't allow for all actions MSRT may require. ->Scan ERROR: resource process://pid:6080 (code 0x00000005 (5)) ->Scan ERROR: resource process://pid:5300 (code 0x00000057 (87)) ->Scan ERROR: resource process://pid:3512 (code 0x00000057 (87)) I use the default setup. I [...] read more
windows-7
malware-removal
-1votes
0answers

Robocopy: ERROR 5 (0x00000005) Deleting Extra File \\location\to\my\file.txt Access is denied

I've created a Jenkins job which replicates files from source to destination. Both of them are network locations. Here is the script that I use: (IF NOT EXIST \\destination\files (net use \\destination\files /USER:"%my_user%" "%my_user_pwd%" ) ELSE (echo "mapped location already exists")) (C:\Windows\System32\Robocopy.exe \\source\files \\destination\files /XD cache configurations util logs /NDL [...] read more
windows
jenkins
robocopy
-2votes
1answer

Bomb Lab Phase 6 :Stuck on the last step

This is asm code for phase_6 08048de3 <phase_6>: 8048de3: 56 push %esi 8048de4: 53 push %ebx 8048de5: 83 ec 4c sub $0x4c,%esp 8048de8: 65 a1 14 00 00 00 mov %gs:0x14,%eax 8048dee: 89 44 24 44 mov %eax,0x44(%esp) 8048df2: 31 c0 xor %eax,%eax 8048df4: 8d 44 24 14 lea 0x14(%esp),%eax [...] read more
linux
assembly
x86
reverse-engineering

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0