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.




5117 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
1562 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.



5117 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 »

Intel expands 10th Gen Intel Core Mobile processor family
Posted 23-Aug-2019 10:22


Digital innovation drives new investment provider
Posted 23-Aug-2019 08:29


Catalyst Cloud becomes a Kubernetes Certified Service Provider (KCSP)
Posted 23-Aug-2019 08:21


New AI legaltech product launched in New Zealand
Posted 21-Aug-2019 17:01


Yubico launches first Lightning-compatible security key, the YubiKey 5Ci
Posted 21-Aug-2019 16:46


Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26



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.