Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cmd scripts for password protected accounts

Featured Replies

hello friends :)

i want to use the below script as backup solution:

xcopy /E /Y /Q "C:\Documents and Settings\alper\Desktop\*.*" "D:\backup\alper\*.*"

this script is for the account called alper which is password protected. but i wanna run this script from another account which is unprotected but it doesnt work for the account alper is password protected. so how can i solve this problem ?

thanks in advance :)


Either you have to add the other account to have permissions to the folder(s), or authenticate as with that users id and credentials before copying.

You might want to look into Scheduled Tasks.

You can then set a computer to run a specific task every day/ week etc as you want. And you also set the username / password you want the scheduled task to run as.

You dont have to be logged into the PC, just the PC has to be turned on is all.

I prefare Robocopy for copying my data.

robocopy source destination /e /purge /x / tee /L:Logfile /XO /B - I think these are the settings I use.

The beauty of Robocopy - If the file time stamp hasnt change, and the file size is the same - It wont make another copy on the destination if it exists.

  • Author

hey friends :)

thanks for your suggestions. but what i do is; when i need to reinstall windows, i backup some files from certain folders as in my question. so i just clik on the batch file and it moves\copies my files to D: partition. at this stage some files from password protected account doesnt move to D: partition. i just want to overcome this difficulty.

i know that there is a command to solve this issue and i need it. so please help me about it...

Try the command "runas".

  • Author

so can anybody help me connecting these two commands together ? :blushing:

runas /user:alper\MYCOMP and

xcopy /E /Y /Q "C:\Documents and Settings\alper\Desktop\*.*" "D:\backup\alper\desktop\*.*"

single line:

runas /user:alper\MYCOMP "xcopy /E /Y /Q """C:\Documents and Settings\alper\Desktop\*.*""" """D:\backup\alper\desktop\*.*"""

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.