Reset windows folder sharing access (reset users connection)
https://serverfault.com/questions/56744/how-do-i-reset-my-network-share-permissions
https://technet.microsoft.com/en-us/library/cc725598(v=ws.11).aspx
c:\windows\system32\NET.exe SESSION /DELETE /Y
Wednesday, August 16, 2017
Wednesday, June 28, 2017
Dos for loop with delay
Command below performing 1000 iterations printing number with 1 second delay interval
for /l %i in (1,1,1000) do timeout /t 1 > nul| echo %i
Additional refer:
https://hubpages.com/technology/How-to-Make-A-Windows-Batch-File-Loop-Sleep-or-Delay-For-Specific-Interval-of-Time
for /l %i in (1,1,1000) do timeout /t 1 > nul| echo %i
Additional refer:
https://hubpages.com/technology/How-to-Make-A-Windows-Batch-File-Loop-Sleep-or-Delay-For-Specific-Interval-of-Time
Tuesday, June 13, 2017
Files become shortcuts issue (virus)
https://www.easeus.com/file-recovery/recover-files-infected-by-shortcut-virus.html
Solution 1. Recover shortcut files using CMD
If the flash drive is not formatted, the shortcut files must have been stored in the hardware in hidden mode. You can recover them using CMD by following these steps:
- 1. Go to Start -> Run -> cmd.
- 2. Go to your pen drive, memory cards or mobile phone directory.
- 3. Type del *.lnk (to delete all link files in the directory)
- 4. Type attrib -h -r -s /s /d e:*.*
- 5. Replace G with your drive letter.
- 6. And then press a gentle Enter.
Finish all these steps you can check for your files in on the pen drive. If you can’t find the files you want, you can try another solution: recover shortcut files with EaseUS data recovery software.
Friday, June 9, 2017
Turn off Test Build Windows for valid Win OS user
1. Click Start, and then type cmd in the Search box.
2. Under Programs, right-click cmd.exe, and then click Run as administrator.
3. At the command prompt, type the following text, and then press Enter: bcdedit /set TESTSIGNING OFF.
4. Close the Command Prompt window, and then restart your computer.
2. Under Programs, right-click cmd.exe, and then click Run as administrator.
3. At the command prompt, type the following text, and then press Enter: bcdedit /set TESTSIGNING OFF.
4. Close the Command Prompt window, and then restart your computer.
Disable Chrome Homepage setting locked
1. Find HKEY_LOCAL_MACHINE\SOFTWARE\ Wow6432Node\Polices
2. delete chrome key
2. delete chrome key
Subscribe to:
Posts (Atom)