Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




5287 posts

Uber Geek

Trusted

#41440 16-Sep-2009 12:31
Send private message

This is an interesting issue.

I have a bunch of user C: drives folders I want to backup to a NAS device. Would prefer not to run them on the local machines but from a server. For network reasons don't want to use our main file server but a Windows 2003 server that is connected locally.

I can logon to the Windows 2003 server as an admin account, map the foldes I want to backup and also map to a folder on a NAS device. I then schedule the backups using NTBackup and that works fine. I then disconnect the session (not logoff)

The issue is, the mappings only belong to that user who logged on to establish the backup job.  If the server is rebooted, while the started task is still running, because the user who created the backups is not logged on, the drive mappings don't exist anymore.

I guess the question is, can I have a Windows 2003 server have mapped drives stick across a reboot or is there another way we can do this?

Thanks




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


Create new topic
1653 posts

Uber Geek


  #256112 16-Sep-2009 13:20
Send private message

Sure, if I am reading your question right.  If you map the drives from a command line using the NET USE command, there is an option PERSISTENT:YES that remaps the drives when the user logs back on.

NET USE X: \\SERVERNAME\SHARENAME /PERSISTENT:YES

Let us know if that works.



5287 posts

Uber Geek

Trusted

  #256177 16-Sep-2009 15:47
Send private message

timbosan: Sure, if I am reading your question right.  If you map the drives from a command line using the NET USE command, there is an option PERSISTENT:YES that remaps the drives when the user logs back on.

NET USE X: \\SERVERNAME\SHARENAME /PERSISTENT:YES

Let us know if that works.


No that isn't the problem.  It's easy enough to maintain the mapping across logons. The problem is, the mapping is attached to a user who has RDP'ed to the box. If the server is rebooted, that user is logged off and while the started task is still active, there are no drive mappings anymore.

I guess if there was a way to maintain the mappings across a reboot - perhaps attached to the default admin account or something, that would do it.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


 
 
 
 


137 posts

Master Geek
Inactive user


  #256919 18-Sep-2009 19:17
Send private message

No that isn't the problem.  It's easy enough to maintain the mapping across logons. The problem is, the mapping is attached to a user who has RDP'ed to the box. If the server is rebooted, that user is logged off and while the started task is still active, there are no drive mappings anymore.

I guess if there was a way to maintain the mappings across a reboot - perhaps attached to the default admin account or something, that would do it.


If you log off (or reboot) all running tasks for that user are terminated.  So you can't have a task keep running after a reboot or logoff.

The easiest way to sort this would be setup a batch (cmd) file like :-

  NET USE X: \\SERVER\SHARE
  NTBACKUP <CMD LINE OPTIONS HERE>

and run it as a scheduled task, ensuring that it runs under an account with the correct permissions for what you are trying to do.

That way it is scheduled to run at a particular time no matter what, uses the account it supposed to and maps the backup drive before it starts the backup.

Google "NTBackup command line" for syntax to use


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

OPPO Find X2 Lite brings flagship features to mid-range 5G smartphone
Posted 29-May-2020 12:52


Sony introduces the digital camera ZV-1 for content creators
Posted 27-May-2020 12:47


Samsung Announces 2020 QLED TV Range
Posted 20-May-2020 16:29


D-Link A/NZ launches AI-Powered body temperature measuring system
Posted 20-May-2020 16:22


NortonLifeLock Online Banking Protection now available for New Zealand banks
Posted 20-May-2020 16:14


SD Express delivers new gigabyte speeds for SD memory cards
Posted 20-May-2020 15:00


D-Link A/NZ launches Nuclias cloud managed network solution hosted in Australia
Posted 11-May-2020 17:53


Logitech introduces new video streaming solution for home studios
Posted 11-May-2020 17:48


Next generation Volvo cars to be powered by Luminar LiDAR technology
Posted 7-May-2020 13:56


D-Link A/NZ launches Wi-Fi Certified EasyMesh system
Posted 7-May-2020 13:51


Spark teams up with Microsoft to bring Xbox All Access to New Zealand
Posted 7-May-2020 13:01


Microsoft plans to establish its first datacenter region in New Zealand
Posted 6-May-2020 11:35


Genesis School-gen has joined forces with Mind Lab Kids
Posted 1-May-2020 12:53


Malwarebytes expands into privacy with fast, frictionless VPN
Posted 30-Apr-2020 16:06


Kordia to donate TV airtime on Channel 200 to community groups
Posted 30-Apr-2020 16:00



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.