Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [lock]

A generic term for placing a restriction of some sort. It could refer to placing a password-based or biometric protection over a device, a system or a set of data. It could also refer to placing read-only protection on certain configuration or data (like files). Questions using this tag can also be regarding the opposite action of unlocking.

1 vote
1 answer
1k views

Bluetooth/BlueZ - 'rfcomm listen' command does not terminate

I have an issue with rfcomm command - after invoking rfcomm listen 0 1 I have got (correctly) Waiting for connection on channel 1. Then, I am connecting to a device via Android's application Serial ...
user11823113's user avatar
1 vote
1 answer
691 views

Is there a risk that new kernel driver ee1004 could lock up spd eeprom?

For newer DDR4 DRAM modules SPD (Serial Presence Detect) data is no longer accessible through AT24C02-compatible EEPROMs (as per DDR3). DDR4 memory provides 512 bytes of data at one lower and one ...
beyondtime's user avatar
1 vote
1 answer
78 views

Locked out with a dark screen by a screenlock program, persistent during reboot

I need a way to regain access to my keyboard and screen brigthness. I always invoke my screensaver from a terminal in XMonad with the following command which I have aliased: setxkbmap -option ...
freecode's user avatar
1 vote
1 answer
3k views

Lock screen and time

When locking a session on Win7 using Ctr Alt + Del, the following screen appears. This image is of the pre-login screen, however this is the screen I wold like it displayed on. Is it possible to ...
jonboy's user avatar
  • 231
1 vote
1 answer
2k views

How do I find out which process is using a file when Process Explorer and Handle doesn't work?

How do i find out which process is using this file? Windows 8.1. C:\Users\Chloe\workspace\Teads>echo Hello > selenium.log The process cannot access the file because it is being used by another ...
Chloe's user avatar
  • 6,056
1 vote
1 answer
2k views

Release flock for a single command in bash script

I have a script that is launched by cron every day. The launch command looks something like this: flock -n /tmp/mylock.LOCK /path/to/script/script.sh Script script.sh updates configuration files for ...
Anton Guryanov's user avatar
1 vote
1 answer
5k views

How to track a file from NFS in Linux is being locked?

I've some codes on a NFS which is shared with two load balancer servers. Sometimes the waiting time of a request is getting longer and I suspect the files may be getting locked with a request while ...
Vijay's user avatar
  • 125
1 vote
1 answer
518 views

My Backups are all flocked up

I have cron job that runs an rsync command that does a remote backup every two hours. In the event that the previous remote backup is still running, I've encapsulated this rysnc command inside of a ...
LonnieBest's user avatar
  • 1,676
1 vote
3 answers
25k views

How does sd card write lock work? [duplicate]

Is this a software or hardware feature. If it is a hardware feature, what tells the os that it is "write protected"? If it is a software feature, is there anyway to override this? Also, is there any ...
agz's user avatar
  • 8,328
1 vote
1 answer
196 views

How to get the timestamp for the system lock/unlock of ubuntu 22.04 with the user's inactivity time? (Not login/logout.)

I want to get the user's lock & unlock timestamp in a single script or command, as in "last" command I can see the user's name with system's login & logout timestamp. How can I get ...
Mahesh Garole's user avatar
1 vote
0 answers
215 views

Unable to restore "Acronis" image file of my System drive to Target drive due to activation of TPM 2.0 in my BIOS

I made the error of switching from "Discrete TPM 1.2 to Firmware TPM 2.0 in order to upgrade my Windows 10 Pro to W11. Foolishly I ignored the warning given by the BIOS configuration. "Intel ...
Godsredeemed's user avatar
1 vote
0 answers
130 views

Forbid mouse to go up to menu bar area?

As it doesn't seem possible to disable the menu bar or at least increase the delay to make it reappear if hidden. I am wondering if there is a way to forbid the mouse cursor to go over that area at ...
William Reynaud's user avatar
1 vote
0 answers
3k views

Find out which process has locked a file or folder in Windows Server 2016 in the past

Does Windows Server 2016 have any logging available for which process has locked a file in the past? For example, if a process is failing while trying to access a file because that file is locked by ...
Jake's user avatar
  • 11
1 vote
0 answers
222 views

How to lock remote windows (7 and 10) computers

I'm trying to lock all computers in my house - I checked the psshutdown option with the -l flag, but although the shutdown is working, the lock isn't working at all - it's writing that the machine is ...
Shmouel's user avatar
  • 11
1 vote
1 answer
397 views

Raspbian: Lock (but not logout) of Command-line-only system so that background processes can continue

I have a Raspberry pi running full Buster but only boots to command line interface (CLI). Currently, I can only login or log out. I want to be able to stay logged in so my background processes can ...
rfii's user avatar
  • 218
1 vote
1 answer
111 views

How to make movemail work on SSHFS filesystems?

I would like to avoid setting up an IMAP server and instead use mailutils' movemail in combination with SSHFS to move over some mails from an external host to my local machine. Unfortunately it fails: ...
dirdi's user avatar
  • 3,275
1 vote
0 answers
55 views

How does Office 2013's document locking work?

I've run into a couple of problems with files being locked/unlocked in Office 2013 in my company. documents (Word/Excel files, mostly) are getting unlocked if not regularly saved. A user has a server ...
J.Swersey's user avatar
1 vote
0 answers
478 views

Unable to unlock keyboard on Windows 7

I am unable to unlock keyboard on my laptop which is acer's Aspire E 15 modeland having Windows 7 installed. Somehow keyboard is locked and none of the button on keyboard is working now. I verified ...
TheLittleNaruto's user avatar
1 vote
1 answer
2k views

Turn off displays after certain time at lock screen (Windows 7)

My screensaver is setup to turn on by default after 4 minutes and wake up with a password required, and the displays to turn off after 10 minutes. This works if I don't lock my computer manually, but ...
Display Dave's user avatar
1 vote
2 answers
1k views

How to lock Windows 7 with second screen displaying actual desktop?

I have special PC for testing purposes, it has two screens: one (main) for displaying virtual machines which operate tests, another (2nd) for graphs. I'd like the second one to be always on (should ...
Ivan Gerasimenko's user avatar
1 vote
0 answers
994 views

Lock Firefox Settings and Changes / Addons and about:

I would like to lock my Firefox. The quest is: don't let anyone or anything change something on my Firefox. I would like to block any changes (add-ons, settings, prefs). I created: as.js with: ...
EniDurb's user avatar
  • 11
1 vote
1 answer
5k views

Virtualization is locked in BIOS

I want to run virtual machines on my computer, my Windows is currently 32-bit and I'm switching to 64, I don't know why they gave it with 32 because It would work with 64. When I go to the BIOS the ...
Ben R's user avatar
  • 11
1 vote
1 answer
57 views

Locking two Windows 7 Workstations

So here's the story; At work I have two computers. Both Windows 7 and on the same network. I've used the shortcut trick to create shortcuts on both computers that lock them when I leave. rundll32....
Dex Luther's user avatar
1 vote
1 answer
2k views

Remotely lock a computer

I provide temporary computers to businesses but sometimes they are very slow on letting me get them back. I was wondering if there was any way I could have a computer receive a command as soon as it ...
JonYork's user avatar
  • 153
1 vote
1 answer
195 views

Lock Computer after X minutes, non user editable

Case: I have younger siblings who have a linux computer. They are not allowed to access this computer without parental approval and entry of a password. Their solution is to disable my locking ...
Aviator45003's user avatar
1 vote
1 answer
50 views

Windows not getting idle, what do to?

My Windows 7 has since started to not go idle. I have a screensaver, blank screen and screen lock configuration and it is ignoring all of it. I would like to know how could I find out what is causing ...
FernandoSBS's user avatar
  • 2,003
1 vote
1 answer
1k views

Microsoft Excel 2007: When trying to save - "File in use. Try again later"

When I open an Excel document from server, edit and then try to save the changed document, I get the message that "path\filename is in use. Try again later". I can use "save as" and save a new ...
user286233's user avatar
1 vote
0 answers
510 views

Locking file on samba to prevent edit conflict?

I am trying to setup a samba server following these: Advanced Disk Shares Samba-HOWTO-Collection The idea is to only allow one account, one collection opening a file at once. If another ...
est's user avatar
  • 654
0 votes
3 answers
4k views

How to lock the JPEG files to be uncopyable

I have many JPEG files (pictures) on my USB flash memory. I give it to my customers to look at those pictures and choose one (then I make their order based on that selection). I want they can look at ...
abbasi's user avatar
  • 147
0 votes
1 answer
2k views

Locking Color-Only Jobs (Ricoh MP C3003)

We have a Ricoh MP C3003 but people have been printing their documents in color unnecessarily. So we have decided to lock the color function. Now there are still exceptions so we wanted to enable a ...
Nate's user avatar
  • 3

15 30 50 per page